ci: change docs build command
This commit is contained in:
1 parent
2c3c976828
commit
dc69966a9f
1 file changed
+2
-3
@@ -153,7 +153,7 @@ pages:
|
|||||||
stage: publish
|
stage: publish
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
variables:
|
variables:
|
||||||
RUSTDOC_OPTS: >-
|
RUSTDOCFLAGS: >-
|
||||||
-Z unstable-options
|
-Z unstable-options
|
||||||
--extern-html-root-url glib_sys=https://gtk-rs.org/docs
|
--extern-html-root-url glib_sys=https://gtk-rs.org/docs
|
||||||
--extern-html-root-url gobject_sys=https://gtk-rs.org/docs
|
--extern-html-root-url gobject_sys=https://gtk-rs.org/docs
|
||||||
@@ -164,8 +164,7 @@ pages:
|
|||||||
- curl -L "${SCCACHE_URL}" | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
|
- curl -L "${SCCACHE_URL}" | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
|
||||||
script:
|
script:
|
||||||
- make merge-lgpl-docs
|
- make merge-lgpl-docs
|
||||||
- cargo rustdoc --verbose --package ostree-sys --features dox -- ${RUSTDOC_OPTS}
|
- cargo doc --verbose --workspace --features dox --no-deps
|
||||||
- cargo rustdoc --verbose --package ostree --features dox -- ${RUSTDOC_OPTS}
|
|
||||||
- cp -r target/doc public
|
- cp -r target/doc public
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in new issue
Block a user