Skip to content

Commit

Permalink
Don't add extra / in editions URL
Browse files Browse the repository at this point in the history
The canonical URL ends with a /, so don't add an extra one for the /v
path.
  • Loading branch information
jonathansick committed Dec 15, 2023
1 parent d1896df commit 8cd01c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/documenteer/storage/localtemplates/technote/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
**Links:**

- Publication URL: {{ cookiecutter.url }}
- Alternative editions: {{ cookiecutter.url }}/v
- Alternative editions: {{ cookiecutter.url }}v
- GitHub repository: https://github.com/{{ cookiecutter.github_namespace }}
- Build system: https://github.com/{{ cookiecutter.github_namespace }}/actions/

Expand All @@ -40,7 +40,7 @@ Publishing changes to the web
=============================

This technote is published to {{ cookiecutter.url }} whenever you push changes to the ``main`` branch on GitHub.
When you push changes to a another branch, a preview of the technote is published to {{ cookiecutter.url }}/v.
When you push changes to a another branch, a preview of the technote is published to {{ cookiecutter.url }}v.

Editing this technical note
===========================
Expand Down

0 comments on commit 8cd01c8

Please sign in to comment.