File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
template/[% if docs_type == 'sphinx' %]docs[% endif %] Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 8383# so a file named "default.css" will overwrite the builtin "default.css".
8484# html_static_path = ["_static"]
8585
86- html_favicon = 'https://img.shields.io/badge/SS -blue'
86+ html_favicon = 'https://img.shields.io/badge/SSC -blue'
8787
8888html_css_files = [
8989 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/fontawesome.min.css" ,
Original file line number Diff line number Diff line change 1+ [% macro first_letters(string) -%]
2+ [%- set words = string.replace("-", " ").replace(".", " ").split(' ') -%]
3+ [%- set initials = words|map('first')|join() -%]
4+ {{ initials|upper }}
5+ [%- endmacro %]
Original file line number Diff line number Diff line change 11[%- from pathjoin("includes", "variable.jinja") import repo_url with context -%]
2+ [%- from pathjoin("includes", "utilities.jinja") import first_letters with context -%]
23# Configuration file for the Sphinx documentation builder.
34#
45# This file only contains a selection of the most common options. For a full
@@ -86,7 +87,7 @@ html_theme = "furo"
8687# so a file named "default.css" will overwrite the builtin "default.css".
8788# html_static_path = ["_static"]
8889
89- html_favicon = 'https://img.shields.io/badge/SS -blue'
90+ html_favicon = 'https://img.shields.io/badge/{{ first_letters(project_name) }} -blue'
9091
9192html_css_files = [
9293 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/fontawesome.min.css",
You can’t perform that action at this time.
0 commit comments