File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
docs/templates/python/material Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22
33{% block heading scoped %}
44 {% block source_link scoped %}
5- {% if config .link_source and attribute .source_link %}
5+ {% if config .extra . link_source and attribute .source_link %}
66 <span style =" float :right ;font-size :.8rem ;font-weight :400 " ><a href =" {{ attribute.source_link }}" >[source]</a ></span >
77 {% endif %}
88 {% endblock source_link %}
Original file line number Diff line number Diff line change 22
33{% block heading scoped %}
44 {% block source_link scoped %}
5- {% if config .link_source and class .source_link %}
5+ {% if config .extra . link_source and class .source_link %}
66 <span style =" float :right ;font-size :.8rem ;font-weight :400 " ><a href =" {{ class.source_link }}" >[source]</a ></span >
77 {% endif %}
88 {% endblock source_link %}
Original file line number Diff line number Diff line change 22
33{% block heading scoped %}
44 {% block source_link scoped %}
5- {% if config .link_source and function .source_link %}
5+ {% if config .extra . link_source and function .source_link %}
66 <span style =" float :right ;font-size :.8rem ;font-weight :400 " ><a href =" {{ function.source_link }}" >[source]</a ></span >
77 {% endif %}
88 {% endblock source_link %}
Original file line number Diff line number Diff line change 22
33{% block heading scoped %}
44 {% block source_link scoped %}
5- {% if config .link_source and module .source_link %}
5+ {% if config .extra . link_source and module .source_link %}
66 <span style =" float :right ;font-size :.8rem ;font-weight :400 " ><a href =" {{ module.source_link }}" >[source]</a ></span >
77 {% endif %}
88 {% endblock source_link %}
Original file line number Diff line number Diff line change @@ -346,9 +346,10 @@ plugins:
346346 show_symbol_type_heading : true
347347 show_symbol_type_toc : true
348348 show_source : false
349- link_source : true
350349 docstring_section_style : spacy
351350 annotations_path : source
351+ extra :
352+ link_source : true
352353 inventories :
353354 - https://docs.python.org/3/objects.inv
354355 - https://pandas.pydata.org/docs/objects.inv
You can’t perform that action at this time.
0 commit comments