Skip to content

Commit 16abae1

Browse files
committed
chore: Sync with template
1 parent aad4a95 commit 16abae1

File tree

16 files changed

+97
-48
lines changed

16 files changed

+97
-48
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sphinx-notes/cookiecutter",
3-
"commit": "93c85ed7fe6dc87e11ffd024b762a3c8c9a83a1b",
3+
"commit": "0b7d8aa478b37114cef369a217bd1d463e369d37",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is generated from sphinx-notes/template.
1+
# This file is generated from sphinx-notes/cookiecutter.
22
# You need to consider modifying the TEMPLATE or modifying THIS FILE.
33

44
include LICENSE

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is generated from sphinx-notes/template.
1+
# This file is generated from sphinx-notes/cookiecutter.
22
# You need to consider modifying the TEMPLATE or modifying THIS FILE.
33

44
LANG = en_US.UTF-8
@@ -46,7 +46,7 @@ upload-test: dist
4646
$(PY) -m twine upload --repository testpypi $</*
4747

4848
# Keep up to date with the latest template.
49-
# See also https://github.com/sphinx-notes/template.
49+
# See also https://github.com/sphinx-notes/cookiecutter.
5050
.PHONY: update-template
5151
update-template:
5252
$(PY) -m cruft update

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. This file is generated from sphinx-notes/template.
1+
.. This file is generated from sphinx-notes/cookiecutter.
22
You need to consider modifying the TEMPLATE or modifying THIS FILE.
33
44
===============
@@ -17,7 +17,7 @@ sphinxnotes-any
1717
:target: https://pypi.python.org/pypi/sphinxnotes-any
1818
:alt: PyPI Package
1919

20-
.. image:: https://img.shields.io/pypi/dw/sphinxnotes-any
20+
.. image:: https://img.shields.io/pypi/dm/sphinxnotes-any
2121
:target: https://pypi.python.org/pypi/sphinxnotes-any
2222
:alt: PyPI Package Downloads
2323

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is generated from sphinx-notes/template.
1+
# This file is generated from sphinx-notes/cookiecutter.
22
# You need to consider modifying the TEMPLATE or modifying THIS FILE.
33

44
# Minimal makefile for Sphinx documentation

docs/_images/.gitkeep

Whitespace-only changes.

docs/_schemas/confval.py

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

docs/_templates/confval.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
:Type: :py:class:`{{ type }}`
3+
:Default: ``{{ default }}``
4+
{% if choice %}:Choices: {% for c in choice %}``{{ c }}`` {% endfor %}{% endif %}
5+
{% if versionadded %}:Version added: :version:`{{ versionadded }}`{% endif %}
6+
{% if versionchanged %}:Version changed:{% for i in range(0, versionchanged|count -1, 2) %}
7+
:version:`{{ versionchanged[i] }}`
8+
{{ versionchanged[i+1] }}{% endfor %}{% endif %}
9+
10+
{{ content }}
11+

docs/_templates/example.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
{% if style is not defined or style == 'tab' %}
3+
.. tab-set::
4+
5+
.. tab-item:: Result
6+
7+
{% for line in content %}{{ line }}
8+
{% endfor %}
9+
10+
.. tab-item:: reStructuredText
11+
12+
.. code:: rst
13+
14+
{% for line in content %}{{ line }}
15+
{% endfor %}
16+
{% elif style == 'grid' %}
17+
.. grid:: 2
18+
19+
.. grid-item-card:: reStructuredText
20+
21+
.. code:: rst
22+
23+
{% for line in content %}{{ line }}
24+
{% endfor %}
25+
26+
.. grid-item-card:: Result
27+
28+
{% for line in content %}{{ line }}
29+
{% endfor %}
30+
{% endif %}
31+

0 commit comments

Comments
 (0)