Skip to content

Commit

Permalink
Setup readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
InnovativeInventor committed Jun 17, 2021
1 parent 4b172ec commit 9a87a50
Show file tree
Hide file tree
Showing 6 changed files with 496 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF
formats:
- pdf

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#
html_theme = "pydata_sphinx_theme"
html_theme_options = {
"github_url": "https://github.com/numpy/numpydoc",
"github_url": "https://github.com/mggg/maup",
"show_prev_next": False,
"navbar_end": ["search-field.html", "navbar-icon-links.html"],
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ districts, such as
Quick help:

- `Example usage <https://github.com/mggg/maup#readme>`_
- `Best practice guidelines <https://github.com/mggg/maup/blob/main/best-practices.md>`_
- `Best practice guidelines <https://github.com/mggg/maup/blob/master/best-practices.md>`_
- `API reference </reference/api/maup.html>`_


Expand Down
Loading

0 comments on commit 9a87a50

Please sign in to comment.