ostree/docs
Timothée Ravier 5af2a529be docs: Do not convert -- & --- to en/em-dash
'--' is frequently used for command line options and was thus
incorrectly rendered as a special en-dash symbol.
2021-10-11 12:29:32 +02:00
..
_sass/color_schemes docs: Add Jekyll and theme config 2020-10-01 19:32:12 +02:00
_config.yml docs: Do not convert -- & --- to en/em-dash 2021-10-11 12:29:32 +02:00
adapting-existing.md *: rename master branch to main 2021-05-07 16:55:03 +02:00
atomic-upgrades.md *: rename master to main in tests & examples 2021-05-07 16:55:03 +02:00
buildsystem-and-repos.md docs: Fix various typos 2020-10-19 10:55:49 -04:00
contributing-tutorial.md *: rename master branch to main 2021-05-07 16:55:03 +02:00
CONTRIBUTING.md *: rename master branch to main 2021-05-07 16:55:03 +02:00
deployment.md docs: Fix various typos 2020-10-19 10:55:49 -04:00
formats.md docs: Fix various typos 2020-10-19 10:55:49 -04:00
Gemfile docs: Provide bundler setup for building site locally 2021-05-21 10:13:15 -06:00
index.md docs: Copy in API docs and add link 2021-05-21 10:46:49 -06:00
introduction.md docs: Move and update pages from the manual 2020-10-02 14:34:48 +02:00
prep-docs.sh docs: Copy in API docs and add link 2021-05-21 10:46:49 -06:00
README-historical.md docs: Move historical README to the docs 2020-10-02 14:38:28 +02:00
README.md docs: Copy in API docs and add link 2021-05-21 10:46:49 -06:00
related-projects.md docs: Add Torizon to related projects and OS 2021-03-04 17:04:38 -03:00
repo.md *: rename master to main in tests & examples 2021-05-07 16:55:03 +02:00
repository-management.md *: rename master to main in tests & examples 2021-05-07 16:55:03 +02:00

This documentation is written in Jekyll format to be published on GitHub Pages. The rendered HTML will be automatically built and published, but you can also use Jekyll locally to test changes.

First you need to install Ruby and RubyGems to get Jekyll and the other gem dependencies. This is easiest using the distro's packages. On RedHat systems this is rubygems and on Debian systems this is ruby-rubygems.

Next Bundler is needed to install the gems using the provided Gemfile. You can do this by running gem install bundler or using distro packages. On RedHat systems this is rubygem-bundler and on Debian systems this is ruby-bundler.

Now you can prepare the Jekyll environment. Change to this directory and run:

bundle config set --local path vendor/bundle
bundle install

Finally, run the prep-docs.sh script and then render and serve the site locally with Jekyll:

./prep-docs.sh
bundle exec jekyll serve