File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22gem 'github-pages' , group : :jekyll_plugins
3- #gemspec
3+
4+ # Testing utilities
5+ gem "html-proofer"
6+
7+ #gemspec
Original file line number Diff line number Diff line change @@ -18,6 +18,27 @@ After installing Jekyll, install all dependencies by running
1818bundle install
1919```
2020
21+ ## Testing generated site
22+
23+ To test the generated HTML site, you can use ` html-proofer ` gem.
24+ This Ruby gem checks and validates the jekyll generated HTML files.
25+ It checks a broad set of points: internal and external links existence (alerting of possible 404 errors), HTML attributes of the images and so on.
26+
27+ To install it, It has been incorporated in the Gemfile so the previous dependency install command would have already installed it.
28+
29+ You can run the following gem to tests the generated site.
30+
31+ ``` bash
32+ bundle exec jekyll build
33+ bundle exec htmlproofer ./_site
34+ ```
35+
36+ A utility script has also been included to run these checks in a CI system smoothly.
37+
38+ ``` bash
39+ ./scripts/cibuild
40+ ```
41+
2142## License
2243
2344Released under [ the Apache Public License 2.0] ( LICENSE ) .
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Table of contents
99- [ Introduction and Goal] ( #introduction-and-goal )
1010- [ Requirements] ( #requirements )
1111- [ Design] ( #design )
12- - [ Implementation of tf2_filter] ( #implementation-of-tf2filter )
12+ - [ Implementation of tf2_filter] ( #implementation-of-tf2_filter )
1313- [ Roadmap] ( #roadmap )
1414- [ Acknowledgments] ( #acknowledgments )
1515
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ We're basically following the ROS2 architecture and make use of its middleware p
1717
1818## Concept Documentation
1919
20- - Predictable scheduling and execution: [ real-time_executor] ( real-time_executor/ )
21- - System modes and system hierarchy: [ system_modes] ( system_modes/ )
22- - Embedded transform (tf) library: [ embedded_tf] ( embedded_tf/ )
20+ - Predictable scheduling and execution: [ real-time_executor] ( /docs/ real-time_executor/)
21+ - System modes and system hierarchy: [ system_modes] ( /docs/ system_modes/)
22+ - Embedded transform (tf) library: [ embedded_tf] ( /docs/ embedded_tf/)
2323 - Reference hardware: [ https://github.com/microROS/hardware ] ( https://github.com/microROS/hardware )
2424 - Build infrastructure for embedded development using docker: [ https://github.com/microROS/docker ] ( https://github.com/microROS/docker )
25- - FIWARE interoperability: [ FIROS2] ( FIROS2/ )
25+ - FIWARE interoperability: [ FIROS2] ( /docs/FIROS2 )
2626
2727## Source Code Repositories
2828
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ <h1 class="text-center"><i class="fa fa-cogs" aria-hidden="true"></i></h1>
4141 < h3 class ="text-center "> Getting Started</ h3 >
4242 < p > To get you started quickly, header over to the < a href ="/docs/tutorials/ "> tutorial</ a > section. The basic ones
4343 can even be done without a micro-controller. For more background and details, see the
44- < a href ="docs/ "> documentation</ a > .</ p >
44+ < a href ="/ docs/home / "> documentation</ a > .</ p >
4545 </ div >
4646 < div class ="col-sm-4 ">
4747 < h1 class ="text-center "> < i class ="fa fa-code-fork " aria-hidden ="true "> </ i > </ h1 >
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -e # halt script on error
3+
4+ bundle exec jekyll build
5+ bundle exec htmlproofer ./_site
You can’t perform that action at this time.
0 commit comments