[go: up one dir, main page]

Menu

Tree [a63198] master / doc /
 History

HTTPS access


File Date Author Commit
 src 2018-03-13 Jonathan Fine Jonathan Fine [7e1114] Added Residue property functions to Doxygen
 CMakeLists.txt 2017-11-08 Guillaume Fraux Guillaume Fraux [6528cc] Add a warning when using old versions of doxygen
 README.md 2017-02-25 Guillaume Fraux Guillaume Fraux [c21f82] Add a README about the documentation
 conf.py.in 2017-11-30 Guillaume Fraux Guillaume Fraux [2a3860] Changes the examples into real tutorials
 htmlhidden.py 2017-11-30 Guillaume Fraux Guillaume Fraux [2a3860] Changes the examples into real tutorials
 requirements.txt 2017-09-28 Guillaume Fraux Guillaume Fraux [3360dd] Use official breathe release for documentation

Read Me

Chemfiles documentation

This directory contains the documentation for the chemfiles library. This
documentation is divided in multiple sections:

  • High level overview;
  • C++ interface reference;
  • C interface reference;
  • Developers documentation.

The documentation is written using sphinx and
RestructuredText. It is automatically compiled every time a modification
is added on Github, and deployed at http://chemfiles.github.io/chemfiles/.

Part of the documentation (the interface reference) is extracted from the source
code. The source code contains special comments following doxygen
conventions, which are extracted and included in the documentation using
breathe.

To modify the documentation, you will need to modify either the
RestructuredText files in the doc/src directory; or the
doxygen comments in header files from the include directory.

Building the documentation locally

First, get the source code of chemfiles (if you don't already have it):

git clone https://github.com/chemfiles/chemfiles
cd chemfiles

Then install doxygen and Python using your favorite method. Finally,
install the required python packages by running:

pip install sphinx
pip install -r doc/requirements.txt

You can now build the documentation locally by running:

mkdir build
cd build
cmake -DCHFL_BUILD_DOCUMENTATION=ON ..
make doc_html

The documentation will be in the build/doc/html directory.