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

[docs] Rewrite URLs in Markdown files for docs previews #295

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

giordano
Copy link
Member

@giordano giordano commented Mar 22, 2024

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.

@giordano giordano requested a review from tkoskela March 22, 2024 14:35
@giordano giordano added the documentation Improvements or additions to documentation label Mar 22, 2024
@giordano giordano merged commit 3a9f51f into main Mar 22, 2024
2 checks passed
@giordano giordano deleted the mg/docs-rewrite-urls branch March 22, 2024 15:02
github-actions bot pushed a commit that referenced this pull request Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants