Skip to content

Commit d6e38c3

Browse files
adamgayosoJonathanShor
authored andcommitted
make readthedocs pass (#126)
Hotfix to autoupdate https://doubletdetection.readthedocs.io/en/latest/index.html
1 parent 95b2db1 commit d6e38c3

File tree

4 files changed

+29
-14
lines changed

4 files changed

+29
-14
lines changed

docs/conf.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,46 @@
1212
#
1313
import os
1414
import sys
15-
sys.path.insert(0, os.path.abspath('..'))
1615

16+
sys.path.insert(0, os.path.abspath(".."))
17+
sys.path.append(os.path.dirname(__file__))
1718

1819
# -- Project information -----------------------------------------------------
1920

20-
project = 'DoubletDetection'
21-
copyright = '2019, Adam Gayoso and Jonathan Shor'
22-
author = 'Adam Gayoso and Jonathan Shor'
21+
project = "DoubletDetection"
22+
copyright = "2019, Adam Gayoso and Jonathan Shor"
23+
author = "Adam Gayoso and Jonathan Shor"
2324

2425
# The full version, including alpha/beta/rc tags
25-
release = '2.4.0'
26+
release = "2.5.0"
2627

2728

2829
# -- General configuration ---------------------------------------------------
2930

3031
# Add any Sphinx extension module names here, as strings. They can be
3132
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3233
# ones.
33-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', 'm2r']
34+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.napoleon", "m2r"]
3435

3536
# Add any paths that contain templates here, relative to this directory.
36-
templates_path = ['_templates']
37+
templates_path = ["_templates"]
3738

3839
# List of patterns, relative to source directory, that match files and
3940
# directories to ignore when looking for source files.
4041
# This pattern also affects html_static_path and html_extra_path.
41-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
42+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
4243

4344

4445
# -- Options for HTML output -------------------------------------------------
4546

4647
# The theme to use for HTML and HTML Help pages. See the documentation for
4748
# a list of builtin themes.
4849
#
49-
html_theme = 'sphinx_rtd_theme'
50+
html_theme = "sphinx_rtd_theme"
5051

5152
# Add any paths that contain custom static files (such as style sheets) here,
5253
# relative to this directory. They are copied after the builtin static files,
5354
# so a file named "default.css" will overwrite the builtin "default.css".
54-
html_static_path = ['_static']
55+
html_static_path = ["_static"]
56+
57+
master_doc = "index"

docs/readthedocs.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/requirements.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
m2r
2+
matplotlib
3+
numpy
4+
pandas
5+
scipy
6+
sklearn
7+
tables
8+
git+https://github.com/JonathanShor/PhenoGraph
9+
umap-learn
10+
scanpy

readthedocs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build:
2+
image: latest
3+
python:
4+
version: 3.7
5+
install:
6+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)