Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Contributing

## Build documentation locally

Using tox:
```shell
$ tox -e docs
```
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from __future__ import absolute_import, print_function
import sys, os
from future import __version__
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused import

import sphinx_bootstrap_theme

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
[tox]
envlist = py26,py27,py33,py34,py35,py36,py37
envlist =
py{26,27,33,34,35,36,37},
docs

[testenv]
deps =
pytest
unittest2
py26: importlib
commands = pytest {posargs}

[testenv:docs]
deps =
sphinx
sphinx_bootstrap_theme
commands = sphinx-build docs build