How to use converted output? #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I can run the conversion tool on my dokuwiki site, but can't figure otu the steps needed to use the converted output in hugo. What am I missing?
Hi, if you managed to point the tool to the folder of your dokuwiki files that need to be converted, it should have created an
output/
folder where all converted files are placed.See https://git.brainbaking.com/wgroeneveld/dokuwiki-to-hugo/src/branch/master/src/dokuwiki_to_hugo.py
The output is just Markdown, which Hugo is of course compatible with. That means you can throw it in your Hugo site's
content/
directory and presto!Good luck,
Wouter
Hmm, thanks. I did exactly that, but nothing shows up when I launch a hugo server, just a blank page at the initial launch and I canʻt determine the pattern of URLs that should work with the converted files. Looking at the converted pages, I see that hugo detects a lot of such files (over 8000 in my case as I was converting an extensive site), and seems to detect a sitemap, but I canʻt guess what URL to navigate to in order to find it.
Is there a sanity check or other direct test I can do on the converted output?
As a definite improvement, can I suggest including a small test set of original and converted files for an example dokuwiki site, or source files and a set of instrucitons on how to run a test conversion to ensure the tool is working right after installation?
That's already present as a set of python unit tests, see the
test/
dir.If the files are there, then this tool is done and you should look into what causes Hugo to ignore them. Perhaps it's the theme, since that also determines which folder too look in.