Skip to content

Commit

Permalink
Defer loading of custom.js (#383)
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: #383
  • Loading branch information
galipremsagar authored Aug 4, 2022
1 parent 39f7c01 commit ff7b27b
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 @@ -190,4 +190,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 ff7b27b

Please sign in to comment.