File tree Expand file tree Collapse file tree 29 files changed +101
-168
lines changed Expand file tree Collapse file tree 29 files changed +101
-168
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ This project follows semantic versioning.
4+
5+ Possible log types:
6+
7+ - ` [added] ` for new features.
8+ - ` [changed] ` for changes in existing functionality.
9+ - ` [deprecated] ` for once-stable features removed in upcoming releases.
10+ - ` [removed] ` for deprecated features removed in this release.
11+ - ` [fixed] ` for any bug fixes.
12+ - ` [security] ` to invite users to upgrade in case of vulnerabilities.
13+
14+ ### Unreleased
15+
16+ ### v0.10.1 (2019-09-27)
17+
18+ - [ fixed] Fix API documentation by moving to self-hosted https://api.drone-os.com
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ members = [
2727
2828[package ]
2929name = " drone-stm32-map"
30- version = " 0.10.0 "
30+ version = " 0.10.1 "
3131authors = [
" Valentine Valyaeff <[email protected] >" ]
3232edition = " 2018"
3333exclude = [" /svd_files" ]
3434repository = " https://github.com/drone-os/drone-stm32-map"
3535homepage = " https://www.drone-os.com/"
36- documentation = " https://docs.rs /drone-stm32-map/0.10.0 "
36+ documentation = " https://api.drone-os.com /drone-stm32-map/0.10"
3737readme = " README.md"
3838license = " MIT OR Apache-2.0"
3939keywords = [
@@ -243,54 +243,50 @@ version = "0.10.0"
243243path = " ../drone-cortex-m"
244244
245245[dependencies .drone-stm32-map-pieces ]
246- version = " =0.10.0 "
246+ version = " =0.10.1 "
247247path = " src/pieces"
248248
249249[dependencies .drone-stm32-map-periph-adc ]
250- version = " =0.10.0 "
250+ version = " =0.10.1 "
251251path = " src/periph/adc"
252252optional = true
253253
254254[dependencies .drone-stm32-map-periph-dma ]
255- version = " =0.10.0 "
255+ version = " =0.10.1 "
256256path = " src/periph/dma"
257257optional = true
258258
259259[dependencies .drone-stm32-map-periph-exti ]
260- version = " =0.10.0 "
260+ version = " =0.10.1 "
261261path = " src/periph/exti"
262262optional = true
263263
264264[dependencies .drone-stm32-map-periph-gpio ]
265- version = " =0.10.0 "
265+ version = " =0.10.1 "
266266path = " src/periph/gpio"
267267optional = true
268268
269269[dependencies .drone-stm32-map-periph-i2c ]
270- version = " =0.10.0 "
270+ version = " =0.10.1 "
271271path = " src/periph/i2c"
272272optional = true
273273
274274[dependencies .drone-stm32-map-periph-rtc ]
275- version = " =0.10.0 "
275+ version = " =0.10.1 "
276276path = " src/periph/rtc"
277277optional = true
278278
279279[dependencies .drone-stm32-map-periph-spi ]
280- version = " =0.10.0 "
280+ version = " =0.10.1 "
281281path = " src/periph/spi"
282282optional = true
283283
284284[dependencies .drone-stm32-map-periph-tim ]
285- version = " =0.10.0 "
285+ version = " =0.10.1 "
286286path = " src/periph/tim"
287287optional = true
288288
289289[dependencies .drone-stm32-map-periph-uart ]
290- version = " =0.10.0 "
290+ version = " =0.10.1 "
291291path = " src/periph/uart"
292292optional = true
293-
294- [package .metadata .docs .rs ]
295- default-target = " thumbv7em-none-eabihf"
296- features = [" stm32l4s9" ]
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ readme:
5454
5555# Bump crate versions
5656version-bump version drone -core -version drone -cortex -m -version :
57- sed -i ' s/\(docs\.rs\ /drone-stm32-map\/\)[0-9]\+\(\.[0-9]\+\)\+/\1{{ version}} /' \
57+ sed -i " s/\( api \. drone-os \. com \ / drone-stm32-map\/\) [0-9]\+\(\. [0-9]\+\)\+ /\1 $(echo {{ version}} | sed 's/ \( .* \)\. [0-9] \+ / \1 /')/" \
5858 Cargo.toml src/ lib.rs
5959 sed -i ' /\[.*\]/h;/version = ".*"/{x;s/\[package\]/version = "{{ version}} "/;t;x}' \
6060 Cargo.toml src/ pieces/ */ Cargo.toml src/ pieces/ Cargo.toml src/ periph/ */ Cargo.toml svd/ Cargo.toml
@@ -116,3 +116,12 @@ publish:
116116 cd src/ periph/ uart && cargo publish --target {{ build_target}} --features " {{ features}} "
117117 sleep 5
118118 cargo publish --target {{ build_target}} --features " {{ features}} "
119+
120+ # Publish the docs to api.drone-os.com
121+ publish-doc : doc
122+ dir=$(sed -n ' s/.*api\.drone-os\.com\/\(.*\)"/\1/;T;p' Cargo.toml) \
123+ && rm -rf ../ drone-api/ $dir \
124+ && cp -rT target/ doc ../ drone-api/ $dir \
125+ && cp -rT target/ {{ build_target}} / doc ../ drone-api/ $dir \
126+ && echo ' <!DOCTYPE html><meta http-equiv="refresh" content="0; URL=./drone_stm32_map">' > ../ drone-api/ $dir/ index.html \
127+ && cd ../ drone-api && git add $dir && git commit -m " Docs for $dir"
Original file line number Diff line number Diff line change 11[ ![ crates.io] ( https://img.shields.io/crates/v/drone-stm32-map.svg )] ( https://crates.io/crates/drone-stm32-map )
2- [ ![ docs.rs] ( https://docs.rs/drone-stm32-map/badge.svg )] ( https://docs.rs/drone-stm32-map )
32![ maintenance] ( https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg )
43
54# drone-stm32-map
4443## Documentation
4544
4645- [ Drone Book] ( https://book.drone-os.com/ )
47- - [ API documentation] ( https://docs.rs /drone-stm32-map/0.10.0 )
46+ - [ API documentation] ( https://api.drone-os.com /drone-stm32-map/0.10 )
4847
4948The API documentation intentionally skips auto-generated [ ` reg ` ] and [ ` thr ` ]
5049bindings. Otherwise it would use several gigabytes of space and would be
@@ -58,7 +57,7 @@ Place the following to the Cargo.toml:
5857
5958``` toml
6059[dependencies ]
61- drone-stm32-map = { version = " 0.10.0 " , features = [...] }
60+ drone-stm32-map = { version = " 0.10.1 " , features = [...] }
6261```
6362
6463# # License
Original file line number Diff line number Diff line change 11[](https://crates.io/crates/{ {crate} })
2- [](https://docs.rs/{ {crate} })
32
43
54# { {crate} }
Original file line number Diff line number Diff line change 3838//! # Documentation
3939//!
4040//! - [Drone Book](https://book.drone-os.com/)
41- //! - [API documentation](https://docs.rs /drone-stm32-map/0.10.0 )
41+ //! - [API documentation](https://api.drone-os.com /drone-stm32-map/0.10)
4242//!
4343//! The API documentation intentionally skips auto-generated [`reg`] and [`thr`]
4444//! bindings. Otherwise it would use several gigabytes of space and would be
5252//!
5353//! ```toml
5454//! [dependencies]
55- //! drone-stm32-map = { version = "0.10.0 ", features = [...] }
55+ //! drone-stm32-map = { version = "0.10.1 ", features = [...] }
5656//! ```
5757
5858#![ deny( elided_lifetimes_in_paths) ]
Original file line number Diff line number Diff line change 11[package ]
22name = " drone-stm32-map-periph-adc"
3- version = " 0.10.0 "
3+ version = " 0.10.1 "
44authors = [
" Valentine Valyaeff <[email protected] >" ]
55edition = " 2018"
66repository = " https://github.com/drone-os/drone-stm32-map"
@@ -41,9 +41,5 @@ version = "0.10.0"
4141path = " ../../../../drone-cortex-m"
4242
4343[dependencies .drone-stm32-map-pieces ]
44- version = " =0.10.0 "
44+ version = " =0.10.1 "
4545path = " ../../pieces"
46-
47- [package .metadata .docs .rs ]
48- default-target = " thumbv7em-none-eabihf"
49- features = [" stm32l4s9" ]
Original file line number Diff line number Diff line change 11[package ]
22name = " drone-stm32-map-periph-dma"
3- version = " 0.10.0 "
3+ version = " 0.10.1 "
44authors = [
" Valentine Valyaeff <[email protected] >" ]
55edition = " 2018"
66repository = " https://github.com/drone-os/drone-stm32-map"
@@ -41,9 +41,5 @@ version = "0.10.0"
4141path = " ../../../../drone-cortex-m"
4242
4343[dependencies .drone-stm32-map-pieces ]
44- version = " =0.10.0 "
44+ version = " =0.10.1 "
4545path = " ../../pieces"
46-
47- [package .metadata .docs .rs ]
48- default-target = " thumbv7em-none-eabihf"
49- features = [" stm32l4s9" ]
Original file line number Diff line number Diff line change 11[package ]
22name = " drone-stm32-map-periph-exti"
3- version = " 0.10.0 "
3+ version = " 0.10.1 "
44authors = [
" Valentine Valyaeff <[email protected] >" ]
55edition = " 2018"
66repository = " https://github.com/drone-os/drone-stm32-map"
@@ -41,9 +41,5 @@ version = "0.10.0"
4141path = " ../../../../drone-cortex-m"
4242
4343[dependencies .drone-stm32-map-pieces ]
44- version = " =0.10.0 "
44+ version = " =0.10.1 "
4545path = " ../../pieces"
46-
47- [package .metadata .docs .rs ]
48- default-target = " thumbv7em-none-eabihf"
49- features = [" stm32l4s9" ]
Original file line number Diff line number Diff line change 11[package ]
22name = " drone-stm32-map-periph-gpio"
3- version = " 0.10.0 "
3+ version = " 0.10.1 "
44authors = [
" Valentine Valyaeff <[email protected] >" ]
55edition = " 2018"
66repository = " https://github.com/drone-os/drone-stm32-map"
@@ -41,9 +41,5 @@ version = "0.10.0"
4141path = " ../../../../drone-cortex-m"
4242
4343[dependencies .drone-stm32-map-pieces ]
44- version = " =0.10.0 "
44+ version = " =0.10.1 "
4545path = " ../../pieces"
46-
47- [package .metadata .docs .rs ]
48- default-target = " thumbv7em-none-eabihf"
49- features = [" stm32l4s9" ]
You can’t perform that action at this time.
0 commit comments