From d7112be05635d4beee50da7e7795e465446c6cb0 Mon Sep 17 00:00:00 2001 From: "yingda.chen" Date: Wed, 15 Jun 2022 14:07:57 +0800 Subject: [PATCH] [to #42510875]use sphinx book theme Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9042850 --- docs/source/conf.py | 2 +- requirements/docs.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 2c2a0017..50ac2fa0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -76,7 +76,7 @@ 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_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme_options = {} diff --git a/requirements/docs.txt b/requirements/docs.txt index 25373976..2436f5af 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,6 +1,7 @@ docutils==0.16.0 recommonmark sphinx==4.0.2 +sphinx-book-theme sphinx-copybutton sphinx_markdown_tables sphinx_rtd_theme==0.5.2