Skip to content

Commit 2343803

Browse files
authored
Set up readthedocs (#31)
* set up readthedocs * fix typo and broken link * remove sphinx _templates folder
1 parent 576931b commit 2343803

9 files changed

+23
-221
lines changed

.github/workflows/publish-docs-release.yml

-54
This file was deleted.

.github/workflows/publish-docs.yml

-65
This file was deleted.

.readthedocs.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
version: 2
4+
5+
build:
6+
os: ubuntu-20.04
7+
tools:
8+
python: "3.9"
9+
10+
python:
11+
install:
12+
- requirements: requirements-docs.txt
13+
- requirements: requirements.txt
14+
- method: pip
15+
path: .

CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing guide
2+
3+
Page in construction, for now go to https://github.com/pymc-devs/pymc-experimental#questions.

docs/_templates/versioning.html

-66
This file was deleted.

docs/conf.py

+1-30
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,12 @@
4646
"sphinx.ext.napoleon",
4747
"sphinx.ext.mathjax",
4848
"nbsphinx",
49-
"sphinx_multiversion",
5049
]
5150

5251
nbsphinx_execute = "never"
5352

5453
# Add any paths that contain templates here, relative to this directory.
55-
templates_path = ["_templates"]
56-
57-
html_sidebars = {"**": ["searchbox.html", "versioning.html"]}
54+
# templates_path = ["_templates"]
5855

5956
# The suffix(es) of source filenames.
6057
# You can specify multiple suffix as a list of string:
@@ -113,32 +110,6 @@
113110
# so a file named "default.css" will overwrite the builtin "default.css".
114111
html_static_path = ["_static"]
115112

116-
# Custom sidebar templates, must be a dictionary that maps document names
117-
# to template names.
118-
#
119-
# The default sidebars (for documents that don't match any pattern) are
120-
# defined by theme itself. Builtin themes are using these templates by
121-
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
122-
# 'searchbox.html']``.
123-
#
124-
# html_sidebars = {}
125-
126-
# Whitelist pattern for remotes (set to None to use local branches only)
127-
smv_remote_whitelist = r"^origin$"
128-
129-
# Whitelist pattern for branches (set to None to ignore all branches)
130-
smv_branch_whitelist = r"^main$"
131-
132-
# Tags are released
133-
smv_released_pattern = r"^refs/tags/.*$"
134-
135-
# Tags like 0.0.1, 0.5.1 are kept
136-
# smv_tag_whitelist = r'^\d+\.\d+\.\d+S'
137-
138-
# sphinx-multiversion options
139-
smv_rebuild_tags = False
140-
smv_tag_whitelist = r"^\d+\.\d+.\d+$"
141-
142113
# -- Options for HTMLHelp output ---------------------------------------------
143114

144115
# Output file base name for HTML help builder.

docs/index.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ Installation
2828

2929
.. code-block:: bash
3030
31-
pip install git+https://github.com/pymc-devs/pymc_experimental.git
32-
31+
pip install git+https://github.com/pymc-devs/pymc-experimental.git
3332
3433
Contributing
3534
============

requirements-dev.txt

-4
This file was deleted.

requirements-docs.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nbsphinx>=0.4.2
2+
pydata-sphinx-theme>=0.6.3
3+
sphinx>=4

0 commit comments

Comments
 (0)