File: sphinx-default-theme

package info (click to toggle)
python-authlib 0.15.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,408 kB
  • sloc: python: 18,626; makefile: 47; javascript: 37; sh: 10
file content (58 lines) | stat: -rw-r--r-- 1,649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From: Stefano Rivera <stefanor@debian.org>
Date: Tue, 18 Aug 2020 17:35:53 -0700
Subject: Use the default theme

sphinx_typlog_theme isn't packaged in Debian, yet.

Forwarded: not-needed
---
 docs/conf.py | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 70cd76f..c70b16f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -3,7 +3,7 @@ import sys
 sys.path.insert(0, os.path.abspath('..'))
 
 import authlib
-import sphinx_typlog_theme
+#import sphinx_typlog_theme
 
 extensions = ['sphinx.ext.autodoc']
 templates_path = ['_templates']
@@ -39,9 +39,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 
-html_theme = 'sphinx_typlog_theme'
+#html_theme = 'sphinx_typlog_theme'
 html_favicon = '_static/favicon.ico'
-html_theme_path = [sphinx_typlog_theme.get_path()]
+#html_theme_path = [sphinx_typlog_theme.get_path()]
 html_theme_options = {
     'logo': 'authlib.svg',
     'color': '#3E7FCB',
@@ -82,9 +82,9 @@ if '.dev' in release:
     )
     html_theme_options['warning'] = version_warning
 
-html_sidebars = {
-    '**': _sidebar_templates
-}
+#html_sidebars = {
+#    '**': _sidebar_templates
+#}
 
 # -- Options for HTMLHelp output ------------------------------------------
 
@@ -134,5 +134,6 @@ html_js_files = [
 
 
 def setup(app):
-    sphinx_typlog_theme.add_badge_roles(app)
-    sphinx_typlog_theme.add_github_roles(app, 'lepture/authlib')
+    #sphinx_typlog_theme.add_badge_roles(app)
+    #sphinx_typlog_theme.add_github_roles(app, 'lepture/authlib')
+    pass