]> git.proxmox.com Git - pve-docs.git/blame - debian/tree/pve-docs-mediawiki/README
mediawiki: update README for external extension path
[pve-docs.git] / debian / tree / pve-docs-mediawiki / README
CommitLineData
cfabc2e9
DM
1To enable the apache site use:
2
3# a2ensite pve-docs.conf
4# /etc/init.d/apache2 reload
5
6Now you should be able to access the documentation at:
7
8* Admin Guide and Manual pages
9http://your-server/pve-docs
10
11* API Viewer
12http://your-server/pve-docs/api-viewer
13
7cb0d9a3
DM
14Mediawiki import
15
16There is a small script 'pve-docs-mediawiki-import' which connects to
17mediawiki and updates predefined pages with content from this package:
18
19 # pve-docs-mediawiki-import
20
21Authentification credientials are read from '/root/.pve-docs'.
22The format is 'username:password'.
cfabc2e9 23
d95c6397
TL
24In the MediaWiki settings PHP file ('/var/www/mediawiki/LocalSettings.php') add:
25
26# ----8<----
27# for docs-inclusion plugin:
100fc601 28wfLoadExtension( 'PVEDocs', '/usr/lib/pve-docs/PVEDocs/extension.json' );
d95c6397 29# ---->8----