This repository contains Sphinx themes for Yaco related projects. To use a theme in your Sphinx documentation, follow these steps:
add this directory as _themes into your docs folder. Alternatively, you can also use the git submodules functionality to check out the contents into yor docs folder, or just symlink this directory as _themes.
add this to your conf.py:
sys.path.append(os.path.abspath('_themes')) html_theme_path = ['_themes'] html_theme = 'yaco' pygments_style = 'yaco_theme_support.YacoStyle' html_logo = 'logo_orange.png'
add this rule to your Makefile:
slides: $(SPHINXBUILD) -b html -D html_theme=htmlslide $(ALLSPHINXOPTS) $(BUILDDIR)/slides @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/slides."
in order to render PDFs you need to have texlive installed with latex support.
Ubuntu:
aptitude install texlive-full
Arch Linux:
pacman -S texlive-latexextra
To support hyphenation in spanish.
Ubuntu:
aptitude install texlive-lang-spanish
Arch Linux: included in texlive-latexextra
- you are now good to go :)
This repository contains the following themes:
- yaco - the generic Yaco Project documentation theme. Orange color.
- htmlslide - A slide theme. Orange color.