Skip to content

add Adobe Analytics; upgrade Sphinx and docs environment #1403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 14, 2020
2 changes: 2 additions & 0 deletions doc/_static/js/analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log("Starting analytics...");
var s_code=s.t();if(s_code)document.write(s_code)
5 changes: 4 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,12 @@ def __getattr__(cls, name):

html_theme = "sphinx_rtd_theme"

html_static_path = []
html_static_path = ["_static"]

htmlhelp_basename = "%sdoc" % project

html_js_files = ["https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js", "js/analytics.js"]

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}

Expand Down
4 changes: 2 additions & 2 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx==1.7.9
sphinx==2.2.2
numpy
scipy
requests==2.20
requests==2.20