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
Fix location of the the Doc dir
Co-Authored-By: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
encukou and AA-Turner committed Jul 19, 2024
commit 342838d26a612be758ace246e0f3d4a5de73e598
12 changes: 5 additions & 7 deletions Doc/tools/version_next.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@
re.VERBOSE | re.DOTALL,
)

basedir = (Path(__file__)
.parent # cpython/Tools/doc
.parent # cpython/Tools
.parent # cpython
.resolve()
)
docdir = basedir / 'Doc'
docdir = (Path(__file__)
.parent # cpython/Doc/tools
.parent # cpython/Doc
.resolve()
)

parser = argparse.ArgumentParser(
description=__doc__,
Expand Down
0