Skip to content
Prev Previous commit
Next Next commit
Fix a typo
  • Loading branch information
arhadthedev committed Jun 16, 2022
commit 6cdf99ab7791a10d23d88524b334e70796553557
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2594,7 +2594,7 @@ Changes to Python's build process and to the C API include:

There were a number of other small changes to the C-API. See the
Misc/NEWS <https://github.com/python/cpython/blob/v3.2.6/Misc/NEWS>`_
Copy link
Copy Markdown
Member Author

@arhadthedev arhadthedev Jun 21, 2022

Choose a reason for hiding this comment

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

Suggested change
Misc/NEWS <https://github.com/python/cpython/blob/v3.2.6/Misc/NEWS>`_
`Misc/NEWS <https://github.com/python/cpython/blob/v3.2.6/Misc/NEWS>`_

For some reason, gh-94078 backport is the only one that caught this typo.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Possibly because it was using the old docs checker script as opposed to Sphinx-Lint. Could you verify whether the latest Sphinx-Lint 0.6.6 catches this case, and if not, could you report it upstream? Thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, it really isn't great that we're regressing from using a dedicated role to hardcoded links...but hopefully the new suite of roles we're developing for this will replace this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Could you verify whether the latest Sphinx-Lint 0.6.6 catches this case [...]

I ran sphinx-lint 0.6.7 and it caught the typo successfully:

C:\Users\oleg\Documents\dev\notmine\cpython>sphinx-lint Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst:54: missing backtick before hyperlink reference: 'Misc/NEWS <https://github.com/python/cpython/blob/v3.2.6/Misc/NEWS>`_'. (hyperlink-reference-missing-backtick)

So I hope that adoption of sphinx-lint will eliminate such sporadic discoveries.

\file for a complete list.
file for a complete list.

Also, there were a number of updates to the Mac OS X build, see
`Mac/BuildScript/README.txt <https://github.com/python/cpython/blob/v3.2.6/Mac/BuildScript/README.txt>`_
Expand Down