[Koha-bugs] [Bug 29712] [DOCS] [Omnibus] Content development guide

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 30 14:58:49 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29712

--- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
I did some tests with directives and "admonitions" (this sounds so bad... like
we did something wrong but anyway, it's what it's called).


This is what the code looks like

Tests for version notes

.. Admonition:: Version note

   This feature|button|option appears in version 23.05

.. Warning:: 

   This feature|button|option was removed in version 23.05  

.. Warning::

   This feature|button|option is deprecated as of version 23.05.
   Use :ref:`YXZ <administration-label>` instead.

.. Admonition:: Version note

   This feature|button|option was removed in version 23.05

.. Admonition:: Version note

   This feature|button|option was moved to :ref:`wherever
<administration-label>` in version 23.05


And this is what it looks like once generated https://snipboard.io/fw3eX0.jpg 

I added some css to custom.css to change the colour if the title of the
admonition is "Version note"

.rst-content .admonition-version-note {
  background: #dffcd7;
  }

.rst-content .admonition-version-note .admonition-title {
  background: #4a9b32;
  }

This is the result https://snipboard.io/THSpGn.jpg

Open to comments/suggestions
- Is "Version note" ok as a title?
- Do we prefer the green box or do we keep the blue (same as the Notes)
- Anything else?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list