Fix "introduction" link, so docs work #3446
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(Found your project through https://goodfirstissue.dev/, which I was looking at because my team are getting an early start on Hacktoberfest this week. Looks super interesting. Thanks!)
At present, if you click "Introduction" in the README.md it takes you to https://docs.lando.dev/getting-started. If you then read all the way down the page and click the "what-it-do.html" next link at the bottom, it will take you to https://docs.lando.dev/what-it-do.html which is a 404.
Adding a
/
makes that link take you to https://docs.lando.dev/getting-started/what-it-do.html instead, which works.This fixes this one instance of this flow from the README.md page. However, a better fix would be to do one of the following:
a) Configure the sever to use redirects to always add the
/
to the end of directory URLs; or:b) Use absolute rather than relative links in the documentation navigation so it doesn't matter what the path of the origin page is.