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: add a custom_edit_url for sdks and edge/proxy #4985

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Oct 10, 2023

This change adds custom edit urls for all the external readmes (sdks, edge, proxy) that we put in the docs. This makes it so that following the "edit this document" link takes you to the correct location, instead of to a file that doesn't exist in the main Unleash repo.

Important caveat: this will only work for repos where the readme is called README.md (capitalization matters). Currently, this is all our repos, but it's something to be aware of for later.

We don't currently record what the readme files are called directly in the docs, so to know that for sure, we'd have to build an extra integration to check and fix that automatically. It may be worth doing in the future, but for now, I think it's fine. We could also just rename the readme files if we find any issues.

@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 0:17am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2023 0:17am

Copy link
Contributor

@dgorton dgorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Working in the preview environment. Thank you!

@thomasheartman thomasheartman merged commit 4bc9908 into main Oct 10, 2023
9 checks passed
@thomasheartman thomasheartman deleted the docs/fix-external-edit-links branch October 10, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants