-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-org project with https://github.com/sphinx-notes/template
- Loading branch information
1 parent
5a841a5
commit ff37a26
Showing
43 changed files
with
526 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"template": "https://github.com/sphinx-notes/template", | ||
"commit": "202f9756fdd661ab195d20bb6926a9481ee1d78a", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"namespace": "sphinxnotes", | ||
"name": "snippet", | ||
"full_name": "sphinxnotes-snippet", | ||
"author": "Sphinx documentation snippets manager", | ||
"description": "Sphinx documentation snippets manager", | ||
"version": "1.0", | ||
"github_owner": "sphinx-notes", | ||
"github_repo": "snippet", | ||
"pypi_name": "sphinxnotes-snippet", | ||
"pypi_owner": "SilverRainZ", | ||
"dependencies": [ | ||
"Sphinx >= 4" | ||
], | ||
"additional_docs": [], | ||
"_template": "https://github.com/sphinx-notes/template" | ||
} | ||
}, | ||
"directory": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file is generated from sphinx-notes/template. | ||
# You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
|
||
include LICENSE | ||
include README.rst | ||
|
||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
LANG=en_US.UTF-8 | ||
# This file is generated from sphinx-notes/template. | ||
# You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
|
||
LANG = en_US.UTF-8 | ||
|
||
MAKE = make | ||
PY = python3 | ||
RM = rm -rf | ||
|
||
.PHONY: docs | ||
docs: | ||
$(RM) docs/_build | ||
$(MAKE) -C docs/ | ||
|
||
.PHONY: dist | ||
dist: setup.py | ||
$(RM) dist/ build/ *.egg-info/ | ||
$(PY) setup.py sdist bdist_wheel | ||
$(PY) -m twine check dist/* | ||
.PHONY: test | ||
test: | ||
$(PY) -m unittest discover -s tests -v | ||
|
||
.PHONY: upload | ||
upload: dist/ | ||
$(PY) -m twine upload --repository pypi $<* | ||
.PHONY: dist | ||
dist: pyproject.toml | ||
$(RM) dist/ # clean up old dist | ||
$(PY) -m build | ||
|
||
.PHONY: install | ||
install: dist | ||
$(PY) -m pip install --user --no-deps --force-reinstall dist/*.whl | ||
|
||
.PHONY: test | ||
test: | ||
$(PY) -m unittest -v | ||
.PHONY: upload | ||
upload: dist | ||
$(PY) -m twine upload --repository pypi $</* | ||
|
||
.PHONY: test-upload | ||
test-upload: dist | ||
$(PY) -m twine upload --repository testpypi $</* | ||
|
||
cli: | ||
$(PY) ./utils/cli.py --config utils/conf.py $(args) | ||
.PHONY: update-template | ||
update-template: | ||
$(PY) -m cruft update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
.. This file is generated from sphinx-notes/template. | ||
You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
=================== | ||
sphinxnotes-snippet | ||
=================== | ||
|
||
Please refer to https://sphinx-notes.github.io/snippet/ for documentation. | ||
.. image:: https://img.shields.io/github/actions/workflow/status/sphinx-notes/snippet/pages.yml | ||
:target: https://sphinx.silverrainz.me/snippet | ||
:alt: Documentation Status | ||
|
||
.. image:: https://img.shields.io/github/license/sphinx-notes/snippet | ||
:target: https://github.com/sphinx-notes/snippet/LICENSE | ||
:alt: Open Source License | ||
|
||
.. image:: https://img.shields.io/pypi/v/sphinxnotes-snippet.svg | ||
:target: https://pypi.python.org/pypi/sphinxnotes-snippet | ||
:alt: PyPI Package | ||
|
||
.. image:: https://img.shields.io/pypi/dw/sphinxnotes-snippet | ||
:target: https://pypi.python.org/pypi/sphinxnotes-snippet | ||
:alt: PyPI Package Downloads | ||
|
||
Sphinx documentation snippets manager. | ||
|
||
* Documentation: https://sphinx.silverrainz.me/snippet | ||
* Source: https://github.com/sphinx-notes/snippet | ||
* Changelog: https://sphinx.silverrainz.me/snippet/changelog.html | ||
* Tracker: https://github.com/sphinx-notes/snippet/issues | ||
* Download: https://pypi.org/project/sphinxnotes-snippet/#files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. list-table:: | ||
:align: left | ||
|
||
* - :ref:`📅 {{ date }} <any-version.date>` | ||
- :tag:`{{ title }}` | ||
|
||
|
||
{% for line in content %} | ||
{{ line }} | ||
{% endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. This file is generated from sphinx-notes/template. | ||
You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
========== | ||
Change Log | ||
========== | ||
|
||
.. Example: | ||
1.0.0 | ||
===== | ||
.. version:: _ | ||
:date: yyyy-mm-dd | ||
Change log here. | ||
Version 1.x | ||
=========== | ||
|
||
.. version:: 1.0 | ||
:date: 2021-09-09 | ||
|
||
The first stable version is out, enjoy~ | ||
|
||
Pre-release 1.x | ||
=============== | ||
|
||
.. version:: 1.0b7 | ||
:date: 2021-08-14 | ||
|
||
- snippet: Add support for section | ||
- integration: Drop snippet view support | ||
- Complete document | ||
|
||
|
||
.. version:: 1.0b2 | ||
:date: 2021-03-20 | ||
|
||
- Improve keywords extraction | ||
- Speed up snippet dumping | ||
- Code clean up | ||
|
||
.. version:: 1.0b1 | ||
:date: 2021-02-28 | ||
|
||
- Refactor!!! | ||
- Rename from sphinxnotes-khufu | ||
|
||
.. version:: 1.0a1 | ||
:date: 2021-02-01 | ||
|
||
- Dont evaluate typing annoations on runtime | ||
- Speed up snippet cache | ||
- Speed up title path resolving | ||
- Better tokenizer | ||
- A lot of bug fixes | ||
- Add config khufu_snippet_patterns | ||
|
||
.. version:: 1.0a0 | ||
:date: 2021-01-29 | ||
|
||
The alpha version is out, enjoy~ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.