Skip to content

Commit 88b0251

Browse files
committed
book: re-render to add the redirects
I just fixed the `update-book2.rb` script so that URLs like https://git-scm.com/book/ (with a trailing slash) redirect again; This commit reflects the impact on the automatically rendered content files in `external/book/`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 8f4995c commit 88b0251

File tree

30 files changed

+31
-0
lines changed

30 files changed

+31
-0
lines changed

external/book/content/book/az/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/az/v2.html"
1414
aliases:
1515
- "/book/az/v2/index.html"
16+
- "/book/az/index.html"
1617
---

external/book/content/book/be/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/be/v2.html"
1414
aliases:
1515
- "/book/be/v2/index.html"
16+
- "/book/be/index.html"
1617
---

external/book/content/book/bg/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/bg/v2.html"
1414
aliases:
1515
- "/book/bg/v2/index.html"
16+
- "/book/bg/index.html"
1617
---

external/book/content/book/cs/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/cs/v2.html"
1414
aliases:
1515
- "/book/cs/v2/index.html"
16+
- "/book/cs/index.html"
1617
---

external/book/content/book/de/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/de/v2.html"
1414
aliases:
1515
- "/book/de/v2/index.html"
16+
- "/book/de/index.html"
1617
---

external/book/content/book/en/v2/_index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@
1616
url: "/book/en/v2.html"
1717
aliases:
1818
- "/book/en/v2/index.html"
19+
- "/book/en/index.html"
20+
- "/book/index.html"
1921
---

external/book/content/book/es/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/es/v2.html"
1414
aliases:
1515
- "/book/es/v2/index.html"
16+
- "/book/es/index.html"
1617
---

external/book/content/book/fa/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/fa/v2.html"
1414
aliases:
1515
- "/book/fa/v2/index.html"
16+
- "/book/fa/index.html"
1617
---

external/book/content/book/fr/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/fr/v2.html"
1414
aliases:
1515
- "/book/fr/v2/index.html"
16+
- "/book/fr/index.html"
1617
---

external/book/content/book/gr/v2/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
url: "/book/gr/v2.html"
1414
aliases:
1515
- "/book/gr/v2/index.html"
16+
- "/book/gr/index.html"
1617
---

0 commit comments

Comments
 (0)