]> git.proxmox.com Git - pve-docs.git/blame_incremental - debian/tree/pve-docs-mediawiki/README
mediawiki: transform into new-style add-on
[pve-docs.git] / debian / tree / pve-docs-mediawiki / README
... / ...
CommitLineData
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
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'.
23
24In the MediaWiki settings PHP file ('/var/www/mediawiki/LocalSettings.php') add:
25
26# ----8<----
27# for docs-inclusion plugin:
28wfLoadExtension( 'PVEDocs' );
29# ---->8----