5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-02-01 05:47:08 +03:00
pve-docs/debian/tree/pve-docs-mediawiki
Dietmar Maurer 208f75bc96 pvedocs-include.php: avoid to use javascript
Use a ParserAfterTidy hook to avoid JS. This hack was
found in the htmlet tag extension.
2016-10-17 10:09:40 +02:00
..

To enable the apache site use:

# a2ensite pve-docs.conf
# /etc/init.d/apache2 reload

Now you should be able to access the documentation at:

* Admin Guide and Manual pages
http://your-server/pve-docs

* API Viewer
http://your-server/pve-docs/api-viewer

Mediawiki import

There is a small script 'pve-docs-mediawiki-import' which connects to
mediawiki and updates predefined pages with content from this package:

 # pve-docs-mediawiki-import

Authentification credientials are read from '/root/.pve-docs'.
The format is 'username:password'.

require_once("/usr/lib/pve-docs/pvedocs-include.php");