Skip to content

Commit

Permalink
Use common code in python docs and defer js loading (rapidsai#4852)
Browse files Browse the repository at this point in the history
This PR makes a switch to utilizing common `js` & `css` code and defer's loading of custom js.

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

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

URL: rapidsai#4852
  • Loading branch information
galipremsagar authored Aug 4, 2022
1 parent 51ba59a commit 34cebef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
9 changes: 0 additions & 9 deletions docs/source/_static/params.css

This file was deleted.

9 changes: 5 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,11 @@


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


# The following is used by sphinx.ext.linkcode to provide links to github
Expand Down

0 comments on commit 34cebef

Please sign in to comment.