Skip to content

Commit

Permalink
Adjust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Sep 5, 2024
1 parent 696707f commit 3d92098
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/static/overlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ Custom formatting for actions
vertical-align: super !important;
}

.action-argument-additional-details {
font-size: 95% !important;
font-weight: 580 !important;
}

/*
Formatting for generated tables
*/
Expand Down
1 change: 1 addition & 0 deletions linodecli/documentation/templates/_roles.rst.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.. role:: action-table-field-required
.. role:: action-table-field-type
.. role:: action-table-field-example
.. role:: action-argument-additional-details

.. role:: json(code)
:language: JSON
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% for arg in section.entries %}
{% set description = arg.description if arg.description else "N/A" %}
{% if arg.additional_details | length > 0 %}
{% set description = "%s **(%s)**" | format(description, arg.additional_details | join(", ")) %}
{% set description = ":action-argument-additional-details:`(%s)` %s" | format(arg.additional_details | join(", "), description) %}
{% endif %}
{%
do rows.append(
Expand Down

0 comments on commit 3d92098

Please sign in to comment.