Skip to content

Commit 58e3e55

Browse files
committed
added small bit of documentation
1 parent a2b264b commit 58e3e55

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

book/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ html:
1212
favicon : "figures/ewatercycle_logo.png" # Replace this with your own favicon
1313
baseurl : "https://www.ewatercycle.org/getting-started" # Replace this with your own URL
1414
extra_js:
15-
- _static/custom_launch_button.js
15+
- _static/custom_launch_button.js # Adds the custom launch button to the page, so this is needed plus the custom js file, that's it.
1616

1717
sphinx: # Options passed on to the underlying sphinx-parser
1818
config:

book/_static/custom_launch_button.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This code is used to make the launch button on top of the webpage
2+
13
window.addEventListener("DOMContentLoaded", () => {
24
// Create the modal HTML
35
const modalHTML = `

0 commit comments

Comments
 (0)