We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d9ba43 + 616d7fc commit d9b2c93Copy full SHA for d9b2c93
docs/_static/survey_banner.js
@@ -0,0 +1,9 @@
1
+window.onload = function() {
2
+ var elem = document.createElement('div');
3
+ var body = document.getElementsByClassName("rst-content")[0]
4
+ var doc = document.getElementsByClassName("document")[0]
5
+ elem.className = "admonition important"
6
+ elem.id = "pulp-survey-banner"
7
+ elem.innerHTML = "<p>Please take our <a href=\"https://forms.gle/C3QwT9SVncXETipu9\">survey</a> to help us improve Pulp!</p>";
8
+ body.insertBefore(elem, doc)
9
+}
docs/conf.py
@@ -147,6 +147,7 @@
147
148
html_static_path = ['_static']
149
150
+html_js_files = ['survey_banner.js']
151
152
# If false, no module index is generated.
153
#html_domain_indices = True
0 commit comments