Skip to content

Commit 6dffecd

Browse files
committed
chore: Rename sphinxnotes-snippet to sphinxnotes-fzf
1 parent fe70d41 commit 6dffecd

28 files changed

+45
-45
lines changed

.cruft.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"context": {
66
"cookiecutter": {
77
"namespace": "sphinxnotes",
8-
"name": "snippet",
9-
"full_name": "sphinxnotes-snippet",
8+
"name": "fzf",
9+
"full_name": "sphinxnotes-fzf",
1010
"author": "Shengyu Zhang",
1111
"description": "Sphinx documentation snippets manager",
1212
"version": "1.2",
1313
"github_owner": "sphinx-notes",
14-
"github_repo": "snippet",
15-
"pypi_name": "sphinxnotes-snippet",
14+
"github_repo": "fzf",
15+
"pypi_name": "sphinxnotes-fzf",
1616
"pypi_owner": "SilverRainZ",
1717
"_template": "https://github.com/sphinx-notes/template",
1818
"_commit": "0b096cd7ecff1b28ee8c2887ba3321418be34b9a"

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
environment:
1212
name: pypi
13-
url: https://pypi.org/p/sphinxnotes-snippet
13+
url: https://pypi.org/p/sphinxnotes-fzf
1414
permissions:
1515
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1616
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
- uses: ncipollo/release-action@v1
1616
with:
1717
body: |
18-
Changelog: https://sphinx.silverrainz.me/snippet/changelog.html
18+
Changelog: https://sphinx.silverrainz.me/fzf/changelog.html

README.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
.. This file is generated from sphinx-notes/cookiecutter.
22
You need to consider modifying the TEMPLATE or modifying THIS FILE.
33
4-
===================
5-
sphinxnotes-snippet
6-
===================
4+
===============
5+
sphinxnotes-fzf
6+
===============
77

8-
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/snippet/github-pages
9-
:target: https://sphinx.silverrainz.me/snippet
8+
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/fzf/github-pages
9+
:target: https://sphinx.silverrainz.me/fzf
1010
:alt: Documentation Status
1111

12-
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/snippet
13-
:target: https://github.com/sphinx-notes/snippet/blob/master/LICENSE
12+
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/fzf
13+
:target: https://github.com/sphinx-notes/fzf/blob/master/LICENSE
1414
:alt: Open Source License
1515

16-
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-snippet.svg
17-
:target: https://pypi.python.org/pypi/sphinxnotes-snippet
16+
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-fzf.svg
17+
:target: https://pypi.python.org/pypi/sphinxnotes-fzf
1818
:alt: PyPI Package
1919

20-
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-snippet
21-
:target: https://pypi.python.org/pypi/sphinxnotes-snippet
20+
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-fzf
21+
:target: https://pypi.python.org/pypi/sphinxnotes-fzf
2222
:alt: PyPI Package Downloads
2323

2424
|docs| |license| |pypi| |download|
@@ -32,4 +32,4 @@ Sphinx documentation snippets manager.
3232
3333
Please refer to Documentation_ for more details.
3434

35-
.. _Documentation: https://sphinx.silverrainz.me/snippet
35+
.. _Documentation: https://sphinx.silverrainz.me/fzf

docs/conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# -- Project information -----------------------------------------------------
1414

15-
project = 'sphinxnotes-snippet'
15+
project = 'sphinxnotes-fzf'
1616
author = 'Shengyu Zhang'
1717
copyright = "2023, " + author
1818

@@ -61,24 +61,24 @@
6161
# so a file named "default.css" will overwrite the builtin "default.css".
6262
html_static_path = ['_static']
6363
html_theme_options = {
64-
"source_repository": "https://github.com/sphinx-notes/snippet/",
64+
"source_repository": "https://github.com/sphinx-notes/fzf/",
6565
"source_branch": "master",
6666
"source_directory": "docs/",
6767
}
6868

6969
# The URL which points to the root of the HTML documentation.
7070
# It is used to indicate the location of document like canonical_url
71-
html_baseurl = 'https://sphinx.silverrainz.me/snippet'
71+
html_baseurl = 'https://sphinx.silverrainz.me/fzf'
7272

7373
html_logo = html_favicon = '_static/sphinx-notes.png'
7474

7575
# -- Extensions -------------------------------------------------------------
7676

7777
extensions.append('sphinx.ext.extlinks')
7878
extlinks = {
79-
'issue': ('https://github.com/sphinx-notes/snippet/issues/%s', '💬%s'),
80-
'pull': ('https://github.com/sphinx-notes/snippet/pull/%s', '🚀%s'),
81-
'tag': ('https://github.com/sphinx-notes/snippet/releases/tag/%s', '🏷️%s'),
79+
'issue': ('https://github.com/sphinx-notes/fzf/issues/%s', '💬%s'),
80+
'pull': ('https://github.com/sphinx-notes/fzf/pull/%s', '🚀%s'),
81+
'tag': ('https://github.com/sphinx-notes/fzf/releases/tag/%s', '🏷️%s'),
8282
}
8383

8484
extensions.append('sphinxcontrib.gtagjs')
@@ -109,7 +109,7 @@
109109
# add these directories to sys.path here. If the directory is relative to the
110110
# documentation root, use os.path.abspath to make it absolute, like shown here.
111111
sys.path.insert(0, os.path.abspath('../src/sphinxnotes'))
112-
extensions.append('snippet')
112+
extensions.append('fzf')
113113

114114
# DOG FOOD CONFIGURATION START
115115

docs/index.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
.. This file is generated from sphinx-notes/cookiecutter.
22
You need to consider modifying the TEMPLATE or modifying THIS FILE.
33
4-
===================
5-
sphinxnotes-snippet
6-
===================
4+
===============
5+
sphinxnotes-fzf
6+
===============
77

8-
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/snippet/github-pages?label=docs
9-
:target: https://sphinx.silverrainz.me/snippet
8+
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/fzf/github-pages?label=docs
9+
:target: https://sphinx.silverrainz.me/fzf
1010
:alt: Documentation Status
1111

12-
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/snippet
13-
:target: https://github.com/sphinx-notes/snippet/blob/master/LICENSE
12+
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/fzf
13+
:target: https://github.com/sphinx-notes/fzf/blob/master/LICENSE
1414
:alt: Open Source License
1515

16-
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-snippet.svg
17-
:target: https://pypi.python.org/pypi/sphinxnotes-snippet
16+
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-fzf.svg
17+
:target: https://pypi.python.org/pypi/sphinxnotes-fzf
1818
:alt: PyPI Package
1919

20-
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-snippet
21-
:target: https://pypi.python.org/pypi/sphinxnotes-snippet
20+
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-fzf
21+
:target: https://pypi.python.org/pypi/sphinxnotes-fzf
2222
:alt: PyPI Package Downloads
2323

2424
.. |github| image:: https://img.shields.io/badge/GitHub-181717?style=flat&logo=github&logoColor=white/
25-
:target: https://github.com/sphinx-notes/snippet
25+
:target: https://github.com/sphinx-notes/fzf
2626
:alt: GitHub Repository
2727

2828
|docs| |license| |pypi| |download| |github|
@@ -52,7 +52,7 @@ First, downloading extension from PyPI:
5252

5353
.. code-block:: console
5454
55-
$ pip install sphinxnotes-snippet
55+
$ pip install sphinxnotes-fzf
5656
5757
Then, add the extension name to ``extensions`` configuration item in your
5858
:parsed_literal:`conf.py_`:
@@ -61,7 +61,7 @@ Then, add the extension name to ``extensions`` configuration item in your
6161
6262
extensions = [
6363
#
64-
'sphinxnotes.snippet',
64+
'sphinxnotes.fzf',
6565
#
6666
]
6767

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#declaring-project-metadata
77

88
[project]
9-
name = "sphinxnotes-snippet"
9+
name = "sphinxnotes-fzf"
1010
description = "Sphinx documentation snippets manager"
1111
readme = "README.rst"
1212
license = { file = "BSD-3-Clause" }
@@ -64,11 +64,11 @@ docs = [
6464
]
6565

6666
[project.urls]
67-
homepage = "https://sphinx.silverrainz.me/snippet"
68-
documentation = "https://sphinx.silverrainz.me/snippet"
69-
repository = "https://github.com/sphinx-notes/snippet"
70-
changelog = "https://sphinx.silverrainz.me/snippet/changelog.html"
71-
tracker = "https://github.com/sphinx-notes/snippet/issues"
67+
homepage = "https://sphinx.silverrainz.me/fzf"
68+
documentation = "https://sphinx.silverrainz.me/fzf"
69+
repository = "https://github.com/sphinx-notes/fzf"
70+
changelog = "https://sphinx.silverrainz.me/fzf/changelog.html"
71+
tracker = "https://github.com/sphinx-notes/fzf/issues"
7272

7373
[project.scripts]
7474
snippet = "sphinxnotes.snippet.cli:main"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)