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
789ead9b
Commit
789ead9b
authored
5 years ago
by
kaichao
Committed by
Shawn Tabrizi
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix RustDoc generation. (#3763)
* Attemp to fix it. * Move env to the begining.
parent
f1cdaae6
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
substrate/.gitlab-ci.yml
with
1 addition
and
1 deletion
substrate/.gitlab-ci.yml
+
1
−
1
View file @
789ead9b
...
...
@@ -288,7 +288,7 @@ build-rust-doc-release:
<<
:
*build-only
script
:
-
rm -f ./crate-docs/index.html
# use it as an indicator if the job succeeds
-
BUILD_DUMMY_WASM_BINARY=1
time
RUSTDOCFLAGS="--html-in-header $(pwd)/rustdoc-header.html" cargo +nightly doc --release --all --verbose
-
BUILD_DUMMY_WASM_BINARY=1 RUSTDOCFLAGS="--html-in-header $(pwd)/rustdoc-header.html"
time
cargo +nightly doc --release --all --verbose
-
cp -R ./target/doc ./crate-docs
-
echo "<meta http-equiv=refresh content=0;url=substrate_service/index.html>" > ./crate-docs/index.html
-
sccache -s
...
...
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