pve-docs/debian/tree/pve-docs-mediawiki/README
Thomas Lamprecht b275db163b fixup: TOC JS script is already in html pages for mediawiki
not required, it's shipped by the docs files themself

This reverts commit 02114e68c2.
2019-07-25 18:05:30 +02:00

30 lines
737 B
Plaintext

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'.
In the MediaWiki settings PHP file ('/var/www/mediawiki/LocalSettings.php') add:
# ----8<----
# for docs-inclusion plugin:
require_once("/usr/lib/pve-docs/pvedocs-include.php");
# ---->8----