Skip to content

Commit 3ea7686

Browse files
committed
chore: remove the trailing slash from the documentation URL
1 parent d70f97a commit 3ea7686

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

changelog.d/+2a5318d5.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove the trailing slash from the documentation URL.

copier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ repository_url:
9090
documentation_url:
9191
type: str
9292
help: Your GitHub Pages URL.
93-
default: "https://{{ github_user }}.github.io/{{ distribution_name }}/"
93+
default: "https://{{ github_user }}.github.io/{{ distribution_name }}"
9494
when: false
9595

9696
copyright_owner:

template/pyproject.toml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ dependencies = [ ]
6767
{%- endif %}
6868
{%- endwith %}
6969
{%- if docs %}
70-
urls.Changelog = "{{ documentation_url }}changelog/"
71-
urls.Documentation = "{{ documentation_url }}"
70+
urls.Changelog = "{{ documentation_url }}/changelog"
71+
urls.Documentation = "{{ documentation_url }}/"
7272
{%- else %}
7373
urls.Changelog = "{{ repository_url }}/blob/main/CHANGELOG.md"
7474
{%- endif %}

template/{% if docs == 'mkdocs' %}mkdocs.yaml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
site_name: {{ project_name }}
3-
site_url: {{ documentation_url }}
3+
site_url: {{ documentation_url }}/
44
repo_url: {{ repository_url }}
55
repo_name: {{ repository_path }}
66
edit_uri: edit/main/docs/

0 commit comments

Comments
 (0)