Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl: use Netlify redirects instead of HTML #925

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions docs/_layouts/redirect.html

This file was deleted.

49 changes: 47 additions & 2 deletions docs/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,49 @@
# Documentation: https://docs.netlify.com/routing/redirects/redirect-options/
# vim: set sw=4 sts=4:
#
# Guidance:
# - Always specify 301 vs 302. (301 is the default, but better to be explicit.)
# - Only use 301 when it's OK for client to cache indefinitely. Common use case
# is for moved content, e.g. /foo is renamed to /bar.
# - Rule of thumb: if it's an alias, e.g. /foo -> /foo/v1, use 302.
# - Align columns on multiples of 4.

# Convenience aliases for the team. Remember to document on ../README.md.
/gh/* https://github.com/slsa-framework/slsa/:splat
# --- Team-internal convenience aliases ---
#
# Remember to document on ../README.md.

/gh/* https://github.com/slsa-framework/slsa/:splat 301

/notes/community https://docs.google.com/document/d/1JbJZxeZOWE7rxT24iEozX35LIUl_Yoqd-DeSm6309GA/edit 302
/notes/positioning https://docs.google.com/document/d/1tpPOXVzNSwtpWA7cXhTPLAO6HIP50obUvoP85XqgVHM/edit 302
/notes/spec https://docs.google.com/document/d/1PwhekVB1iDpcgCQRNVN_aesoVdOiTruoebCs896aGxw/edit 302
/notes/specification https://docs.google.com/document/d/1PwhekVB1iDpcgCQRNVN_aesoVdOiTruoebCs896aGxw/edit 302
/notes/tooling https://docs.google.com/document/d/18oj3CLJQhZj1dMHKDTq_1kKg0syysKCS7pLyXlw1SRc/edit 302

# --- Page renames and user-facing convenience aliases ---

# Quick links to the latest version.
/faq /spec/v1.0/faq 302
/levels /spec/v1.0/levels 302
/terminology /spec/v1.0/terminology 302
/threats /spec/v1.0/threats 302
/use-cases /spec/v1.0/use-cases 302

# Renamed files.
/getinvolved /community 301

/github-actions-workflow https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1 301
/github-actions-workflow/v1-rc1 https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1 301
/github-actions-workflow/v1 https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1 301
/github-actions-workflow/v1.0 https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1 301

/provenance /provenance/v1 302
/provenance/v0.2-draft /provenance/v0.2 301
/provenance/v1.0 /provenance/v1 302

/spec /spec/v1.0 302
/spec/faq /spec/v1.0/faq 302
/spec/v1/* /spec/v1.0/:splat 302

/verification_summary /verification_summary/v1 302
/verification_summary/v1.0 /verification_summary/v1 302
5 changes: 0 additions & 5 deletions docs/faq.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/getinvolved.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/github-actions-workflow/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/github-actions-workflow/v1-rc1.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/github-actions-workflow/v1.0.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/github-actions-workflow/v1.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/levels.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/notes/community.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/notes/positioning.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/notes/spec.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/notes/specification.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/notes/tooling.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/provenance/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/provenance/v0.2-draft.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/provenance/v1.0.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/requirements.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/spec/faq.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/spec/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/spec/v1.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/terminology.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/threats.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/use-cases.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/verification_summary/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/verification_summary/v1.0.md

This file was deleted.