jbms / sphinx-immaterial

Adaptation of the popular mkdocs-material material design theme to the sphinx documentation system
https://jbms.github.io/sphinx-immaterial/
Other
195 stars 31 forks source link

support admonition options in version directives (follow-up to #246) #253

Closed 2bndy5 closed 1 year ago

2bndy5 commented 1 year ago

The version directives now support admonition options including collapsible, class, and name.

Note title and no-title options are not supported because

  1. the default title cannot be changed
  2. the directives arguments (both required and optional) are used in the title

The custom admonitions feature's classes option is now also respected when set in conf.py.