This file is indexed.

/usr/share/python-ase/doc/ext.py is in python-ase-doc 3.9.1.4567-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from ase.utils.sphinx import mol_role
from ase.utils.sphinx import svn_role_tmpl, trac_role_tmpl, epydoc_role_tmpl
from ase.utils.sphinx import create_png_files


def svn_role(role, rawtext, text, lineno, inliner, options={}, content=[]):
    return svn_role_tmpl('http://svn.fysik.dtu.dk/projects/'
                         'ase/trunk/',
                         role,
                         rawtext, text, lineno, inliner, options, content)


def trac_role(role, rawtext, text, lineno, inliner, options={}, content=[]):
    return trac_role_tmpl('http://trac.fysik.dtu.dk/projects/'
                          'ase/browser/trunk/',
                          role,
                          rawtext, text, lineno, inliner, options, content)


def epydoc_role(role, rawtext, text, lineno, inliner, options={}, content=[]):
    return epydoc_role_tmpl('ase', 'http://wiki.fysik.dtu.dk/ase/epydoc/',
                            role,
                            rawtext, text, lineno, inliner, options, content)


def setup(app):
    app.add_role('mol', mol_role)
    app.add_role('svn', svn_role)
    app.add_role('trac', trac_role)
    app.add_role('epydoc', epydoc_role)
    #import atexit
    #atexit.register(fix_sidebar)
    create_png_files()