Skip to content

Commit 5704d98

Browse files
committed
feat: swap urls that used old github_user cookiecutter value
1 parent 3984e44 commit 5704d98

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

{{cookiecutter.project_name}}/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
---
66

7-
**[📚 View Documentation](https://{{ cookiecutter.project_name.replace('_', '-') }}.readthedocs.io/)** | **[🐛 Report a Bug](https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}/issues)** | **[✨ Request a Feature](https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}/issues)**
7+
**[📚 View Documentation](https://{{ cookiecutter.project_name.replace('_', '-') }}.readthedocs.io/)** | **[🐛 Report a Bug](https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}/issues)** | **[✨ Request a Feature](https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}/issues)**
88

99
---
1010

@@ -22,7 +22,7 @@ To set up `{{ cookiecutter.package_name }}` for local development:
2222

2323
1. Clone the repository:
2424
```bash
25-
git clone https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}.git
25+
git clone https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}.git
2626
cd {{ cookiecutter.project_name }}
2727
```
2828
2. Install dependencies using [:term:`uv`](uv-documentation):

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929

3030
PROJECT_NAME: str = "{{cookiecutter.project_name}}"
3131
PACKAGE_NAME: str = "{{cookiecutter.package_name}}"
32-
GITHUB_USER: str = "{{cookiecutter.github_user}}"
32+
REPOSITORY_HOST: str = "{{cookiecutter.repository_host}}"
33+
REPOSITORY_PATH: str = "{{cookiecutter.repository_path}}"
3334

3435
ENV: str = "env"
3536
FORMAT: str = "format"

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ docs = [
4747
]
4848

4949
[project.urls]
50-
Homepage = "https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
51-
Repository = "https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
50+
Homepage = "https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}"
51+
Repository = "https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}"
5252

5353
[[tool.uv.index]]
5454
name = "testpypi"

0 commit comments

Comments
 (0)