20f7933f8219e37345209a0cdf99230d8db366c1,docs/conf.py,,,#,197

Before Change


// so we have to modify the default filters
from jinja2.defaults import DEFAULT_FILTERS

DEFAULT_FILTERS["modpath"] = modpath

After Change




project_dir = Path(__file__).parent.parent  // project/docs/conf.py/../.. → project/
github_url = "https://github.com/{github_user}/{github_repo}/tree/{github_version}".format_map(html_context)
def modurl(qualname):
    Get the full GitHub URL for some object’s qualname
    obj, module = get_obj_module(qualname)
    path = Path(module.__file__).relative_to(project_dir)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: theislab/scanpy
Commit Name: 20f7933f8219e37345209a0cdf99230d8db366c1
Time: 2017-08-29
Author: flying-sheep@web.de
File Name: docs/conf.py
Class Name:
Method Name:


Project Name: theislab/scanpy
Commit Name: ce74ace9ba95278719943786b17914a7a5531bae
Time: 2018-02-08
Author: f.alex.wolf@gmx.de
File Name: docs/conf.py
Class Name:
Method Name:


Project Name: theislab/scanpy
Commit Name: a60f5d3e68267fcbe6858c03403d57950e30909e
Time: 2018-05-31
Author: f.alex.wolf@gmx.de
File Name: docs/conf.py
Class Name:
Method Name: