|
49 | 49 | } |
50 | 50 |
|
51 | 51 | numpydoc_show_class_members = False |
52 | | -automodapi_inheritance_diagram = False |
| 52 | +automodapi_inheritance_diagram = True |
| 53 | +inheritance_graph_attrs = {"rankdir": "TR"} |
53 | 54 |
|
54 | 55 | intersphinx_mapping = { |
55 | 56 | "python": ("https://docs.python.org/3/", None), |
|
60 | 61 | } |
61 | 62 |
|
62 | 63 | nitpicky = True |
63 | | -# Can't work out how to link this properley using intersphinx and the PyQT6 docs. |
| 64 | +# Can't work out how to link this properly using intersphinx and the PyQT6 docs. |
64 | 65 | # TODO: fix at some point |
65 | 66 | nitpick_ignore = [ |
66 | | - ("py:class", "PyQt6.QtWidgets.QWidget"), |
67 | 67 | ("py:class", "PyQt5.QtWidgets.QWidget"), |
| 68 | + ("py:class", "PyQt5.QtCore.QObject"), |
| 69 | + ("py:class", "PyQt5.QtGui.QPaintDevice"), |
| 70 | + ("py:class", "sip.simplewrapper"), |
| 71 | + ("py:class", "sip.wrapper"), |
68 | 72 | ] |
69 | 73 |
|
70 | 74 | # Add any paths that contain templates here, relative to this directory. |
|
88 | 92 | # relative to this directory. They are copied after the builtin static files, |
89 | 93 | # so a file named "default.css" will overwrite the builtin "default.css". |
90 | 94 | # html_static_path = ['_static'] |
| 95 | + |
| 96 | +html_theme_options = { |
| 97 | + "icon_links": [ |
| 98 | + { |
| 99 | + "name": "GitHub", |
| 100 | + "url": "https://github.com/matplotlib/napari-matplotlib", |
| 101 | + "icon": "fa-brands fa-square-github", |
| 102 | + "type": "fontawesome", |
| 103 | + } |
| 104 | + ], |
| 105 | + "logo": { |
| 106 | + "text": "napari-matplotlib", |
| 107 | + }, |
| 108 | +} |
0 commit comments