Docs: Add button to report python API documentation issue
Adds a button similar to the user manual at the bottom of each page. This is done to give people a place to report issues other than the documentation repository which should be limited to the user manual. With this change also comes a new issue template with helpful text and a redirect for people looking to submit an issue with Blender. I would also like to add a Documentation label too but that requires configuring with the Gitea project. Pull Request: https://projects.blender.org/blender/blender/pulls/115865
This commit is contained in:
committed by
Aaron Carlisle
parent
71f6228876
commit
ee57ad334e
14
doc/python_api/templates/footer.html
Normal file
14
doc/python_api/templates/footer.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{# For the "Report Issue" button on the bottom of pages. #}
|
||||
{%- extends "!footer.html" %}
|
||||
{%- block extrafooter %}
|
||||
{%- if not pagename in ("search", "404", "genindex") and hasdoc(pagename) %}
|
||||
<div class="footer-contribute">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://projects.blender.org/blender/blender/issues/new?template=.gitea/issue_template/api_docs.yaml&field:body=%2A%2APage+Information%2A%2A%0D%0AFile%3A+%60{{ pagename }}{{ page_source_suffix }}%60%0D%0ABlender+Version%3A+%60{{ version }}%60%0D%0A%5BPermanent+Link%5D%28https%3A%2F%2Fdocs.blender.org%2Fapi%2F{{ version }}%2F{{ pagename }}{{ file_suffix }}%29%0D%0A%0D%0A%2A%2AShort+description+of+error%2A%2A%0D%0A%5BPlease+fill+out+a+short+description+of+the+error+here%5D%0D%0A"
|
||||
class="fa fa-bug"> {{ _('Report issue on this page') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user