Skip to content
Snippets Groups Projects
Commit 616a18a9 authored by Per Lindgren's avatar Per Lindgren
Browse files

autodoc

parent 04723a38
No related branches found
No related tags found
No related merge requests found
Pipeline #
stages:
- deploy
#- test
# Setup the rust environment
before_script:
# - apt-get update -yqq
# - apt-get install -yqq --no-install-recommends build-essential # gcc-arm-none-eabi gcc-multilib binutils-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi
# Must be outside the project folder
# - cd /
# - cargo install xargo
# Return
# - cd -
#- rustup toolchain remove nightly
# - rustup toolchain install nightly
- rustup default nightly
# - rustup target add arm-unknown-linux-gnueabihf
# - rustup target add arm-unknown-linux-gnueabi
# - rustup target add armv7-unknown-linux-gnueabihf
# - rustup component add rust-src
# - rustup update
# Generate documentation
pages:
image: rustdocker/rust:nightly
stage: deploy
only:
- master
script:
- cargo doc --no-deps
- rm -rf public
- mkdir public
# The content inside the target doc folder, but index even deeper down
- ls target
- cp -R target/doc/* public
artifacts:
paths:
- public
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment