|
20 | 20 |
|
21 | 21 | project = "python-ffmpegio" |
22 | 22 | copyright = ( |
23 | | - "2021-2022, Takeshi (Kesh) Ikuma, Louisiana State University Health Sciences Center" |
| 23 | + "2021-2026, Takeshi (Kesh) Ikuma, Louisiana State University Health Sciences Center" |
24 | 24 | ) |
25 | 25 | author = "Takeshi (Kesh) Ikuma" |
26 | 26 | release = ffmpegio.__version__ |
|
36 | 36 | "sphinx.ext.intersphinx", |
37 | 37 | "sphinx.ext.autosummary", |
38 | 38 | "sphinx.ext.todo", |
39 | | - "sphinxcontrib.blockdiag", |
40 | | - "sphinxcontrib.repl", |
| 39 | + # "sphinx.ext.graphviz", |
| 40 | + # "sphinxcontrib.repl", |
41 | 41 | "matplotlib.sphinxext.plot_directive", |
42 | 42 | ] |
43 | 43 | # Looks for objects in external projects |
44 | 44 |
|
| 45 | + |
| 46 | +# Autodoc configuration |
| 47 | +autodoc_member_order = "groupwise" |
| 48 | +autodoc_type_aliases = { |
| 49 | + "ArrayLike": "~numpy.typing.ArrayLike", |
| 50 | + "NDArray": "~numpy.typing.NDArray", |
| 51 | + "ff": "ffmpegio", |
| 52 | +} |
| 53 | +autodoc_mock_imports = ["builtins"] |
| 54 | +autodoc_typehints_format = "short" |
| 55 | +# autodoc_class_signature = "separated" |
| 56 | +autodoc_default_options = {"exclude-members": "__new__", "class-doc-from": "init"} |
| 57 | +autodoc_typehints = "description" |
| 58 | + |
| 59 | +overloads_location = "signature" |
| 60 | + |
| 61 | +# Intersphinx configuration |
| 62 | +intersphinx_mapping = { |
| 63 | + "python": ("https://docs.python.org/3", None), |
| 64 | + "numpy": ("https://numpy.org/doc/stable/", None), |
| 65 | + "scipy": ("https://docs.scipy.org/doc/scipy/", None), |
| 66 | + "matplotlib": ("https://matplotlib.org/stable/", None), |
| 67 | + "python": ("https://docs.python.org/3/", None), |
| 68 | +} |
| 69 | + |
45 | 70 | autodoc_typehints = "description" |
46 | 71 | # autodoc_type_aliases = {'AgentAssignment': 'AgentAssignment'} |
47 | 72 |
|
|
53 | 78 | # This pattern also affects html_static_path and html_extra_path. |
54 | 79 | exclude_patterns = [] |
55 | 80 |
|
| 81 | +# The name of the Pygments (syntax highlighting) style to use. |
| 82 | +pygments_style = "sphinx" |
| 83 | + |
| 84 | +copybutton_selector = "div:not(.output_area) > div.highlight > pre" |
| 85 | + |
| 86 | +graphviz_output_format = "svg" |
56 | 87 |
|
57 | 88 | # -- Options for HTML output ------------------------------------------------- |
58 | 89 |
|
59 | 90 | # The theme to use for HTML and HTML Help pages. See the documentation for |
60 | 91 | # a list of builtin themes. |
61 | 92 | # |
62 | | -html_theme = "sphinx_rtd_theme" |
| 93 | +html_theme = "sphinx_book_theme" |
63 | 94 |
|
64 | 95 | # Add any paths that contain custom static files (such as style sheets) here, |
65 | 96 | # relative to this directory. They are copied after the builtin static files, |
66 | 97 | # so a file named "default.css" will overwrite the builtin "default.css". |
67 | 98 | html_static_path = ["_static"] |
68 | 99 |
|
69 | | -# html_sidebars = { |
70 | | -# "**": ["globaltoc.html", "relations.html", "sourcelink.html", "searchbox.html"] |
71 | | -# } |
72 | | - |
73 | | -# Fontpath for blockdiag (truetype font) |
74 | | -blockdiag_fontpath = "_static/ipagp.ttf" |
75 | | -blockdiag_html_image_format = "SVG" |
76 | 100 |
|
77 | | -intersphinx_mapping = { |
78 | | - "numpy": ("https://numpy.org/doc/stable", None), |
| 101 | +# html_logo = "images/logo.png" |
| 102 | +html_theme_options = { |
| 103 | + # "logo": { |
| 104 | + # "image_light": "images/wave-reflection-model-light.png", |
| 105 | + # "image_dark": "images/wave-reflection-model-dark.png", |
| 106 | + # }, |
| 107 | + "path_to_docs": "docs/", |
| 108 | + "repository_url": "https://github.com/tikuma-lsuhsc/pyLeTalker", |
| 109 | + # "repository_branch": branch_or_commit, |
| 110 | + "use_repository_button": True, |
| 111 | + "use_source_button": True, |
| 112 | + "show_toc_level": 2, |
79 | 113 | } |
80 | 114 |
|
81 | 115 | plot_html_show_source_link = False |
|
0 commit comments