Remove unused :platform: in module's docs#144988
Remove unused :platform: in module's docs#144988serhiy-storchaka merged 2 commits intopython:mainfrom
:platform: in module's docs#144988Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Please ensure that there are corresponding availability directives in these cases. For example, I do not see availability in curses.rst.
|
|
|
Most had them, I added a few missing ones. |
|
|
||
| .. include:: ../includes/optional-module.rst | ||
|
|
||
| .. availability:: Unix. |
There was a problem hiding this comment.
There was a problem hiding this comment.
Hmm. The examples I came across were all without a period, but now I've looked up all the examples and most of them (353 of 428) have a period.
So this is fine.
There was a problem hiding this comment.
FWIW, the period looks odd to me too. It's not a sentence.
There was a problem hiding this comment.
5:1 in favor of period in existing examples. Whether we want to add period in the remaining examples, or remove them, this is a separate issue. There may even be prior discussions about this.
|
|
||
| .. include:: ../includes/optional-module.rst | ||
|
|
||
| .. availability:: Unix. |
There was a problem hiding this comment.
Hmm. The examples I came across were all without a period, but now I've looked up all the examples and most of them (353 of 428) have a period.
So this is fine.
|
Thanks @StanFromIreland for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @StanFromIreland for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Sorry, @StanFromIreland and @serhiy-storchaka, I could not cleanly backport this to |
It has not been outputted since Sphinx 1.1. (cherry picked from commit 20caf1c) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
GH-144994 is a backport of this pull request to the 3.14 branch. |
It has not been outputted since Sphinx 1.1. (cherry picked from commit 20caf1c) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
GH-144998 is a backport of this pull request to the 3.13 branch. |
It has not been outputted since Sphinx 1.1. And, furthermore, with our
.. availability::directive it is duplicated and unnecessary.📚 Documentation preview 📚: https://cpython-previews--144988.org.readthedocs.build/