Skip to content

Commit

Permalink
Sphinx: use RTD theme locally
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Jun 7, 2018
1 parent 8964b32 commit d90c994
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@

version := $(shell python -c 'from geopy import __version__; print(__version__)')

develop:
venv:
[ -d .venv ] || virtualenv .venv --python=python3
. .venv/bin/activate

piplocal:
pip install -e '.[dev]'

develop: venv piplocal

lint:
flake8

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"mock",
"pytest>=3",
"sphinx",
"sphinx_rtd_theme>=0.4.0",
],
"timezone": ["pytz"],
},
Expand Down

0 comments on commit d90c994

Please sign in to comment.