File tree Expand file tree Collapse file tree 3 files changed +28
-9
lines changed
src/mkdocstrings_handlers/python/templates/material Expand file tree Collapse file tree 3 files changed +28
-9
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,19 @@ Context:
2121 <ul class =" doc doc-backlink-list" >
2222 {% for backlink in backlink_list | sort (attribute ="crumbs" ) %}
2323 <li class =" doc doc-backlink" >
24- {% for crumb in backlink .crumbs | reverse %}
25- {% if crumb .url %}
26- <a class =" doc doc-backlink-crumb" href =" {{ crumb.url }}" >{{ crumb.title | safe }}</a >
27- {% else %}
28- <span class =" doc doc-backlink-crumb" >{{ crumb.title | safe }}</span >
29- {% endif %}
30- {% if not loop .last %}
24+ {% for crumb in backlink .crumbs %}
25+ <span class =" doc doc-backlink-crumb" >
26+ {% if crumb .url %}
27+ <a href =" {{ crumb.url }}" >{{ crumb.title | safe }}</a >
28+ {% else %}
29+ <span >{{ crumb.title | safe }}</span >
30+ {% endif %}
31+ </span >
32+ {# {% if not loop.last %}
3133 <span class="twemoji">
3234 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>
3335 </span>
34- {% endif %}
36+ {% endif %} #}
3537 {% endfor %}
3638 </li >
3739 {% endfor %}
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ Context:
7979 {% block list_style scoped %}
8080 {#- Block for the `list` section style. -#}
8181 <p ><span class =" doc-section-title" >{{ section.title or lang.t("Parameters:") }}</span ></p >
82- <ul >
82+ <ul style = " list-style-type : none ; " >
8383 {% for parameter in section .value %}
8484 <li class =" doc-section-item field-body" >
8585 {% if config .parameter_headings %}
Original file line number Diff line number Diff line change 4141 font-weight : bold;
4242}
4343
44+ /* Backlinks crumb separator. */
45+ .doc-backlink-crumb : not (: first-child ) {
46+ display : inline-flex;
47+ gap : .2rem ;
48+ white-space : nowrap;
49+ }
50+ .doc-backlink-crumb : not (: first-child )::before {
51+ background-color : var (--md-default-fg-color--lighter );
52+ content : "" ;
53+ display : inline;
54+ height : 1rem ;
55+ -webkit-mask-image : var (--md-path-icon );
56+ mask-image : var (--md-path-icon );
57+ width : 1rem ;
58+ font-size : 1rem ;
59+ }
60+
4461/* Symbols in Navigation and ToC. */
4562: root , : host ,
4663[data-md-color-scheme = "default" ] {
You can’t perform that action at this time.
0 commit comments