diff --git a/substrate/.gitlab-ci.yml b/substrate/.gitlab-ci.yml index 60a75d5db4..a6ef113044 100644 --- a/substrate/.gitlab-ci.yml +++ b/substrate/.gitlab-ci.yml @@ -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 cargo +nightly doc --release --all --verbose + - BUILD_DUMMY_WASM_BINARY=1 time RUSTDOCFLAGS="--html-in-header $(pwd)/rustdoc-header.html" cargo +nightly doc --release --all --verbose - cp -R ./target/doc ./crate-docs - echo "" > ./crate-docs/index.html - sccache -s diff --git a/substrate/rustdoc-header.html b/substrate/rustdoc-header.html new file mode 100644 index 0000000000..a679d5e299 --- /dev/null +++ b/substrate/rustdoc-header.html @@ -0,0 +1,10 @@ + + + +