Skip to content

Docs: Resolve Sphinx warnings in calendar.rst #108192

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

Closed
wants to merge 2 commits into from

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 21, 2023

  • Add docs for HTMLCalendar.formatmonthname
  • Fix links to HTMLCalendar methods
  • Suppress links in HTMLCalendar subclass note

📚 Documentation preview 📚: https://cpython-previews--108192.org.readthedocs.build/

- Add docs for HTMLCalendar.formatmonthname
- Fix links to HTMLCalendar methods
- Suppress links in HTMLCalendar subclass note
@@ -341,7 +341,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is

.. note::

The constructor, :meth:`formatweekday` and :meth:`formatmonthname` methods
The constructor, :meth:`!formatweekday` and :meth:`!formatmonthname` methods
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignoring valid warnings will only make us forget about the issue. We already have too many open and forgotten issues.

If the goal is to suppress warnings, just add the corresponding option to Sphinx invocation.

@erlend-aasland
Copy link
Contributor Author

It seems to me this PR risks running stale. Instead of contributing to the huge number of stale PRs, I'll close this issue right away. The status quo is not better or worse than this PR (the current links don't work anyway). I created issue gh-108202 for the undocumented methods of the calendar module.

@erlend-aasland erlend-aasland deleted the docs/calendar.rst branch August 21, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants