the apache/conf-available snippet for pmg-docs-apache should be named like the
package according to lintian (non-standard-apache2-configuration-name).
move the configfile via dpkg-maintscript-helper(1) (see the manpage for
the explaination of the prior version of 6.0-3~) and dh_installdeb(1).
Tested by upgrading pmg-docs-apache to a version with this commit, while having
modifications in '/etc/apache2/conf-available/pmg-docs.conf'
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
pmg.proxmox.com does not host only the documentation the default redirect
to '/pmg-docs' should be removed
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
The loading of an external hosted ExtJS is from a time where we did
not have a extra ExtJS package as it still was in the pve-manager
one, which was not desired to be installed on a non-pmg machine.
Add a dependency on libjs-extjs and a link from api-viewer/extjs to
the installation directory of the ExtJS package, this allows to reuse
ExtJS on PMG node hosted docs and on the hosted docs from proxmox.com
at the same time.
Adapted from the Proxmox VE version[0] of this change.
[0]: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff;h=e56030c4d7c3bd0de1ebc109d528fb6b7bef05a3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
containing a short apache-config snippet for delivering the pmg-docs via apache.
Mostly added for consistency between pve-docs (containing pve-docs-mediawiki)
and pmg-docs (containing pmg-docs-apache, because it does not have a wiki)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This ensures that code blocks with [source,<lang>] blocks get
rendered correctly in HTML output.
While we only have one such block, and we could remove the
source highlighting tag completely here we use this in pve-docs and
also have the dependency there correctly, so it makes sense to make
share this here, else a copied text from pve-docs may be incompatible
here
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
gathered by building in a minimal Debian Stretch chroot with just the
listed build-dependencies installed.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
build packages in one go by moving individual .deb targets into install
targets called by dpkg-buildpackage.
ported from pve-docs:fa764571f6a0c5bfc62ee1cda6bffcfae40e9ec9
and pve-docs:60955877b11cde0865a258ece040bd124fb07bdc
Additionally I added the fixups from Thomas in
pve-docs:2d11c86883c4b1150afcc97eedfbf1b2a07de105
pve-docs:fd880d44c7d3876add7acd659641668bfa09c71b
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This is an analogous change to what was done in pve-docs last year.
The Build-Depends has been adjusted to list all required ones, there
were some missing. Also, the compat level is set to 9 so bump
debhelper Build-Depends to >= 9~.
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>