Convert from Dokuwiki to Hugo

Oct 15, 2021
1 min read
Jun 30, 2023 16:33 EEST

To convert the content of the wiki to hugo we use the following converter:

https://github.com/wgroeneveld/dokuwiki-to-hugo

My dokuwiki is located here:

/usr/local/www/dokuwiki

The hugo skeleton should be created here:

~/hugo_dokuwiki

Execute the converter

First we download the converter:

cd ~/git/github.com
git clone https://github.com/wgroeneveld/dokuwiki-to-hugo
cd dokuwiki-to-hugo
python src/main.py --dir='/usr/local/dokuwiki-data/gitrepo/wiki/pages/'

The file are generated in subfolder output.