带有SVN的DokuWiki:应在源代码控制之下的方式和内容 [英] DokuWiki with SVN: how and what should be under source control
问题描述
我想将我的文档存储在SVN源代码管理下.
I want to store my documentation under SVN source control.
在DokuWiki设置中有
In DokuWiki settings there is
Directory for saving data '.../apps/dokuwiki/data'
DokuWiki将所有数据存储在文本文件内的'.../apps/dokuwiki/data'文件夹下.那里有很多东西,包括索引缓存等.看来我只需要'pages'文件夹.
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.
如何在我的SVN文件夹中移动'pages'文件夹并配置DocuWiki以从那里使用页面?
How can I move the 'pages' folder inside my SVN folders and configure the DocuWiki to use pages from there?
推荐答案
$conf['datadir']
可以在conf/local.php
中用于独立于data
中的其余目录设置页面目录.您可能还希望将$conf['mediadir]
用于上传的图像和文件,并且可能将$conf['metadir']
用于保存页面元数据.
$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.
这篇关于带有SVN的DokuWiki:应在源代码控制之下的方式和内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!