This repository contains the technical guidelines for CESSDA ERIC. Pull Requests from CESSDA affiliated developers are highly welcome.
The documentation is written in markdown files and compiled to html using Jekyll with the CESSDA theme based on the Just the docs theme.
To get started locally, make sure to have Ruby installed, then run
gem install jekyll bundler
bundle install
bundle exec jekyll serve --config _config.yml,_devsettings.yml
The page order and navigation structure is defined manually using the theme's options. A guide to the structure can be found at document-navigation-structure.md.
The documentation is written using Markdown files with Jekyll headers.
Coding follows the Google Style Guide for Markdown,
including ATX style headers and a maximal line lengths of 140 characters.
We follow British spelling with -ise, check e.g. with aspell --lang=en_GB-ise
.
Style Guide compliance is checked with markdownlint
by running
bundle exec mdl --git-recurse .
HTML output is checked with html-proofer
,
which also finds any broken internal and external links
bundle exec rake htmlproofer
Technical documentation is generally used for consultation or reference, instead of being read from beginning to end. This use case forms the basis for form and structure of the CESSDA Technical Guidelines. As a general rule, the »what« should be most prominently presented, followed by the motivation and optional examples.
General recommendations:
Practical recommendations:
images
folder, only theme-related files go into assets
._data/glossary.yml
and referenced using{% include glossary.html entry="RI" text="RI" %}
Note that glossary entries have to be referenced with exact matching, including case. It is possible to display a different text in-line though:
{% include glossary.html entry="RI" text="Research Infrastructure" %}
The documentation is deployed using a continuous deployment process.
The main branch of this repository should match what is deployed to https://docs.tech.cessda.eu/.