Development

Development dependencies

Building cmocka

# Starting from libcbor source directory
git submodule update test/cmocka
cd test
mkdir cmocka_build && cd cmocka_build
cmake ../cmocka
make -j 4
make install

Installing sphinx

pip install sphinx
pip install sphinx_rtd_theme
pip install https://github.com/lepture/python-livereload/archive/master.zip
pip install sphinx-autobuild

Further instructions on configuring advanced features can be found at http://read-the-docs.readthedocs.org/en/latest/install.html.

Live preview of docs

cd doc
make livehtml

Testing and code coverage

Please refer to Tests