git-machete icon indicating copy to clipboard operation
git-machete copied to clipboard

Make sections for subcommands of `github` linkable in readthedocs

Open PawelLipski opened this issue 2 years ago • 1 comments

As for now, the subcommands like create-pr can't be linked directly... just the entire github command can be linked to by https://git-machete.readthedocs.io/en/stable/#github.

Consider the same for other commands/help topics, like go, hooks, list, show.

PawelLipski avatar Jul 23 '22 19:07 PawelLipski

Getting this sorted out in HTML is easy, just enough to replace ---- under subsection titles with ~~~~ (see https://docutils.sourceforge.io/docs/user/rst/quickstart.html#sections).

The main part of this task is to rework docs/generate_py_docs.py so that it properly renders the nested subsections into text format.

PawelLipski avatar Apr 26 '23 17:04 PawelLipski