diff --git a/hpvm/docs/conf.py b/hpvm/docs/conf.py index fc50b689c7e6e996d2653f973c44573e49d8bc0b..0bea2f5e53065f02ae2bface0c70f030968b87f9 100644 --- a/hpvm/docs/conf.py +++ b/hpvm/docs/conf.py @@ -1,5 +1,4 @@ from datetime import date -import sphinx_rtd_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -71,25 +70,20 @@ add_module_names = False pygments_style = "sphinx" # A list of prefixs that are ignored when creating the module index. (new in Sphinx 0.6) -# modindex_common_prefix = ["networkx."] +# modindex_common_prefix = [] -# doctest_global_setup = "import networkx as nx" +# doctest_global_setup = "" # Options for HTML output # ----------------------- - -html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] - +html_theme = "pydata_sphinx_theme" html_theme_options = { - "canonical_url": "https://networkx.org/documentation/stable/", - "navigation_depth": 3, - "logo_only": True, + "github_url": "https://gitlab.engr.illinois.edu/llvm/hpvm-beta", + "show_prev_next": False, + "search_bar_position": "sidebar", } -# html_logo = "_static/networkx_logo.svg" - # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths # given in html_static_path. @@ -149,8 +143,3 @@ intersphinx_mapping = { default_role = "obj" numpydoc_show_class_members = False - - -def setup(app): - app.add_css_file("custom.css") - app.add_js_file("copybutton.js") diff --git a/hpvm/docs/requirements.txt b/hpvm/docs/requirements.txt index 3226d75e97cdc8caf52fb4d524b615bd3441c618..44ae898e556b962b21a21eb074e6948ae2916b9c 100644 --- a/hpvm/docs/requirements.txt +++ b/hpvm/docs/requirements.txt @@ -1,4 +1,4 @@ sphinx>=3.5 sphinx-autodoc-typehints>=1.11 -sphinx-rtd-theme>=0.5 +pydata-sphinx-theme==0.5.2 numpydoc>=1.1 \ No newline at end of file