Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,23 @@
"index": [],
"sections/**": ["sbar-aiida", "sidebar-nav-bs"],
"news/index": [
"recentposts",
"tagcloud",
"categories",
"archives",
"ablog/recentposts.html",
"ablog/tagcloud.html",
"ablog/categories.html",
"ablog/archives.html",
],
"news/index/**": [
"recentposts",
"tagcloud",
"categories",
"archives",
"ablog/recentposts.html",
"ablog/tagcloud.html",
"ablog/categories.html",
"ablog/archives.html",
],
"news/posts/*": [
"postcard",
"recentposts",
"tagcloud",
"categories",
"archives",
"ablog/postcard.html",
"ablog/recentposts.html",
"ablog/tagcloud.html",
"ablog/categories.html",
"ablog/archives.html",
],
}

Expand Down
6 changes: 5 additions & 1 deletion docs/extensions/check_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ def check_events(app: Sphinx, env: BuildEnvironment):
for post in posts:
if post["docname"] in env.config.aiida_ignore_event_checks:
continue
category: set[str] = post["category"]
# Handle both list (ablog 0.11+) and set (ablog 0.10) formats
category_raw = post["category"]
category: set[str] = (
set(category_raw) if isinstance(category_raw, list) else category_raw
)
if not category.intersection(
("Reports", "News", "Events", "Releases", "Blog")
):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ setuptools<70
sphinx~=8.0.0
myst-parser~=4.0.0
pydata-sphinx-theme~=0.15.4
ablog~=0.10.25
ablog~=0.11.0
sphinx-design~=0.6.1
sphinx_subfigure~=0.2.4
sphinx-notfound-page~=1.0.4
Expand Down
Loading