mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 01:55:39 +00:00
Documentation integration (#4653)
* Add documentation under docs/ directory * Add CI workflow for mkdocs configuration checking * Add documentation issue template * update pip-tools? * Update .gitignore files * Fix .gitignore rules * Improve release notes page * remove references to old repo
This commit is contained in:
1
docs/_includes/overrides/partials/outdated.html
Normal file
1
docs/_includes/overrides/partials/outdated.html
Normal file
@ -0,0 +1 @@
|
||||
<!-- Empty "outdated" warning, we will handle this in 'banner.html' -->
|
15
docs/_includes/overrides/partials/version_banner.html
Normal file
15
docs/_includes/overrides/partials/version_banner.html
Normal file
@ -0,0 +1,15 @@
|
||||
{% if config.version_banner %}
|
||||
<div class='alert alert-warning alert-dismissable alert-version' role='alert'>
|
||||
<div class='md-grid md-typeset'>
|
||||
<small>
|
||||
{% if config.readthedocs.version == 'latest' %}
|
||||
This documentation is for the <em>development</em> version of InvenTree, which may be significantly different from the stable releases.
|
||||
{% else %}
|
||||
This documentation is for an outdated version of InvenTree.
|
||||
{% endif %}
|
||||
For <em>stable</em> release documentation, use the version selector located in the bottom right corner of this page.
|
||||
</small>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
Reference in New Issue
Block a user