/usr/share/python-ase/doc/ext.py is in python-ase-doc 3.12.0-2.
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 | from ase.utils.sphinx import mol_role, git_role_tmpl, create_png_files
def git_role(role, rawtext, text, lineno, inliner, options={}, content=[]):
return git_role_tmpl('https://gitlab.com/ase/ase/blob/master/',
role,
rawtext, text, lineno, inliner, options, content)
def setup(app):
app.add_role('mol', mol_role)
app.add_role('git', git_role)
create_png_files()
|