-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Simplify doc meta mode #159473
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
Open
notriddle
wants to merge
12
commits into
rust-lang:main
Choose a base branch
from
notriddle:rename-parts-to-dep-meta
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Simplify doc meta mode #159473
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
91131bb
rustdoc: fix `--enable-index-page` with finalize
notriddle a36c898
rustdoc: move CCI tests to run-make
notriddle 6887d4d
rustdoc: write `rmake` scripts to test CCI
notriddle 32f1625
Document the changed doc meta features
notriddle 18d6ebf
Update src/doc/rustdoc/src/unstable-features.md
notriddle ac3994e
Update src/doc/rustdoc/src/unstable-features.md
notriddle c352016
rustdoc: clean up unused `@` build diectives
notriddle e03942b
rustdoc: no `--read-doc-meta-dir` and `--write-doc-meta-dir` at once
notriddle d0fec14
rustdoc: move CCI run-make tests into the directory
notriddle 9d136ed
rustdoc: stop constructing an unneeded synth Crate
notriddle f73cd1e
rustdoc: remove unused code from rmake tests
notriddle 5f940df
rustdoc: generate settings and help at finalize
notriddle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Probably not the right question for this PR, and I haven't read the implementation here, though I am curious:
--out-dir. I guess--out-diris ignored here?--emitfiles (w/ or w/o--out-dir? Where will those files be emitted?View changes since the review
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.
Context: I'd like to pass
--emit=dep-infowithout specifying the full (absolute) path for those dep-info files. Because of this issue #159743 we cannot specify full path, and currently blocks rust-lang/cargo#17020.(That said, it is a very Cargo specific issue I feel like)
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.
The
--out-diris still used as the path for--emitfiles.--write-doc-meta-dirdoesn't pay attention to--out-dir.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 see. So eventually if individual rustdoc doesn't need to emit html contents, cargo then can use
--emitto control dep-info emission location exclusively. Thanks!