In #294 I noticed that the links in the main page (coming from the top-level README.md) of the docs preview were pointing to the "production" website, not the preview one, because of course if the Markdown files have any links they'd point to the production version. With this step we should be able to automatically rewrite the links, so as to keep them within the preview docs.
Edit: to confirm this works, see how the links in the Documentation section now point to pages within the preview.
In #294 I noticed that the links in the main page (coming from the top-level
README.md
) of the docs preview were pointing to the "production" website, not the preview one, because of course if the Markdown files have any links they'd point to the production version. With this step we should be able to automatically rewrite the links, so as to keep them within the preview docs.Edit: to confirm this works, see how the links in the Documentation section now point to pages within the preview.