|
31 | 31 | extensions = [ |
32 | 32 | 'sphinx.ext.autodoc', |
33 | 33 | 'sphinx.ext.githubpages', |
| 34 | + 'sphinx.ext.intersphinx', |
34 | 35 | 'sphinx.ext.napoleon', |
| 36 | + 'sphinx_issues', |
35 | 37 | ] |
36 | 38 |
|
37 | 39 | # Add any paths that contain templates here, relative to this directory. |
|
48 | 50 | # The theme to use for HTML and HTML Help pages. See the documentation for |
49 | 51 | # a list of builtin themes. |
50 | 52 | # |
51 | | -html_theme = 'alabaster' |
| 53 | +html_theme = 'sphinx_material' |
52 | 54 |
|
53 | 55 | # Add any paths that contain custom static files (such as style sheets) here, |
54 | 56 | # relative to this directory. They are copied after the builtin static files, |
55 | 57 | # so a file named "default.css" will overwrite the builtin "default.css". |
56 | 58 | html_static_path = ['_static'] |
57 | 59 |
|
| 60 | +# html_theme_options = { |
| 61 | +# 'description': "Python binding to poppler-cpp library, to read and render PDF documents.", |
| 62 | +# 'github_button': True, |
| 63 | +# 'github_user': 'cbrunet', |
| 64 | +# 'github_repo': 'python-poppler', |
| 65 | +# 'badge_branch': 'master', |
| 66 | +# 'extra_nav_links': { |
| 67 | +# "GitHub": "https://github.com/cbrunet/python-poppler", |
| 68 | +# "Issues tracker": "https://github.com/cbrunet/python-poppler/issues", |
| 69 | +# "PyPI": "https://pypi.org/project/python-poppler/", |
| 70 | +# } |
| 71 | +# } |
| 72 | + |
58 | 73 | html_theme_options = { |
59 | | - 'description': "Python binding to poppler-cpp library, to read and render PDF documents.", |
60 | | - 'github_button': True, |
61 | | - 'github_user': 'cbrunet', |
62 | | - 'github_repo': 'python-poppler', |
63 | | - 'badge_branch': 'master', |
64 | | - 'extra_nav_links': { |
65 | | - "GitHub": "https://github.com/cbrunet/python-poppler", |
66 | | - "Issues tracker": "https://github.com/cbrunet/python-poppler/issues", |
67 | | - "PyPI": "https://pypi.org/project/python-poppler/", |
68 | | - } |
| 74 | + 'nav_title': "Python poppler", |
| 75 | + 'logo_icon': "📗", |
| 76 | + 'base_url': "https://cbrunet.github.io/python-poppler", |
| 77 | + 'repo_url': "https://github.com/cbrunet/python-poppler", |
| 78 | + 'repo_name': "python-poppler", |
| 79 | + |
| 80 | + 'globaltoc_depth': 2, |
| 81 | + 'globaltoc_collapse': False, |
| 82 | + 'globaltoc_includehidden': True, |
| 83 | + |
| 84 | + 'nav_links': [ |
| 85 | + {'title': "Issues tracker", 'href': "https://github.com/cbrunet/python-poppler/issues", 'internal': False}, |
| 86 | + {'title': "PyPI", 'href': "https://pypi.org/project/python-poppler/", 'internal': False}, |
| 87 | + ], |
| 88 | + |
| 89 | +} |
| 90 | + |
| 91 | +html_sidebars = { |
| 92 | + "**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"] |
69 | 93 | } |
| 94 | + |
| 95 | + |
| 96 | +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
| 97 | + |
| 98 | + |
| 99 | +issues_github_path = "cbrunet/python-poppler" |
0 commit comments