Skip to content

Commit 3354104

Browse files
authored
Maintainance PR feat: fixed the pydata-sphinx-theme version dependency (#471)
* feat: fixed the pydata-sphinx-theme version dependency * ix: language render and annotations
1 parent b207402 commit 3354104

File tree

4 files changed

+74
-12
lines changed

4 files changed

+74
-12
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Sphinx==8.0.2
2-
ablog==0.11.10
3-
pydata-sphinx-theme==0.9.0
2+
ablog==0.11.11
3+
pydata-sphinx-theme==0.15.4
44
myst-parser==4.0.0
55
sphinx_design==0.6.1
66
sphinx_copybutton==0.5.2

source/_static/data.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[
2+
{
3+
"name": "English",
4+
"version": "en",
5+
"url": ""
6+
},
7+
{
8+
"name": "bn",
9+
"version": "bn",
10+
"url": "bn/"
11+
},
12+
{
13+
"name": "cs",
14+
"version": "cs",
15+
"url": "cs/"
16+
},
17+
{
18+
"name": "Deutsch",
19+
"version": "de",
20+
"url": "de/"
21+
},
22+
{
23+
"name": "Español",
24+
"version": "es",
25+
"url": "es/"
26+
},
27+
{
28+
"name": "Français",
29+
"version": "fr",
30+
"url": "fr/"
31+
},
32+
{
33+
"name": "ja",
34+
"version": "ja",
35+
"url": "ja/"
36+
},
37+
{
38+
"name": "Nederlands",
39+
"version": "nl",
40+
"url": "nl/"
41+
},
42+
{
43+
"name": "pl",
44+
"version": "pl",
45+
"url": "pl/"
46+
},
47+
{
48+
"name": "Português",
49+
"version": "pt",
50+
"url": "pt/"
51+
},
52+
{
53+
"name": "Русский",
54+
"version": "ru",
55+
"url": "ru/"
56+
},
57+
{
58+
"name": "简体中文",
59+
"version": "zh_CN",
60+
"url": "zh_CN/"
61+
}
62+
]

source/community/history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ and allow for easier community collaboration.
7474

7575
Find out more about Modern Fortran for Visual Studio Code on
7676
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran)
77-
and on [GitHub](httos://github.com/fortran-lang/vscode-fortran-support).
77+
and on [GitHub](https://github.com/fortran-lang/vscode-fortran-support).
7878

7979
### fortls
8080

source/conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@
141141
"show_prev_next": False,
142142
"show_nav_level": 1,
143143
"show_toc_level": 0,
144-
"footer_items": ["copyright"],
144+
"footer_end": ["copyright"],
145145
"navbar_align": "right",
146146
"navbar_start": ["navbar-logo","theme-switcher.html","version-switcher"],
147147
"switcher": {
148-
"json_url":"https://fortran-lang.org/",
148+
"json_url": "_static/data.json", # shifted to custom local switcher
149149
"version_match": language,
150150
},
151-
"page_sidebar_items": ["inpage_toc.html"],
151+
"primary_sidebar_end": ["inpage_toc.html"],
152152
"navbar_end": ["navbar-icon-links", "search-field.html"],
153153
"search_bar_text": "Search",
154154
"icon_links": [
@@ -177,14 +177,14 @@
177177

178178
html_sidebars = {
179179
"news": [
180-
"tagcloud.html",
181-
"archives.html",
182-
"recentposts.html",
180+
"ablog/tagcloud.html",
181+
"ablog/archives.html",
182+
"ablog/recentposts.html",
183183
],
184184
"news/**": [
185-
"postcard.html",
186-
"recentposts.html",
187-
"archives.html",
185+
"ablog/postcard.html",
186+
"ablog/recentposts.html",
187+
"ablog/archives.html",
188188
],
189189
"learn/**": ["sidebar-nav-bs.html"],
190190
"learn": [],

0 commit comments

Comments
 (0)