Skip to content

Commit

Permalink
Improve redirects instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
s-makin committed Dec 5, 2024
1 parent f8dbd07 commit 4566cd8
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions redirects.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Comment lines start with a hash (#) and are ignored
# Each redirect should appear on its own line
# Do not include a file extension
# Paths don't need a slash in front of them
# We are using the dirhtml builder so we need a trailing slash at the end
# The paths should match what's in the build directory
# The redirects.txt file stores all the redirects for the published docs
# If you change a filename, move or delete a file, you need a redirect here.
# - Comment lines start with a hash (#) and are ignored
# - Each redirect should appear on its own line

# We are using the dirhtml builder, so files are treated as directories:
# - A file is built like `filename/index.html`, not `filename.html`
# - *Do* include a trailing slash at the end of the path
# - *Do not* include a file extension or you'll get errors
# - Paths don't need a slash in front of them

# Example:
# redirect/from redirect/to
# redirect/from/file/ redirect/to/file/

explanation/intro-to/ explanation/introduction-to/

0 comments on commit 4566cd8

Please sign in to comment.