Skip to content
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

Fix rust docs deploy #2615

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/reusable_deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Reusable Deploy Docs'
name: "Reusable Deploy Docs"

on:
workflow_call:
Expand Down Expand Up @@ -33,8 +33,7 @@ env:
RUSTC_WRAPPER: "sccache"

jobs:

# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------

py-deploy-docs:
name: Python
Expand Down Expand Up @@ -90,8 +89,7 @@ jobs:
git commit -m "Update docs for ${GITHUB_SHA}"
git push origin gh-pages-orphan:gh-pages -f


# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------

rs-deploy-docs:
name: Rust
Expand Down Expand Up @@ -129,6 +127,9 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Delete existing /target/doc
run: rm -rf ./target/doc

- name: cargo doc --document-private-items
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -156,3 +157,4 @@ jobs:
run: |
git fetch
python3 -m ghp_import -n -p -x docs/rust/head target/doc/ -m "Update the rust docs"

6 changes: 0 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"target_ra/**": true,
"target_wasm/**": true,
"target/**": true,
"venv/**": true,
},
Copy link
Member

Choose a reason for hiding this comment

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

Noooo, now these folders are gonna start showing up in search results again

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you mean? They shouldn't show up unless you have it open in your editor

Copy link
Member Author

Choose a reason for hiding this comment

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

image

image

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll revert this for now so I can merge this, but I don't think it should be necessary

"files.autoGuessEncoding": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
Expand Down