8cb2e0b035cfec167c3df45a89dc80f31751f821,doc/conf.py,,,#,22

Before Change


// If extensions (or modules to document with autodoc) are in another directory,
// add these directories to sys.path here. If the directory is relative to the
// documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.pardir))


// on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
// https://docs.readthedocs.io/en/latest/faq.html?highlight=environ//how-do-i-change-behavior-for-read-the-docs

After Change


// If extensions (or modules to document with autodoc) are in another directory,
// add these directories to sys.path here. If the directory is relative to the
// documentation root, use os.path.abspath to make it absolute, like shown here.
if on_rtd:
    sys.path.insert(0, os.path.abspath(os.path.pardir))


// -- General configuration ------------------------------------------------

// If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = "1.3"

// Add any Sphinx extension module names here, as strings. They can be
// extensions coming with Sphinx (named "sphinx.ext.*") or your custom
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: sebp/scikit-survival
Commit Name: 8cb2e0b035cfec167c3df45a89dc80f31751f821
Time: 2018-11-24
Author: sebp@k-d-w.org
File Name: doc/conf.py
Class Name:
Method Name:


Project Name: cve-search/cve-search
Commit Name: 558206137b653aaed73e9ed7efd1e0576d3141bb
Time: 2015-04-10
Author: pieterjan.moreels@gmail.com
File Name: sbin/db_mgmt_cpe_other_dictionary.py
Class Name:
Method Name:


Project Name: nilmtk/nilmtk
Commit Name: d00cd6a0ad24f794396f19169d88a81c02bbbdf9
Time: 2014-01-17
Author: jack-list@xlk.org.uk
File Name: nilmtk/dataset/redd.py
Class Name:
Method Name: load_chan