Skip to content

INTER-2639: docs: render API base URL as code to avoid broken link - #293

Merged
JuroUhlar merged 1 commit into
mainfrom
fix/base-url-code-format
Oct 15, 2026
Merged

JuroUhlar merged 1 commit into
mainfrom
fix/base-url-code-format

Conversation

@JuroUhlar

@JuroUhlar JuroUhlar commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The docs-link-checker reports https://api.fpjs.io/v4, https://eu.api.fpjs.io/v4 and https://ap.api.fpjs.io/v4 as broken links (HTTP 404) in the README. GitHub auto-links them, but they are API base URLs, not pages, so they should be shown as code.

Changes

  • template/api_doc.mustache renders the base URL as inline code with {{{basePath}}}.
  • template/README.mustache shows the region base URLs in the table as inline code.
  • Generated README.md and docs/Api/FingerprintApi.md are updated to match.

No changeset: docs only, no SDK behavior change.

Jira: INTER-2639

🤖 Generated with Claude Code

https://claude.ai/code/session_01D8bTHvDMspvza23W9oMRYJ

The base URL was rendered as text that GitHub auto-links to a 404 page. Use inline code instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8bTHvDMspvza23W9oMRYJ
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ This PR doesn't contain any changesets. If there are user-facing changes, don't forget to run:

pnpm exec changeset

to create a changeset.

Copilot AI 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.

🟢 Approval recommended

The documentation changes are consistent, address unwanted autolinking, and introduce no identified issues.

0 open findings

What changed in this PR

Renders API base URLs as inline code to prevent unwanted autolinking and broken-link reports, without changing SDK behavior.

Changes:

  • Updates README and API documentation templates.
  • Synchronizes generated documentation with the templates.
File Description
template/​README.mustache Formats regional base URLs as code.
template/​api_doc.mustache Formats the unescaped base URL as code.
README.md Updates generated regional URL formatting.
docs/​Api/​FingerprintApi.md Updates generated API base URL formatting.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 Coverage increased by 97.53%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🟢 Statements 97.53% 3669 / 3762
🟢 Functions 98.45% 1464 / 1487
Files Coverage
St. File Methods Statements Total Coverage

@JuroUhlar
JuroUhlar merged commit 6b82abb into main Oct 15, 2026
19 checks passed
@JuroUhlar
JuroUhlar deleted the fix/base-url-code-format branch October 15, 2026 10:49
@JuroUhlar JuroUhlar changed the title docs: render API base URL as code to avoid broken link INTER-2639: docs: render API base URL as code to avoid broken link Oct 16, 2026
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.

4 participants