Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
24056cb1
Commit
24056cb1
authored
3 years ago
by
Denis_P
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: optimize docs build (#568)
parent
1a854ae7
Branches
gh-readonly-queue/master/pr-3366-ef6ac94f5218368fd89ce73493909bbfbc0eace8
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cumulus/.github/workflows/docs.yml
+8
-12
8 additions, 12 deletions
cumulus/.github/workflows/docs.yml
with
8 additions
and
12 deletions
cumulus/.github/workflows/docs.yml
+
8
−
12
View file @
24056cb1
name
:
Publish Rust Docs
on
:
push
:
branches
:
-
master
pull_request
:
# FIXME: debug
# push:
# branches:
# - master
jobs
:
deploy-docs
:
...
...
@@ -14,20 +16,14 @@ jobs:
-
name
:
Checkout repository
uses
:
actions/checkout@v2.3.4
-
name
:
Rust toolchains and versions
run
:
|
rustup toolchain install nightly --target wasm32-unknown-unknown
rustup show
rustup +nightly show
-
name
:
Rust versions
run
:
rustup show
-
name
:
Rust cache
uses
:
Swatinem/rust-cache@v1
-
name
:
Build rustdocs
uses
:
actions-rs/cargo@v1
with
:
command
:
doc
args
:
--all --no-deps
run
:
SKIP_WASM_BUILD=1 cargo doc --all --no-deps
-
name
:
Make index.html
run
:
echo "<meta http-equiv=refresh content=0;url=cumulus_client_collator/index.html>" > ./target/doc/index.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment