Skip to content

2024.08.30

Compare
Choose a tag to compare
@xames3 xames3 released this 30 Aug 22:18
· 54 commits to main since this release

Coeus Sphinx Theme v2024.08.30 Release Notes

Added Features

  1. YouTube Video Title Fetching:
    Automatically fetch the YouTube video title using the pytube module.

  2. Custom YouTube Video Title:
    Support for adding a custom title to YouTube videos using the title option.

  3. Bootstrap-native Image Carousels:
    Integrated support for image carousels using extensions like sphinx_carousel.

  4. Enhanced Contributors Directive:
    Added options for location, reading time, and document language in the contributors directive.

  5. New Headshots Directive:
    Introduced a headshots directive allowing authors and contributors to add personal information, including photos and affiliations.

  6. Social Media Integration:
    Automatically list author-provided socials via the html_coeus_socials option.

  7. Custom Stylize Role:
    Added support for a custom Sphinx stylize role.

Changes

  1. Extension Renaming:

    • The embed_youtube extension is now youtube_video.
    • The documentation_hero extension is now title_hero.
    • The contributor_hero extension is now contributors.
    • The top_ribbon extension is now announcement.
  2. Glossary Table Update:
    The glossary_table extension now considers term as content starting with *, rather than content ending with ::. Other functionality remains unchanged.

  3. Refactoring and Code Improvements:

    • Extensions have been refactored to minimize code duplication.
    • Docstrings now better justify the code they represent, improving overall extension management.
  4. Template Usage:
    Extensions now use a Jinja2 template instead of Jinja2 string rendering, facilitating future enhancements.

  5. Conformance to Mypy Restrictions:
    The ClassVar update now adheres to mypy restrictions.

  6. Footer Copyrights:
    Proper display of copyrights in the website's footer.

Deprecations

  1. Deprecated YouTube Video Directive Options:
    The controls, modestbranding, color, width, and height options for the youtube_video directive are deprecated pending further exploration.

  2. Deprecated Social Media Option:
    The html_coeus_twitter option is deprecated in favor of the html_coeus_socials option.

  3. Deprecated Module Collection:
    The use of the modules collection is deprecated in favor of directives import.

  4. Deprecated Glossary Table Directive:
    The glossary_table directive is deprecated in favor of Sphinx's glossary directive, improving support for the term cross-reference role.