Skip to content

Commit 04ae980

Browse files
committed
chore: Fix wrong replacements
1 parent 8cdc7dc commit 04ae980

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"cookiecutter": {
77
"namespace": "sphinxnotes",
88
"name": "render",
9-
"full_name": "sphinxnotes.render",
9+
"full_name": "sphinxnotes-render",
1010
"author": "Shengyu Zhang",
1111
"description": "A framework to define, constrain, and render data in Sphinx documentation",
1212
"version": "1.0a0",
1313
"github_owner": "sphinx-notes",
1414
"github_repo": "data",
15-
"pypi_name": "sphinxnotes.render",
15+
"pypi_name": "sphinxnotes-render",
1616
"pypi_owner": "SilverRainZ",
1717
"is_python_project": true,
1818
"python_version": "3.12",

.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.render
13+
url: https://pypi.org/p/sphinxnotes-render
1414
permissions:
1515
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1616
steps:

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
You need to consider modifying the TEMPLATE or modifying THIS FILE.
33
44
==================
5-
sphinxnotes.render
5+
sphinxnotes-render
66
==================
77

88
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/render/github-pages
@@ -11,11 +11,11 @@ sphinxnotes.render
1111
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/render
1212
:target: https://github.com/sphinx-notes/data/blob/master/LICENSE
1313
:alt: Open Source License
14-
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes.render.svg
15-
:target: https://pypi.python.org/pypi/sphinxnotes.render
14+
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-render.svg
15+
:target: https://pypi.python.org/pypi/sphinxnotes-render
1616
:alt: PyPI Package
17-
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes.render
18-
:target: https://pypistats.org/packages/sphinxnotes.render
17+
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-render
18+
:target: https://pypistats.org/packages/sphinxnotes-render
1919
:alt: PyPI Package Downloads
2020

2121
|docs| |license| |pypi| |download|

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# -- Project information -----------------------------------------------------
1111

12-
project = 'sphinxnotes.render'
12+
project = 'sphinxnotes-render'
1313
author = 'Shengyu Zhang'
1414
copyright = "2025, " + author
1515

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
You need to consider modifying the TEMPLATE or modifying THIS FILE.
33
44
==================
5-
sphinxnotes.render
5+
sphinxnotes-render
66
==================
77

88
.. |docs| image:: https://img.shields.io/github/deployments/sphinx-notes/render/github-pages?label=docs
@@ -11,11 +11,11 @@ sphinxnotes.render
1111
.. |license| image:: https://img.shields.io/github/license/sphinx-notes/render
1212
:target: https://github.com/sphinx-notes/data/blob/master/LICENSE
1313
:alt: Open Source License
14-
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes.render.svg
15-
:target: https://pypistats.org/packages/sphinxnotes.render
14+
.. |pypi| image:: https://img.shields.io/pypi/v/sphinxnotes-render.svg
15+
:target: https://pypistats.org/packages/sphinxnotes-render
1616
:alt: PyPI Package
17-
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes.render
18-
:target: https://pypi.python.org/pypi/sphinxnotes.render
17+
.. |download| image:: https://img.shields.io/pypi/dm/sphinxnotes-render
18+
:target: https://pypi.python.org/pypi/sphinxnotes-render
1919
:alt: PyPI Package Downloads
2020
.. |github| image:: https://img.shields.io/badge/GitHub-181717?style=flat&logo=github&logoColor=white/
2121
:target: https://github.com/sphinx-notes/render

pyproject.toml

Lines changed: 1 addition & 1 deletion
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.render"
9+
name = "sphinxnotes-render"
1010
description = "A framework to define, constrain, and render data in Sphinx documentation"
1111
readme = "README.rst"
1212
license = "BSD-3-Clause"

src/sphinxnotes/render/meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
from __future__ import annotations
99
from importlib import metadata
1010

11-
__project__ = 'sphinxnotes.render'
11+
__project__ = 'sphinxnotes-render'
1212
__author__ = 'Shengyu Zhang'
1313
__desc__ = 'A framework to define, constrain, and render data in Sphinx documentation'
1414

1515
try:
16-
__version__ = metadata.version('sphinxnotes.render')
16+
__version__ = metadata.version('sphinxnotes-render')
1717
except metadata.PackageNotFoundError:
1818
__version__ = 'unknown'
1919

0 commit comments

Comments
 (0)