Skip to content

Commit 1a37b5d

Browse files
committed
Fix RST badge rendering: disable override_image_directive
Set override_image_directive=False in sphinxcontrib-images config to preserve standard RST image directive :target: option support. This fixes badge substitutions in docs/index.rst that require the :target: option for clickable badge links. Note: This work was completed with AI assistance (Claude Code).
1 parent 2481b73 commit 1a37b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def use_aio():
175175

176176
# -- sphinxcontrib-images Configuration --------------------------------------
177177
images_config = {
178-
"override_image_directive": True,
178+
"override_image_directive": False,
179179
"default_image_width": "80%",
180180
}
181181

0 commit comments

Comments
 (0)