summaryrefslogtreecommitdiff
path: root/doc/bugs/HTML_is_not_update_nor_created_when_editing_markdown_via_CGI.mdwn
blob: b1a63361e7c66fd7036642b109244f4ca7a701fe (plain)

I don't know if I have a missed configuration. But under 1.35 using the CGI to create login, to login, and to edit and save the markdown works fine. But the resulting HTML is not generated (updated or created). Using ikiwiki from command line will then update the HTML for me.

An example of the problem: edit worked to update source *.mdw file but www version was not updated, so when have new page it has a "?Page". (So CGI is working that much.) I edit ("create") by clicking the ? question mark and save but then receive an HTTP 404 error because the testingpage.html?updated file is not found.

How to get that file generated automatically on save (via edit)?

If this is documented, sorry I missed it.

If a revision control system is configured, ikiwiki relies on a hook being triggered by its commit to the RCS, which then runs ikiwiki again to do the build, same as happens when a commit is made to the RCS directly. If the appropriate hook is not uncommented and configured in the setup file, you could see the behavior you describe.

If no revision control system is used, ikiwiki handles the build after writing the file.

--[[Joey]]