-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: add Netlify doc previews #4699
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
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
64f350f
chore: add Netlify doc previews
davidbarsky c649eb7
another commit
davidbarsky 99c8a4b
test
davidbarsky eef4adb
Update netlify.toml
davidbarsky 3301570
Update netlify.toml
davidbarsky 9cc2a5f
Update netlify.toml
davidbarsky 0cd8cf6
Update netlify.toml
davidbarsky 41fa093
remove leading whitespace
davidbarsky becdbe1
switch to regular module system for macro resolution
davidbarsky 6bbd913
add redirect to tokio subdirectory
davidbarsky 2c99d45
Merge branch 'master' into davidbarsky/setup-netlify-previews
davidbarsky 1bc470e
Update netlify.toml
davidbarsky 6b2946a
Update netlify.toml
davidbarsky eaf3ec3
Update netlify.toml
davidbarsky e3e7d68
Update netlify.toml
davidbarsky 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| [build] | ||
| command = """ | ||
| rustup install nightly --profile minimal && cargo doc | ||
| """ | ||
| publish = "target/doc" | ||
|
|
||
| [build.environment] | ||
| RUSTDOCFLAGS=""" | ||
| -D warnings \ | ||
davidbarsky marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| --cfg docsrs \ | ||
davidbarsky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| --html-before-content /opt/build/repo/assets/warning.html \ | ||
| --html-in-header /opt/build/repo/assets/noindex.html \ | ||
| --extend-css /opt/build/repo/assets/warning.css \ | ||
davidbarsky marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| """ | ||
davidbarsky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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.