Skip to content

hellonarrativ/api-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Narrativ API Documentation

build status

Local Development Workflow

Build the latest documentation using the docker container:

make docker-pull-latest
make docker-sphinx

This outputs documentation in the html and singlehtml formats. View these files in your web browser:

docs/_build/html/index.html
docs/_build/singlehtml/index.html

# Shortcut for previewing HTML in Chrome
$ make preview SECTION=smartlink # opens docs/_build/html/smartlink.html

To build specific formats only:

make docker-sphinx-html

To delete the build directory and start fresh:

make docker-sphinx-clean

Code Style

Write your documentation in reStructuredText, or possibly markdown.

For reStructuredText, please follow the Python documentation style guide . Files should be indented using 3 spaces (except for code blocks).

Reading the Docs

Once your pull request is merged into master, an automated build will be triggered on Read the Docs. Check the status of your build on our project page .

Then, view your documentation on https://narrativ-narrativ.readthedocs-hosted.com/ or on http://docs.narrativ.com/

Releasing a New Version

Update the version number in docs/conf.py with the version you will be publishing. Make sure after you merge your PR you create a release with the same version. See https://bamerati.atlassian.net/wiki/spaces/BI/pages/1466040336/Public+API+Docs for all steps to merge.

Releases are managed using Github tags. Use semantic versioning.