Skip to content

Commit

Permalink
make readthedocs pass (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso authored and JonathanShor committed Jul 12, 2019
1 parent 95b2db1 commit d6e38c3
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 14 deletions.
23 changes: 13 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,46 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('..'))

sys.path.insert(0, os.path.abspath(".."))
sys.path.append(os.path.dirname(__file__))

# -- Project information -----------------------------------------------------

project = 'DoubletDetection'
copyright = '2019, Adam Gayoso and Jonathan Shor'
author = 'Adam Gayoso and Jonathan Shor'
project = "DoubletDetection"
copyright = "2019, Adam Gayoso and Jonathan Shor"
author = "Adam Gayoso and Jonathan Shor"

# The full version, including alpha/beta/rc tags
release = '2.4.0'
release = "2.5.0"


# -- General configuration ---------------------------------------------------

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

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

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


# -- Options for HTML output -------------------------------------------------

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

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]

master_doc = "index"
4 changes: 0 additions & 4 deletions docs/readthedocs.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
m2r
matplotlib
numpy
pandas
scipy
sklearn
tables
git+https://github.com/JonathanShor/PhenoGraph
umap-learn
scanpy
6 changes: 6 additions & 0 deletions readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build:
image: latest
python:
version: 3.7
install:
- requirements: docs/requirements.txt

0 comments on commit d6e38c3

Please sign in to comment.