-
Notifications
You must be signed in to change notification settings - Fork 751
docs: Bring back some missed release/0.4.0 doc changes, fix broken links, add lychee link checker github action #2482
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c83ca40
cp(#2351): Move backend READMEs to docs folder and fix relative path …
rmccorm4 5bb296a
cp(#2346): Move hello_world example README to docs, swap symlinks, fi…
rmccorm4 ce14f57
docs: Copy over index.rst and hidden_toctree.rst from v0.4.0 to main
rmccorm4 5a8d52e
Revert "cp(#2351): Move backend READMEs to docs folder and fix relati…
rmccorm4 016d2c1
Revert "cp(#2346): Move hello_world example README to docs, swap syml…
rmccorm4 915847c
Rename multimodal_v1 to multimodal, and fix sglang link
rmccorm4 201c7f9
Bring back missing benchmark README
rmccorm4 241c614
Fix all broken links caught by lychee
rmccorm4 eac4cc5
Add github action for link validation (lychee)
rmccorm4 fc63b57
Update RELEASE_VERSION to 0.4.0 in dynamo_deploy quickstart
rmccorm4 ced1a73
Merge branch 'main' into rmccormick/cp_anish_docs_to_main
rmccorm4 8d6be0a
Remove benchmark README for easier review - will restore in a separat…
rmccorm4 f7f9350
Merge branch 'rmccormick/cp_anish_docs_to_main' of github.com:ai-dyna…
rmccorm4 a8e5396
Remove unused env var from link check action
rmccorm4 8d0e50b
Add WAR for lychee cert error
rmccorm4 c3ec608
Address CodeRabbit feedback
rmccorm4 4381aa8
Address CodeRabbit feedback - add TODO in workflow for lychee install
rmccorm4 ef0b231
Try installing ca-certs for cert errors
rmccorm4 fdfd807
Set GITHUB_TOKEN to avoid github rate limits on URL checks
rmccorm4 6b7c690
Add lychee result caching
rmccorm4 3e60e42
Add lychee result caching docs reference
rmccorm4 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,61 @@ | ||
| name: Docs link check | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| lychee: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| # Cache lychee results (e.g. to avoid hitting rate limits) | ||
| # https://lychee.cli.rs/github_action_recipes/caching/ | ||
| - name: Restore lychee cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: .lycheecache | ||
| key: cache-lychee-${{ github.sha }} | ||
| restore-keys: cache-lychee- | ||
|
|
||
| # https://github.com/lycheeverse/lychee/issues/1487 | ||
| - name: Install CA Certificates for lychee | ||
| run: | | ||
| sudo apt-get install ca-certificates | ||
|
|
||
| - name: Install lychee | ||
| run: | | ||
| set -euo pipefail | ||
| mkdir -p "$HOME/.local/bin" | ||
| cd "$RUNNER_TEMP" | ||
| # TODO: Lychee v0.19.1 doesn't support regex in --exclude-path, so use nightly | ||
| # release until there is a released version containing regex support. | ||
| curl -sSL -o lychee.tar.gz \ | ||
| https://github.com/lycheeverse/lychee/releases/download/nightly/lychee-x86_64-unknown-linux-gnu.tar.gz | ||
| tar -xzf lychee.tar.gz | ||
| BIN_PATH=$(find . -maxdepth 2 -type f -name lychee | head -n1) | ||
| install -m 0755 "$BIN_PATH" "$HOME/.local/bin/lychee" | ||
| echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
| lychee --version | ||
|
|
||
| - name: Check documentation links with lychee | ||
| env: | ||
| # Set GITHUB_TOKEN to avoid github rate limits on URL checks | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| set -euo pipefail | ||
| # Run lychee against all files in repo | ||
| lychee \ | ||
| --cache \ | ||
| --no-progress \ | ||
| --exclude-path "ATTRIBUTIONS.*" \ | ||
| --accept "200..=299, 403, 429" \ | ||
| --exclude-all-private --exclude 0.0.0.0 \ | ||
| . |
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
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
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
File renamed without changes.
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
File renamed without changes.
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
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
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.