diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a5f947c14c16b41146ca725848f915ae83c4a1b1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,39 @@ +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 diff --git a/README.md b/README.md index 0fc76b833e41155d594616ca99812e1a8bb2717b..d08e0d7cba775bc3a3c38a870d085ad55f28afd4 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Generated using [svd2rust] v0.11.4 from STM32F429x.svd. [svd2rust]: https://github.com/japaric/svd2rust +# Documentation +[The Manual](http://pln.gitpages.henriktjader.com/stm32f429x/stm32f429x) # License Licensed under either of