I would like to use notebooks or Julia markdown (jmd) with Documenter.jl similarly to mkdocs-jupyter, but I cannot find any tutorials or examples on how to do so.
My first idea was to use Weave.jl to generate markdown from jmd files. Then, Documenter.jl would do the rest. I believe this would work in production. However, when developing using live reload, I start an endless loop. LiveServer.jl detects a change, it triggers my make.jl script which use weave to generate markdown. LiveServer detects this change, and the cycle repeats. Additionally, having generated files among my other files is perhaps not a good practise either?
Therefore, I thought of weaving into temporary directories (e.g. using mktempdir()). However, Documenter does not recognise files outside the docs folder (see issue #551).
I got skip_dir to work with my setup. The issue was that MacOS file paths are case-insensitive, and I made a mistake in specifying the path. The generated files could be removed just fine; however, the startswith(fp, dir) would always return false .