Skip to content

Conversation

@alan707
Copy link
Collaborator

@alan707 alan707 commented Sep 14, 2025

Fixes broken links from unavailable source code. Addresses #26 partially. Used Claude code to test capability.

alan707 and others added 4 commits September 13, 2025 18:25
- Handle .md#anchor links properly by preserving anchor fragments
- Split URL and anchor parts before processing
- Reassemble with trailing slash and anchor intact

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add source file parameter to link conversion methods
- Resolve relative paths against source file location
- Apply proper category mapping based on section
- Handle relative links like faq.md#anchor correctly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add external_links configuration in config.yaml
- Configure bazel_api_base for external API documentation
- Add logic to redirect /rules/ and /reference/ links to bazel.build
- Preserve anchors and fragments in external links

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@alan707 alan707 self-assigned this Sep 14, 2025
@alan707 alan707 merged commit f3e3903 into main Sep 14, 2025
1 check passed
@alan707 alan707 deleted the alan/fix_links branch September 14, 2025 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants