Skip to content

Commit

Permalink
Update redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters authored and macdonst committed Jun 5, 2024
1 parent 89a9fe8 commit e4b5ec5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/lib/docs-redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ const configuration = getRedirects('learn/practices', '/docs/configuration', [
'types',
])

const patterns = getRedirects('learn/practices', '/docs/patterns', [
'progressive-enhancement',
'testing',
'testing/webdriverio',
'architect-migration',
])
const patterns = {
'patterns/building-for-the-browser': '/cookbook/build-for-the-browser',
'patterns/form-validation': '/cookbook/validate-forms',
'patterns/testing/': '/cookbook/write-unit-tests',
'patterns/architect-migration': '/cookbook/migrate-from-architect',
'patterns/rendering-markdown': '/cookbook/render-markdown',
'patterns/event-listeners': '/cookbook/use-event-listeners',
}

/* Docs redirects
* All keys presume the incoming path starts with 'docs/'
Expand Down

0 comments on commit e4b5ec5

Please sign in to comment.