mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-29 23:17:37 +00:00

The core 'LanguageGetMagic' hook we used originally was was removed completely in version 1.33.0 (after being deprecated in 1.16.0). So transform into the new style, again adapted from: https://www.mediawiki.org/wiki/Manual:Parser_functions Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
30 lines
712 B
Plaintext
30 lines
712 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:
|
|
wfLoadExtension( 'PVEDocs' );
|
|
# ---->8----
|