I want to store my documentation under SVN source control.
In DokuWiki settings there is
Directory for saving data '.../apps/dokuwiki/data'
DokuWiki stores all data inside text files under '.../apps/dokuwiki/data' folder. There are many stuffs there including indexes caches etc. It seems that I only need the 'pages' folder.
How can I move the 'pages' folder inside my SVN folders and configure the DocuWiki to use pages from there?
$conf['datadir']
can be used in conf/local.php
to set the page directory independently from the rest of the directories in data
. You probably want to use $conf['mediadir]
for uploaded images and files as well and maybe $conf['metadir']
for saving page metadata.