diff --git a/docs/conf.py b/docs/conf.py index e4087b8..6a3f472 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,17 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "sphinx_rtd_theme" +html_theme = "sphinx_book_theme" + +html_theme_options = { + "repository_url": "https://github.com/SystemRDL/PeakRDL-regblock", + "path_to_docs": "docs", + "use_download_button": False, + "use_source_button": True, + "use_repository_button": True, + "use_issues_button": True, +} + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/docs/requirements.txt b/docs/requirements.txt index 616ede7..d37f57f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ pygments-systemrdl sphinxcontrib-wavedrom -sphinx-rtd-theme +sphinx-book-theme