Skip to content

Commit

Permalink
Defer loading of custom.js (#114)
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)

URL: #114
  • Loading branch information
galipremsagar authored Aug 4, 2022
1 parent 70b5e0f commit 4a69471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@

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")

0 comments on commit 4a69471

Please sign in to comment.