jobextra/libcamera/libcamera-0.0.5-sphinx.patch

14 lines
570 B
Diff

diff --git a/Documentation/theme/layout.html b/Documentation/theme/layout.html
index fcc6d221..339aacd6 100644
--- a/Documentation/theme/layout.html
+++ b/Documentation/theme/layout.html
@@ -35,7 +35,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
{# RTD hosts this file, so just load on non RTD builds #}
{% if not READTHEDOCS %}
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
+ <link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" type="text/css" />
{% endif %}
{% for cssfile in css_files %}