wagtail / sphinx-wagtail-theme

Wagtail's documentation theme for Sphinx
https://sphinx-wagtail-theme.readthedocs.io/
MIT License
30 stars 29 forks source link

Toggle to show/hide theme version in docs #290

Closed vsalvino closed 2 weeks ago

vsalvino commented 5 months ago

Sphinx has a built-in config called html_show_sphinx which in nearly all sphinx themes, shows or hides the "Created using Sphinx..." message.

Hooking in to this built-in feature to make it work as expected. Also updated "Customizing" docs respectively.

Reason for this: I was attempting to debug #274 and was gaslighting myself, because the built docs on RTD are NOT using the latest version which has the bug! Having this on our theme docs should help with any future issues.

image