-
Notifications
You must be signed in to change notification settings - Fork 7
Update: Port for Sphinx 8.x.x, fix path naming and Cargo.toml compatibility #26
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
base: main
Are you sure you want to change the base?
Update: Port for Sphinx 8.x.x, fix path naming and Cargo.toml compatibility #26
Conversation
Tested both with sphinx 7.4.7 and sphinx 8.1.3. Signed-off-by: Nicolae Dicu <[email protected]>
Allows integration via pip. Signed-off-by: Nicolae Dicu <[email protected]>
Resolved to folders instead of creating link with "::". Resolves: eclipse-score/score#1487 and eclipse-score/score#1488 Signed-off-by: Nicolae Dicu <[email protected]>
The module used old implementation of Cargo.toml parsing. Resolves: eclipse-score/score#1522 Signed-off-by: Nicolae Dicu <[email protected]>
Cheers! will have a look soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't fully looked through the PR just yet, but if you could firstly fix the pre-commit issues that would be great thanks (see https://github.com/sphinx-extensions2/sphinx-rust/blob/main/CONTRIBUTING.md)
fix: error: package `cargo-platform v0.1.9` cannot be built because it requires rustc 1.78 or newer, while the currently active rustc version is 1.75.0
Signed-off-by: Nicolae Dicu <[email protected]>
@nicu1989 can you check for the failing CI? |
Sphinx 8.0 dropped python 3.9 support. Signed-off-by: Nicolae Dicu <[email protected]>
@ubmarco I have fixed the CI. Dropped support for python 3.9 according to sphinx 8.0 docs: https://www.sphinx-doc.org/en/master/changes/8.0.html Can a maintainer trigger the check CI please? |
Implements/fixes:
Works with Sphinx 8.x+ (latest)
Fixes working with modern Cargo project layouts (support workspace versioning and TOML)
Bug: Sphinx_rust cannot properly parse Cargo.toml eclipse-score/score#1522
Fixes docutils Path/StrPath objects
Bug: Incremental bazel build filename eclipse-score/score#1487
Bug: Re-building with incremental is broken due to filenaming eclipse-score/score#1488