-
Notifications
You must be signed in to change notification settings - Fork 351
Generate table of global substitutions to put in the documentation guide #2766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2766 +/- ##
==========================================
+ Coverage 94.44% 95.23% +0.79%
==========================================
Files 107 107
Lines 9597 9597
Branches 2221 2221
==========================================
+ Hits 9064 9140 +76
+ Misses 343 273 -70
+ Partials 190 184 -6 ☔ View full report in Codecov by Sentry. |
@@ -0,0 +1 @@ | |||
Renamed :file:`docs/_cff_to_rst.py` to :file:`docs/_author_list_from_cff.py`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏷️ Mentioning in the name that this is for creating an author list should lead to more readable code.
It was working well just before this.
This is experimental.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@ejohnson-96 — thank you for the prompt review! |
This PR adds functionality to
docs/_global_substitutions.py
to generate a table of the global substitutions that are used in the documentation. Here is a link to the RTD preview of the substitutions section which contains the table.The table is quite long, so I put it under a collapsible tab using
sphinx_collapse
. The table is also quite wide because one of the substitutions includes some sentences to caution about unstable APIs, but that would take a while to fix so I'm okay with leaving it as-is.🎨 I also expanded usage of the
:rst:
role so that in-line reStructuredText code snippets get formatted with pygments, which I think makes it considerably more readable.😩 All the nested backticks reminded me of writing the documentation guide in the first place!
Closes #1550.