-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Docs improvements: referencing #2798
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
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.
Hey! Looks like you edited the (dev) requirements or the pre-commit hooks. I'm just a friendly reminder to keep the pre-commit hook versions in sync with the dev requirements and the additional dependencies for the hooks in sync with the requirements :)
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.
Nice job! There's probably more places we can use paramref
but for now this is a good start.
Can you build docs for this branch? I want to verify the 'hover' of paramrefs work fine on mobile
Thanks for the review! Thorough as usual :) Didn't look at the CSS stuff yet though Built docs are at https://python-telegram-bot.readthedocs.io/en/docs-referencing/ |
Openend a PR at sqlalchemyorg/sphinx-paramlinks#13 for better nitpicky support and making parameter names the links |
8d2cb60
to
fb9b164
Compare
fb9b164
to
0036374
Compare
0036374
to
5d83ada
Compare
…rted on addressing the nitpicky warnings. Try adding a new gh actions item for bulding the docs
5d83ada
to
1750b15
Compare
While at it, we can also use nitpicky mode by default in the Makefile |
I added |
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.
some missed ones from the earlier review:
might be worth to check how this looks in the new furo theme. Also I'm okay with merging this for now, hard to keep track of what is fixed and what isn't |
# Conflicts: # docs/requirements-docs.txt # docs/source/conf.py # telegram/_bot.py # telegram/ext/_basepersistence.py # telegram/ext/_dispatcher.py
From this thread, two PRs were made at sphinx-paramlinks:
The first is already merged, but there's no new release yet. The second is not yet merged. |
sphinx-paramref
to make parameters referencableChecklist for PRs
.. versionadded:: version
,.. versionchanged:: version
or.. deprecated:: version
to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)AUTHORS.rst
(optional)