RFC 0072 FCP, Switch to CommonMark for documentation

The Final Comment Period for RFC 0072 has started and, barring any blocking issues, will be merged after 2020-10-30. Your opinions, comments, and approvals are welcome!

9 Likes

Can’t wait to finally retake my habit of clarifying drive-by contributions.

1 Like

Yes!
This will help nullify the feedback on my PR https://github.com/NixOS/nixpkgs/pull/100660 to move it to docbook :laughing:

What’s the current (serving) tool used for the docs? mdbook?

nix: docbook
nix unstable: mdbook
nixpkgs: docbook (more and more pages are translated with pandoc: CommonMark → pandoc → docbook)
nixos: docbook

I am working on a tool similar to mdbook called mmdoc which is meant to be really fast, and have a very low closure size:

4 Likes

Thanks!

With what concrete command a translation from docbook to CommonMark was usually initiated?

Was there even a sort of receipe?

There are remaining xml resources, who somebody might just want to start translating.

Is an example with instructions for how to convert a section from Docbook to CommonMark. I haven’t been recommending using a tool to do the conversion since people need to manually change some things anyway.

I’ve been trying to add these instructions to the conversion project for each section so people can do the work in bitesize pieces: