Skip to main content

Buildout recipe to generate and Sphinx-based documentation for Birdhouse.

Project description

Travis Build

Introduction

Buildout Recipe to setup Sphinx Documentation for Birdhouse Components.

The recipe is based on https://pypi.python.org/pypi/collective.recipe.sphinxbuilder

Usage

The recipe requires that Anaconda is already installed. It assumes that the default Anaconda location is in your home directory ~/anaconda. Otherwise you need to set the ANACONDA_HOME environment variable or the Buildout option anaconda-home.

The recipe builds an initial docs folder for Sphinx in docs. The recipe configures sphinx-autoapi to generate the api reference documetation from the source code.

The recipe depends on birdhousebuilder.recipe.conda and zc.recipe.egg

Supported Options

The recipe supports the following options:

project (default: MyBird)

Specify the project name.

author (default: Birdhouse)

Specify the author of the project.

version (default: 0.1)

Specify the version of the project.

src (default: .)

Specify path to source folder which will be used by sphinx-autoapi.

Example Usage

Set up the docs for the project Emu:

[buildout]
parts = sphinx

anaconda-home = /home/myself/anaconda

[sphinx]
recipe = birdhousebuilder.recipe.sphinx
project = Emu
version = 0.2
src = emu

Carsten Ehbrecht <ehbrecht@dkrz.de>

Changes

0.1.3 (2015-10-24)

  • setups requirements/rtd.txt for readthedocs.

0.1.2 (2015-10-24)

  • replaced autodoc by sphinx-autoapi extension

  • using src option for sphinx-autoapi

0.1.1 (2015-10-23)

  • added extra_paths

  • added sys.path in conf.py template

0.1.0 (2015-10-23)

Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birdhousebuilder.recipe.sphinx-0.1.3.tar.gz (14.8 kB view details)

Uploaded Source

File details

Details for the file birdhousebuilder.recipe.sphinx-0.1.3.tar.gz.

File metadata

File hashes

Hashes for birdhousebuilder.recipe.sphinx-0.1.3.tar.gz
Algorithm Hash digest
SHA256 52327d88290344aa29e157ef16f87fa0e31918732f4ab67fc5ce89a7e5581253
MD5 91c633613bc0e4bd388e1fa976dcc716
BLAKE2b-256 e99b5c063aabaec7965bb69936fad8b3566a512bf3d073cd9a679b5f23988d18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page