2024.08.30
Coeus Sphinx Theme v2024.08.30 Release Notes
Added Features
-
YouTube Video Title Fetching:
Automatically fetch the YouTube video title using thepytube
module. -
Custom YouTube Video Title:
Support for adding a custom title to YouTube videos using thetitle
option. -
Bootstrap-native Image Carousels:
Integrated support for image carousels using extensions likesphinx_carousel
. -
Enhanced Contributors Directive:
Added options for location, reading time, and document language in thecontributors
directive. -
New Headshots Directive:
Introduced aheadshots
directive allowing authors and contributors to add personal information, including photos and affiliations. -
Social Media Integration:
Automatically list author-provided socials via thehtml_coeus_socials
option. -
Custom Stylize Role:
Added support for a custom Sphinxstylize
role.
Changes
-
Extension Renaming:
- The
embed_youtube
extension is nowyoutube_video
. - The
documentation_hero
extension is nowtitle_hero
. - The
contributor_hero
extension is nowcontributors
. - The
top_ribbon
extension is nowannouncement
.
- The
-
Glossary Table Update:
Theglossary_table
extension now considersterm
as content starting with*
, rather than content ending with::
. Other functionality remains unchanged. -
Refactoring and Code Improvements:
- Extensions have been refactored to minimize code duplication.
- Docstrings now better justify the code they represent, improving overall extension management.
-
Template Usage:
Extensions now use aJinja2
template instead ofJinja2
string rendering, facilitating future enhancements. -
Conformance to Mypy Restrictions:
TheClassVar
update now adheres tomypy
restrictions. -
Footer Copyrights:
Proper display of copyrights in the website's footer.
Deprecations
-
Deprecated YouTube Video Directive Options:
Thecontrols
,modestbranding
,color
,width
, andheight
options for theyoutube_video
directive are deprecated pending further exploration. -
Deprecated Social Media Option:
Thehtml_coeus_twitter
option is deprecated in favor of thehtml_coeus_socials
option. -
Deprecated Module Collection:
The use of themodules
collection is deprecated in favor ofdirectives
import. -
Deprecated Glossary Table Directive:
Theglossary_table
directive is deprecated in favor of Sphinx'sglossary
directive, improving support for theterm
cross-reference role.