Skip to content

[GEODE-10582] Updating Documentation Broken Links/Anchors/Javadocs - #42

Merged
JinwooHwang merged 2 commits into
apache:masterfrom
harmoncoffee:fix_broken_links
Nov 9, 2026
Merged

JinwooHwang merged 2 commits into
apache:masterfrom
harmoncoffee:fix_broken_links

Conversation

@harmoncoffee

Copy link
Copy Markdown
Contributor

This PR is to resolve:

  1. Broken links with valid references
  2. Broken Anchors that have real anchor values
  3. Removes anchor references to non-existent anchor tags - this will still point to the main page that was meant to be referenced.
  4. Adds thrown error on pnpm build if anchors/links are broken (removing the temporary warn block)
  5. This adds a javadocs section to the dropdown for docs
image 6. Attached latest 1.15.x and 2.0.x javadocs to a static folder /static/javadocs/x.xx.xx/geode-core so that internal references to any javadocs could then have markdown links to the javadocs hosted on our page. To do this I downloaded geode-core sources from maven repository and attached all files under the directory. If any of these files should not be committed please review.

This PR will prepare the way for attaching geode 2.x docs by having a clean state. I will follow this PR later with a archived 1.15.x doc using docusaurus to manage this, and then compare the mismatches to the core docs with 2.x prior to migrating to docusaurus.

@JinwooHwang JinwooHwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you, @harmoncoffee. That's a lot of work. Fixing the broken links and anchors and wiring up the javadoc versions is a good cleanup. It appears that getLatestJavadocVersion() is copied into geode.ts, cpp.ts and dotnet.ts. Perhaps, it would be easier to maintain as one shared helper in config/doc-vars/?

@harmoncoffee

Copy link
Copy Markdown
Contributor Author

That's a good point @JinwooHwang we should reduce this code duplication. Thank you, I will update this appropriately

@JinwooHwang JinwooHwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great. Thank you very much @harmoncoffee

@JinwooHwang
JinwooHwang merged commit 1f26fc8 into apache:master Nov 9, 2026
2 checks passed
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