Fix #4147: Broken links at https://redis.github.io/jedis/#4285
Fix #4147: Broken links at https://redis.github.io/jedis/#4285ggivo merged 4 commits intoredis:masterfrom
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. |
|
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