File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/mkdocstrings_handlers/shell/templates/material/_base Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3131# # In this example, we define a `drop` alias that allows us to actually
3232# # run `drag` then `drop` (instead of `drag --drop`).
3333
34+ # # \exit 1 No arguments provided.
35+
3436if [ $# -eq 0 ]; then
3537 shellman " $0 "
3638 exit 1
Original file line number Diff line number Diff line change 88 {% endfor %}
99{% endmacro %}
1010
11- {% macro render_name_desc_tag (tag ) %}
11+ {% macro render_name_desc_tag (tag , name = "name" ) %}
1212 <ul >
1313 {% for occurrence in tag %}
1414 <li >
15- <em >< code >{{ occurrence. name }}</code ></ em >:
15+ <code >{{ occurrence|attr( name) }}</code >:
1616 <div class =" doc doc-md-description" >
1717 {{ occurrence.description | convert_markdown(heading_level, html_id=filename) }}
1818 </div >
7373
7474{% if script .exit %}
7575 <strong >Exit Status</strong >
76- {{ render_name_desc_tag(script.exit) }}
76+ {{ render_name_desc_tag(script.exit, name="code" ) }}
7777{% endif %}
7878
7979{% if script .stdin %}
You can’t perform that action at this time.
0 commit comments