Skip to content

Commit

Permalink
Merge pull request #2937 from SpiffyEight77/docs/redirect-community
Browse files Browse the repository at this point in the history
website: redirect to /docs/community
  • Loading branch information
jandubois authored Nov 24, 2024
2 parents 9fdd4c8 + e44a982 commit 3fdfaeb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 64 deletions.
6 changes: 0 additions & 6 deletions website/content/en/community/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion website/data/helpfullinks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
label: Get started with Lima
- header: Contributions welcome
icon: fa-brands fa-github
link: /community
link: /docs/community
label: Join the Lima community
3 changes: 3 additions & 0 deletions website/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ enable = false
name = "GitHub"
url = "https://github.com/lima-vm/lima"
pre = '<i class="fab fa-github"></i>'
[[menus.main]]
name = "Community"
url = "/docs/community"

[module]
# uncomment line below for temporary local development of module
Expand Down
24 changes: 0 additions & 24 deletions website/layouts/community/list.html

This file was deleted.

33 changes: 0 additions & 33 deletions website/layouts/partials/community_links.html

This file was deleted.

6 changes: 6 additions & 0 deletions website/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ GO_VERSION = "1.23.0"

[context.production]
command = "make -C .. docsy && npm run build:production"

[[redirects]]
from = "/community"
to = "/docs/community"
status = 301
force = true

0 comments on commit 3fdfaeb

Please sign in to comment.