Code for auto-generated static website: https://france-ioi.github.io/algorea-devdoc/
The doc is auto-generated by Github pages at every push on master. If you want to run it locally:
- Install the Ruby Development Package:
apt install ruby-dev
- Install Ruby and bundler (
gem install bundler
) - Install the dependencies:
bundle install
- Run it
bundle exec jekyll serve
(or build it oncebundle exec jekyll build
)
bundle exec just-the-docs rake search:init
If using WSL on Windows, you might have to use bundle exec jekyll serve --force_polling
to make auto update on file change work.
For basic style (indent style, line break), make sure your editor support EditorConfig so that the one defined in this project is used by everybody.
For the text style, try to use markdown file as much as possible. Have a look at Just-the-docs documentation for ways to do custom styling.
Check how to do that with Just-the-Docs