diff --git a/docs/source/_static/params.css b/docs/source/_static/params.css deleted file mode 100644 index 249b79c7..00000000 --- a/docs/source/_static/params.css +++ /dev/null @@ -1,52 +0,0 @@ -/* Mirrors the change in: - * https://github.com/sphinx-doc/sphinx/pull/5976 - * which is not showing up in our theme. - */ -.classifier:before { - font-style: normal; - margin: 0.5em; - content: ":"; -} - -/* Fix for text wrap in sphinx tables: - * https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html - */ -@media screen and (min-width: 767px) { - .wy-table-responsive table td { - /* !important prevents the common CSS stylesheets from overriding - this as on RTD they are loaded after this stylesheet */ - white-space: normal !important; - } - - .wy-table-responsive { - overflow: visible !important; - } -} - -table.io-supported-types-table { - text-align: center; -} - -table.io-supported-types-table thead { - text-align: center !important; -} - -:root { - --pst-color-active-navigation: 114, 83, 237; - --pst-color-navbar-link: 77, 77, 77; - --pst-color-navbar-link-hover: var(--pst-color-active-navigation); - --pst-color-navbar-link-active: var(--pst-color-active-navigation); - --pst-color-sidebar-link: 77, 77, 77; - --pst-color-sidebar-link-hover: var(--pst-color-active-navigation); - --pst-color-sidebar-link-active: var(--pst-color-active-navigation); - --pst-color-sidebar-expander-background-hover: 244, 244, 244; - --pst-color-sidebar-caption: 77, 77, 77; - --pst-color-toc-link: 119, 117, 122; - --pst-color-toc-link-hover: var(--pst-color-active-navigation); - --pst-color-toc-link-active: var(--pst-color-active-navigation); -} - -.special-table td, -.special-table th { - border: 1px solid #dee2e6; -} diff --git a/docs/source/conf.py b/docs/source/conf.py index ffba51d2..70ef75a1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Copyright (c) 2018, NVIDIA CORPORATION. +# Copyright (c) 2018-2022, NVIDIA CORPORATION. # # pygdf documentation build configuration file, created by # sphinx-quickstart on Wed May 3 10:59:22 2017. @@ -187,4 +187,5 @@ def setup(app): - app.add_css_file('params.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")