diff --git a/.cspell.json b/.cspell.json index 9b99ff5..37eebea 100644 --- a/.cspell.json +++ b/.cspell.json @@ -14,9 +14,8 @@ "transisions" ], "ignorePaths": [ - "**/*.rst_t", + "**/*.rst.jinja", "**/.cspell.json", - "*.rst_t", ".editorconfig", ".envrc", ".gitattributes", diff --git a/.vscode/settings.json b/.vscode/settings.json index b849cd4..ee815b8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,8 +37,7 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "files.associations": { - "**/pixi.lock": "yaml", - "*.rst_t": "jinja" + "**/pixi.lock": "yaml" }, "files.watcherExclude": { "**/*_cache/**": true, diff --git a/pyproject.toml b/pyproject.toml index df19de0..4d3bbed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ package-dir = {"" = "src"} [tool.setuptools.package-data] "*" = [ "py.typed", - "templates/*.rst_t", + "templates/*.rst.jinja", ] [tool.setuptools.packages.find] diff --git a/src/sphinx_api_relink/templates/module.rst_t b/src/sphinx_api_relink/templates/module.rst.jinja similarity index 100% rename from src/sphinx_api_relink/templates/module.rst_t rename to src/sphinx_api_relink/templates/module.rst.jinja diff --git a/src/sphinx_api_relink/templates/package.rst_t b/src/sphinx_api_relink/templates/package.rst.jinja similarity index 100% rename from src/sphinx_api_relink/templates/package.rst_t rename to src/sphinx_api_relink/templates/package.rst.jinja diff --git a/src/sphinx_api_relink/templates/toc.rst_t b/src/sphinx_api_relink/templates/toc.rst.jinja similarity index 100% rename from src/sphinx_api_relink/templates/toc.rst_t rename to src/sphinx_api_relink/templates/toc.rst.jinja