//
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
// print(sys.path)
// -- General configuration ------------------------------------------------
After Change
//
import os
import sys
root_dir = os.path.abspath(os.path.join(os.path.dirname(
__file__), "..", ".."))
sys.path.insert(0, root_dir)
// print(sys.path)
// -- General configuration ------------------------------------------------
// If your documentation needs a minimal Sphinx version, state it here.
//
// needs_sphinx = "1.0"
// 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.autosummary",
"sphinx.ext.napoleon",
"sphinx.ext.doctest",
"sphinx.ext.coverage",
"sphinx.ext.viewcode"]
// Add any paths that contain templates here, relative to this directory.
templates_path = ["ytemplates"]
// The suffix(es) of source filenames.
// You can specify multiple suffix as a list of string:
//
// source_suffix = [".rst", ".md"]
source_suffix = ".rst"
// The master toctree document.
master_doc = "index"
// General information about the project.
project = "PHATE"
copyright = "2017 Krishnaswamy Lab, Yale University"
author = "Daniel Burkhardt, Krishnaswamy Lab, Yale University"
// The version info for the project you"re documenting, acts as replacement for
// |version| and |release|, also used in various other places throughout the
// built documents.
version_py = os.path.join(root_dir, "phate", "version.py")
// The full version, including alpha/beta/rc tags.
release = open(version_py).read().strip().split(
"=")[-1].replace(""", "").strip()
// The short X.Y version.