Skip to content

Fix broken API fragment links#211

Open
junaga wants to merge 1 commit into
screeps:masterfrom
junaga:agent/fix-api-fragment-links
Open

Fix broken API fragment links#211
junaga wants to merge 1 commit into
screeps:masterfrom
junaga:agent/fix-api-fragment-links

Conversation

@junaga

@junaga junaga commented Jul 20, 2026

Copy link
Copy Markdown

What changed

Correct five fragment links to use the IDs generated for their API declarations:

  • PathFinder.search
  • Game.market.getAllOrders (two links)
  • Game.market.calcTransactionCost
  • Creep.reserveController

Why

The previous abbreviated or malformed fragments did not match any element in the combined API page, so the links did nothing.

Validation

  • Generated the complete API reference with the repository's Node 10 build environment
  • Checked every href="#..." in public/api/index.html; all now resolve to generated IDs
  • git diff --check

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