-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix #4147: Broken links at https://redis.github.io/jedis/ #4285
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
Conversation
|
@SwapnaliY16 I was trying to avoid duplicating the README.md content to avoid supporting the same content twice. For example -> |
|
Hi @ggivo, thanks for clarifying! That makes sense; using absolute links in README.md to point directly to the GitHub Pages docs would definitely avoid duplication and ensure consistency. I can update my PR accordingly so that links like Let me know if you’d prefer me to update the current PR with these changes or open a new one. |
Updating current one should be fine |
|
Perfect, thanks for confirming 👍 I’ll update the current PR accordingly. |
|
Hi @ggivo, I’ve updated the PR to switch the relative links in README.md to absolute links pointing to the published docs, as suggested. Please have a look when you get a chance. |
ggivo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Awesome! Thanks so much for following this through to the end – really appreciate it! |
Summary
Fixes issue #4147 by keeping two separate files:
Changes
README.mdtodocs/index.mdinstead of symlinks{% include 'README.md' %}.docs/index.mdto be relative to thedocs/directory (e.g., advanced-usage.md) by ensuring all referenced .md files exist indocs/.navsection inmkdocs.ymlto include all documentation pages.Outcome
This approach keeps both your GitHub and MkDocs documentation working and avoids broken links.
Testing
mkdocs servein the project root successfully with one warning:http://localhost:8000.Closes #4147