This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new cbcd077  Fix styles tag in layout.html
cbcd077 is described below

commit cbcd0779975de1b71d62d02cac62cb3fb78e2ced
Author: Piotr Narajowski <[email protected]>
AuthorDate: Thu May 8 16:54:59 2025 +0200

    Fix styles tag in layout.html
    
    This change is required to upgrade Sphinx to 8. version
    Deprecated tag caused an error when runninng build.py
---
 docs/themes/mynewt/layout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/themes/mynewt/layout.html b/docs/themes/mynewt/layout.html
index 8d9c50b..c094999 100644
--- a/docs/themes/mynewt/layout.html
+++ b/docs/themes/mynewt/layout.html
@@ -35,7 +35,7 @@
 
     {# CSS #}
 
-    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" 
type="text/css" />
+    <link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" 
type="text/css" />
 
     {% for cssfile in css_files %}
       <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />

Reply via email to