Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove include:: replacements hack#2875

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rtobar merged 2 commits intopython:3.12fromrtobar:remove-include-seds
Nov 18, 2024

Conversation

rtobar
Copy link
Collaborator

@rtobarrtobar commentedNov 18, 2024
edited
Loading

We currently need to replace the include:: directives in the cpython documentation source files to fix an issue that sphinx/docutils have with relative source files after changing the app.srcdir in our conf.py.

Instead of doing this, let's define the app.srcdir property as an absolute path. This removes the issue altogether, yielding a correct build without the need to modify the documentation source files.

This change seems to have the nice side effect that successive builds are not incremental rather than starting from scratch.

Edit: additionally, we now define sphinx'sapp.srcdir as a Path, which seems to be a requirement at least in 8.1.3, which is what we''l use for building the 3.13 docs. Seesphinx-doc/sphinx#13018.

Closes#1844

We currently need to replace the include:: directives in the cpythondocumentation source files to fix an issue that sphinx/docutils havewith relative source files after changing the app.srcdir in our conf.py.Instead of doing this, let's define the app.srcdir property as anabsolute path. This removes the issue altogether, yielding a correctbuild without the need to modify the documentation source files.This change seems to have the nice side effect that successive buildsare not incremental rather than starting from scratch.Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
This doesn't break anything, and seems to be required at least in Sphinx8.1.3, most probably some earlier versions too (we're in 7.2.6).Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Copy link
Collaborator

@cmaureircmaureir left a comment

Choose a reason for hiding this comment

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

Muchas, muchas gracias 🎉

rtobar reacted with heart emoji
@rtobarrtobar merged commit875e5df intopython:3.12Nov 18, 2024
4 checks passed
@rtobarrtobar deleted the remove-include-seds branchNovember 22, 2024 11:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@cmaureircmaureircmaureir approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

sed en Makefile y GitHub Action
2 participants
@rtobar@cmaureir

[8]ページ先頭

©2009-2025 Movatter.jp