To read the documentation, follow this link: https://elk-audio.github.io/elk-docs/
This repository contains the source files, and generated HTML output, for the Elk Development Kit Documentation.
If you have cloned/downloaded this repository you can browse the documentation by opening the ./docs/index.html
file in your browser.
Most sections are written in MarkDown, and have to use the CommonMark flavor, the accepted standard by Sphinx and ReadtheDocs. Some exceptions, such as is the index, use ReStructuredText - the main format for Sphinx.
If you have made any changes to an .MD documentation file, you also need to take the below steps to make the changes available through the web link.
Install Sphinx:
apt-get install python3-sphinx
Alternatively install through pip:
python3 -m pip install sphinx
Install recommonmark:
python3 -m pip install recommonmark
Build with:
make html
Alternatively, if you've pip-installed Sphinx:w
python3 -m sphinx -M html ./ ./docs/
The output will be generated in docs
, the folder expected by GitHub Pages for the HTML files it serves.
Do commit and push both your changed .MD, and generated HTML files, for your changes to be reflected on the online HTML version of the documentation.
In the docs
folder, there are two files added manually, needed for GitHub Pages: .nojekyll
, and index.html
. If you every type make clean
, these two will be deleted - ensure you then reinstate them before committing.