OSDN Git Service

guide: Remove sphinx-bootstrap-theme dependency
authorAkihiro Motoki <amotoki@gmail.com>
Mon, 29 Mar 2021 15:38:06 +0000 (00:38 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Mon, 29 Mar 2021 15:38:06 +0000 (00:38 +0900)
guide/conf.py
guide/document_help.rst
guide/requirements.txt

index 7e431fa..4cc874f 100644 (file)
@@ -15,8 +15,6 @@
 import sys
 import os
 
-import sphinx_bootstrap_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
 # documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -113,29 +111,14 @@ todo_include_todos = False
 # a list of builtin themes.
 html_theme = 'nature'
 # html_theme = 'pyramid'
-# html_theme = 'bootstrap'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
 # documentation.
 #html_theme_options = {}
-if html_theme == 'bootstrap':
-    html_theme_options = {
-        'bootswatch_theme': 'cosmo',
-        'navbar_site_name': '目次',
-        'navbar_pagenav_name': 'ページ',
-        'navbar_links': [
-            (u'JM トップへ', 'http://linuxjm.osdn.jp/', 1),
-        ],
-        'navbar_sidebarrel': False,
-        'globaltoc_depth': -1,
-    }
-else:
-    html_theme_options = {}
 
 # Add any paths that contain custom themes here, relative to this directory.
 #html_theme_path = []
-html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
index bcdf670..ba32804 100644 (file)
@@ -24,15 +24,14 @@ build 環境の準備
 
    $ pip install -r requirements.txt
 
-上記のコマンドを有効にすると、
-``sphinx`` と ``sphinx-bootstrap-theme`` がインストールされます。
+上記のコマンドを実行すると、 ``sphinx`` とがインストールされます。
 
 build 方法
 ----------
 
 .. code-block:: console
 
-   $ cd <JM_GIT_REPO_TOP>/guide
+   $ cd guide
    $ make html
 
 作成されたドキュメントを破棄して作り直すには以下のようにします。
index 0050279..2806c16 100644 (file)
@@ -1,2 +1 @@
 Sphinx
-sphinx-bootstrap-theme