Skip to content

Commit

Permalink
feat(docs): add redirect for documentation page
Browse files Browse the repository at this point in the history
Implemented a 301 redirect from /docs to the new documentation site at https://aurelia-1.gitbook.io/v1-docs to improve user access to resources.
  • Loading branch information
Vheissu committed Jan 12, 2025
1 parent f25c904 commit d218cc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ languageCode = "en-us"
title = "Aurelia"
theme = "aurelia-theme"

[[redirects]]
from = "/docs"
to = "https://aurelia-1.gitbook.io/v1-docs"
status = 301
force = true

[taxonomies]
authors = "authors"
tags = "tags"
Expand Down Expand Up @@ -31,7 +37,4 @@ theme = "aurelia-theme"
shortname = 'aurelia-2'

[outputs]
home = ["HTML", "RSS", "JSON"]

# Global pagination setting
paginate = 10
home = ["HTML", "RSS", "JSON"]
1 change: 1 addition & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/docs https://aurelia-1.gitbook.io/v1-docs 301

0 comments on commit d218cc8

Please sign in to comment.