Skip to content

Commit ce83c14

Browse files
author
pubudu
committed
update conf
1 parent eb0e038 commit ce83c14

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

content/conf.py

+5-14
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,8 @@
9696
"conf_py_path": conf_py_path,
9797
}
9898

99-
# Intersphinx mapping. For example, with this you can use
100-
# :py:mod:`multiprocessing` to link straight to the Python docs of that module.
101-
# List all available references:
102-
# python -msphinx.ext.intersphinx https://docs.python.org/3/objects.inv
103-
# extensions.append('sphinx.ext.intersphinx')
104-
# intersphinx_mapping = {
105-
# #'python': ('https://docs.python.org/3', None),
106-
# #'sphinx': ('https://www.sphinx-doc.org/', None),
107-
# #'numpy': ('https://numpy.org/doc/stable/', None),
108-
# #'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
109-
# #'pandas': ('https://pandas.pydata.org/docs/', None),
110-
# #'matplotlib': ('https://matplotlib.org/', None),
111-
# 'seaborn': ('https://seaborn.pydata.org/', None),
112-
# }
99+
import os
100+
if os.environ.get('GITHUB_REF', '') == 'refs/heads/'+github_version:
101+
html_js_files = [
102+
('https://plausible.cs.aalto.fi/js/script.js', {"data-domain": "coderefinery.github.io", "defer": "defer"}),
103+
]

0 commit comments

Comments
 (0)