8000 gh-121277: Allow `.. versionadded:: next` in docs by encukou · Pull Request #121278 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121277: Allow .. versionadded:: next in docs #121278

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

Merged
merged 18 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expand help
  • Loading branch information
encukou committed Jul 22, 2024
commit 8b8a2f92512b3c598bbeb68a5a8693e8e31fc6a5
10 changes: 6 additions & 4 deletions Doc/tools/version_next.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('version',
help='String to replace "next" with.')
help='String to replace "next" with. Usually `x.y`, '
+ 'but can be anything.')
parser.add_argument('directory', type=Path, nargs='?',
help=f'Directory to process. Default: {docdir}',
default=docdir)
parser.add_argument('--verbose', '-v', action='count', default=0)
help=f'Directory to process. Default: {doc_dir}',
default=doc_dir)
parser.add_argument('--verbose', '-v', action='count', default=0,
help='Increase verbosity. Can be repeated (`-vv`).')


def main(argv):
Expand Down
0