This directory contains python-sphinx documentation source.
Python>=3.9 is required.
$ pip install -e ".[docs]"
$ sphinx-autobuild docs docs/_buildconf.pycontains the sphinx setting configuration.*.rstare the usual sphinx documentation source and the filenames without.rstare the keys to link from toctree mainly inindex.rst.*.incare the files included in the other*.rstfiles.
references.bibcontains citation entries for sphinxcontrib-bibtex- Each subsection in
references.mdhas a bibliography as follows- use
cite:emptydirective to refer to an entry inreferences.bib - set
keyprefixfor each subsection and append it when refer to bibtex's entries.
- use
{cite:empty}`gen-ITA2016`
```{bibliography}
:cited:
:keyprefix: gen-
```
Web page files are copied to gh-pages branch. At the spglib github top directory,
git checkout gh-pages
rm -r .buildinfo .doctrees *
From the directory the sphinx doc is complied, html sources are stored
in _build/html. These files are copied to gh-pages by
rsync -avh _build/html/ <spglib-repository-directory>/
Again, at the spglib github top directory,
git add .
git commit -a -m "Update documentation ..."
git push