|
45 | 45 | 'sphinx.ext.graphviz', |
46 | 46 | 'sphinx_copybutton', |
47 | 47 | 'sphinx-prompt', |
48 | | - 'sphinx_rtd_theme', |
49 | 48 | 'IPython.sphinxext.ipython_console_highlighting', |
50 | 49 | 'sphinx.ext.githubpages'] |
51 | 50 |
|
|
72 | 71 |
|
73 | 72 | # General information about the project. |
74 | 73 | project = 'pyro' |
75 | | -copyright = '2023, pyro development team' |
| 74 | +copyright = '2024, pyro development team' |
76 | 75 | author = 'pyro development team' |
77 | 76 |
|
78 | 77 | html_logo = "logo.gif" |
| 78 | +html_title = "pyro" |
79 | 79 |
|
80 | 80 | # The version info for the project you're documenting, acts as replacement for |
81 | 81 | # |version| and |release|, also used in various other places throughout the |
|
110 | 110 | # The theme to use for HTML and HTML Help pages. See the documentation for |
111 | 111 | # a list of builtin themes. |
112 | 112 | # |
113 | | -html_theme = 'sphinx_rtd_theme' |
| 113 | +html_theme = 'sphinx_book_theme' |
114 | 114 |
|
115 | 115 | # Theme options are theme-specific and customize the look and feel of a theme |
116 | 116 | # further. For a list of options available for each theme, see the |
117 | 117 | # documentation. |
118 | 118 | # |
119 | | -# html_theme_options = {} |
| 119 | +html_theme_options = { |
| 120 | + "repository_url": "https://github.com/python-hydro/pyro2", |
| 121 | + "use_repository_button": True, |
| 122 | + "use_issues_button": True, |
| 123 | + "use_edit_page_button": True, |
| 124 | + "use_source_button": True, |
| 125 | + "repository_branch": "main", |
| 126 | + "path_to_docs": "docs/source" |
| 127 | +} |
120 | 128 |
|
121 | 129 | # Add any paths that contain custom static files (such as style sheets) here, |
122 | 130 | # relative to this directory. They are copied after the builtin static files, |
123 | 131 | # so a file named "default.css" will overwrite the builtin "default.css". |
124 | 132 | html_static_path = ['_static'] |
125 | 133 |
|
126 | | -html_css_files = ["theme_overrides.css"] |
| 134 | +html_css_files = ["myfile.css"] |
127 | 135 |
|
128 | 136 | # Custom sidebar templates, must be a dictionary that maps document names |
129 | 137 | # to template names. |
130 | 138 | # |
131 | 139 | # This is required for the alabaster theme |
132 | 140 | # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars |
133 | | -html_sidebars = { |
134 | | - '**': [ |
135 | | - 'relations.html', # needs 'show_related': True theme option to display |
136 | | - 'searchbox.html', |
137 | | - ] |
138 | | -} |
| 141 | +#html_sidebars = { |
| 142 | +# '**': [ |
| 143 | +# 'relations.html', # needs 'show_related': True theme option to display |
| 144 | +# 'searchbox.html', |
| 145 | +# ] |
| 146 | +#} |
139 | 147 |
|
140 | 148 | linkcheck_ignore = [r"https://ascelibrary.org", |
141 | 149 | r"https://doi.org/10.1061/(ASCE)0733-9429(1999)125:11(1210)", |
|
0 commit comments