mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Automatically update the documentation when changes are pushed to the master branch
This commit is contained in:
parent
211bd717af
commit
d41e94db49
4 changed files with 2541 additions and 0 deletions
20
.travis.yml
20
.travis.yml
|
@ -8,6 +8,11 @@ cache:
|
|||
directories:
|
||||
- "~/.platformio"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- doxygen
|
||||
|
||||
# Generated using: find examples -type f -name "*.ino" | rev | cut -d/ -f2- | rev | sed 's/^/ - PLATFORMIO_CI_SRC=/' > tmp.yml
|
||||
env:
|
||||
- PLATFORMIO_CI_SRC=examples/acm/acm_terminal
|
||||
|
@ -76,3 +81,18 @@ install:
|
|||
script:
|
||||
- if [[ -z "$SKIP_UNO" ]]; then UNO="--board=uno"; fi
|
||||
- platformio ci --lib="." $UNO --board=due --board=genuino101 --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc --board=esp12e --board=nodemcu --board=esp32dev
|
||||
|
||||
before_deploy:
|
||||
# Fix errors in the Doxygen Markdown parser and generate the docs
|
||||
- sed -i 's/Circuits@/Circuits\\@/' README.md
|
||||
- sed -i 's/@YuuichiAkagawa/\\@YuuichiAkagawa/' README.md
|
||||
- doxygen doc/Doxyfile
|
||||
|
||||
deploy:
|
||||
provider: pages
|
||||
github-token: $GITHUB_TOKEN
|
||||
local_dir: doc/html
|
||||
skip_cleanup: true
|
||||
keep-history: true
|
||||
on:
|
||||
branch: master
|
||||
|
|
2506
doc/Doxyfile
Normal file
2506
doc/Doxyfile
Normal file
File diff suppressed because it is too large
Load diff
11
doc/README.md
Normal file
11
doc/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# USB Host Library Rev.2.0
|
||||
|
||||
The code is released under the GNU General Public License.
|
||||
__________
|
||||
[![Build Status](https://travis-ci.org/felis/USB_Host_Shield_2.0.svg?branch=master)](https://travis-ci.org/felis/USB_Host_Shield_2.0)
|
||||
|
||||
# Documentation
|
||||
|
||||
The documenation is automatically build using [Travis](https://travis-ci.com/) and hosted using [Github Pages](https://help.github.com/categories/github-pages-basics/).
|
||||
|
||||
The library documentation can be found at the following link: <https://felis.github.io/USB_Host_Shield_2.0/>.
|
4
doc/imageStyle.css
Normal file
4
doc/imageStyle.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
.image
|
||||
{
|
||||
text-align: left;
|
||||
}
|
Loading…
Reference in a new issue