Update documentation guidelines about references#1589
Update documentation guidelines about references#1589parulin wants to merge 2 commits intoQubesOS:mainfrom
Conversation
|
I think it could be a good idea to split the RST style guide with:
Two other TL;DR of the How to edit the docs could be simplified too. |
c89b05c to
3079e9d
Compare
|
What is the advantage of this change? Does it not make it more difficult for contributors? I think it cannot be used for links within pages, so we end up with two forms for links in the docs. |
|
The VPN guide should be in the official docs, with a link there to the meta list. I think that links to external sites should carry a health warning to say that they are not endorsed. |
|
and THAT was in the wrong issue |
Are you talking about the roles using Everything I tried to describe is already used in the documentation. It was already difficult to use (see the discussion about #1554) so I'm trying to clarify how to use Sphinx in the Qubes documentation context. |
79e9673 to
5f91ebf
Compare
* correct some URLs for linkcheck * "TL;DR: Cross-referencing" is now a real "TL;DR:" about the most common use cases. Anything else resides in the style guide * The ``cross-referencing`` explicit label now is attached to the Cross-referencing section of the style guide * Examples of the rst syntax have been simplified as much as possible * do not insist on the glossary directive * add `:program:` role * detail each way of using cross-references in paragraphs separated by headers * try to clarify the use of hyperlinks (confusing absolute/relative URLs from the website?) * limit the presentation of the header levels to the bare minimum * developed and consistent Markdown Cheatsheet * only allow alphanumeric characters and hyphen in custom labels
Those page where used as a base to rewrite part of the style guide, so I made minor edits, according to the example used in style guide.
5f91ebf to
c6c4d85
Compare
At first, this PR was meant to fix QubesOS/qubes-issues#10321 but I ended up doing some other things, related to the RST style guide / How to edit the docs:
cross-referencingexplicit label now is attached to the Cross-referencing section of the style guide:program:role