Skip to content

Commit

Permalink
Defer loading of custom.js (#631)
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)
  - H. Thomson Comer (https://github.com/thomcom)

URL: #631
  • Loading branch information
galipremsagar authored Aug 4, 2022
1 parent 8506063 commit 66fdf18
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 @@ -197,4 +197,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 66fdf18

Please sign in to comment.