Skip to content

Commit

Permalink
Defer loading of custom.js (#2506)
Browse files Browse the repository at this point in the history
This PR switches the loading of `custom.js` to defer because we will need the entire page to be loading until the methods in this script can even execute correctly.

xref: rapidsai/cudf#11465

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #2506
  • Loading branch information
galipremsagar authored Aug 4, 2022
1 parent e70fc6f commit f8e4aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cugraph/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@

def setup(app):
app.add_css_file("https://docs.rapids.ai/assets/css/custom.css")
app.add_js_file("https://docs.rapids.ai/assets/js/custom.js")
app.add_js_file("https://docs.rapids.ai/assets/js/custom.js", loading_method="defer")
app.add_css_file("references.css")


Expand Down

0 comments on commit f8e4aaa

Please sign in to comment.