Closed WolfgangFahl closed 1 year ago
I a recent discussion the Foundation-Level Working Group decided to align the glossary technology with the AsciiDoc & gradle pipeline already used for Foundation and most Advanced curricula.
Therefore I assume that most content contributors (actually the majority of terms has been provided via the Foundation curriculum) won't want a new toolset, but take the already existing.
It creates both pdf and a decent website "out of the box".
I propose to close this issue.
I don't propose to make this the official release pipeline i just want to make local testing quicker. Currently i am experimenting with rsyncing the files to a doc directory and use
mkdocs build
mddocs serve
as outlined in: https://www.mkdocs.org/getting-started/
Since docs and site is in ".gitignore" this is just a local change and scripts/release_docs will warn you if no docs directory is there. We might want to rename the script then to "test_docs_withmkdocs" or the like if this shall be for local testing only.
The fulltext search already works and seems to be helpful:
I don't know if it's reasonable to spend so much time on this. With the template, you can also easily create the glossary locally, both as website and as PDF file.
@programming-wolf Benajmin - thanks for looking into this. I always think it's a good idea to look into alternatives especially if it gives you new insights. See e.g. https://stackoverflow.com/a/54190808/1497139 showing that ".md" might have to be renamed to ".asciidoc" to display the source files natively in github. There are quite a few other issues that might be fixable much quicker using mkdocs than the existing pipeline.
For me it's not much extra effort - i am more interested in the content than the technology stack being used to create the glossary views.
For now i am happy with the state of affairs. mkdocs can't replace the other pipeline yet but give a quick search and check capability.
as a committer of justpy i learned to know mkdocs recently and the pipeline to create a nice looking online version of md files seems to be straight forward. See e.g..
release_docs script of justpy project see https://github.com/justpy-org/justpy/blob/master/scripts/release_docs