sphinxext-bsb 6.0.0a18__py3-none-any.whl → 6.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sphinxext-bsb might be problematic. Click here for more details.

sphinxext/bsb/project.py CHANGED
@@ -65,10 +65,32 @@ class Project:
65
65
 
66
66
  @property
67
67
  def html_theme_options(self):
68
+ with open(self.html_favicon) as f:
69
+ favicon = "\n".join(f.readlines()[2:])
68
70
  return {
69
71
  "light_logo": "bsb.svg",
70
72
  "dark_logo": "bsb_dark.svg",
71
73
  "sidebar_hide_name": True,
74
+ "footer_icons": [
75
+ {
76
+ "name": "GitHub",
77
+ "url": "https://github.com/dbbs-lab/bsb",
78
+ "html": """
79
+ <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16">
80
+ <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
81
+ </svg>
82
+ """, # noqa: E501
83
+ "class": "",
84
+ },
85
+ {
86
+ "name": "Main BSB documentation",
87
+ "url": "https://bsb.readthedocs.io/en/latest/index.html",
88
+ "html": f"""
89
+ {favicon}
90
+ """,
91
+ "class": "",
92
+ },
93
+ ],
72
94
  }
73
95
 
74
96
  @property
@@ -1,15 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sphinxext-bsb
3
- Version: 6.0.0a18
3
+ Version: 6.0.2
4
4
  Summary: BSB Sphinx documentation extension
5
5
  Requires-Python: >=3.10,<4
6
6
  Description-Content-Type: text/markdown
7
7
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
8
8
  License-File: LICENSE
9
- Requires-Dist: bsb-core==6.0.0-a18
9
+ Requires-Dist: bsb-core~=6.0
10
10
  Requires-Dist: sphinx>=8.1
11
11
  Requires-Dist: sphinx-design~=0.6
12
12
 
13
+ [![Build Status](https://github.com/dbbs-lab/bsb/actions/workflows/main.yml/badge.svg)](https://github.com/dbbs-lab/bsb/actions/workflows/main.yml)
13
14
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
14
15
 
15
16
  # sphinxext-bsb
@@ -0,0 +1,6 @@
1
+ sphinxext/bsb/__init__.py,sha256=ffT_qS3a1KoFpabtqX0T-L1q4tI95tKP2NAcz54ND1o,13050
2
+ sphinxext/bsb/project.py,sha256=0h0VZ8xRmgI46V1yRByWAmpk9yj8NEdQX6Gzs4NNrWk,4421
3
+ sphinxext_bsb-6.0.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
4
+ sphinxext_bsb-6.0.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
5
+ sphinxext_bsb-6.0.2.dist-info/METADATA,sha256=P0IKKuyqDApgSZcC_PpkpPKgKMq30ePCIWJ42_vanD4,736
6
+ sphinxext_bsb-6.0.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- sphinxext/bsb/__init__.py,sha256=ffT_qS3a1KoFpabtqX0T-L1q4tI95tKP2NAcz54ND1o,13050
2
- sphinxext/bsb/project.py,sha256=-uwzHOt6mSRH7sG-jYBuUXtSzYW3qxk7aCdhOzRp8BE,2970
3
- sphinxext_bsb-6.0.0a18.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
4
- sphinxext_bsb-6.0.0a18.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
5
- sphinxext_bsb-6.0.0a18.dist-info/METADATA,sha256=EAQ3ddEUMqxkPMSMJmomosqMnS_ZBnFmzPdl27ssyoI,597
6
- sphinxext_bsb-6.0.0a18.dist-info/RECORD,,