Skip to content

docs: AI developers#85

Open
bguiz wants to merge 3 commits intomainfrom
docs/developers-ai
Open

docs: AI developers#85
bguiz wants to merge 3 commits intomainfrom
docs/developers-ai

Conversation

@bguiz
Copy link
Collaborator

@bguiz bguiz commented Mar 4, 2026

Summary by CodeRabbit

  • Documentation
    • Added comprehensive guide on AI developer tooling landscape for Injective development, including LLMs, MCP servers, and AI IDEs.
    • Updated and reorganized AI developer documentation sections.
    • Implemented backward-compatible redirects for relocated documentation paths.

bguiz added 2 commits March 4, 2026 17:10
Signed-off-by: Brendan Graetz <bguiz@users.noreply.github.com>
Signed-off-by: Brendan Graetz <bguiz@users.noreply.github.com>
@bguiz bguiz requested review from ChuhanJin and ckhbtc March 4, 2026 09:12
@coderabbitai
Copy link

coderabbitai bot commented Mar 4, 2026

📝 Walkthrough

Walkthrough

Documentation is reorganized under a new AI Developers section with improved navigation. The Developers page title is updated, comprehensive AI tooling documentation is added, and navigation redirects are configured to maintain backward compatibility with the previous URL structure.

Changes

Cohort / File(s) Summary
Documentation Content
.gitbook/developers-ai/documentation-mcp.mdx, .gitbook/developers/index.mdx
Updated page titles and descriptions; documentation-mcp title changed to "Documentation MCP Server" with expanded description.
New AI Tooling Documentation
.gitbook/developers-ai/index.mdx
New comprehensive guide outlining AI developer tools landscape on Injective, including tool categories (LLMs, MCP, Agents, etc.) and MCP server usage guidance.
Navigation Configuration
.gitbook/docs.json
Restructured navigation hierarchy: removed "AI development" subgroup, added "AI Developers" group with two pages, and established two redirect routes (/developers/ai/ and /developers/ai/mcp) to maintain backward compatibility.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hop along the developer path so bright,
New AI tools documented just right,
Redirects guide the old routes away,
Injective knowledge sparkles and plays,
MCP wisdom hops closer today!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: AI developers' directly reflects the main changes: adding new AI developers documentation and reorganizing the AI development navigation structure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/developers-ai

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

…name mcp to documentation MCP, since we have more than one

Signed-off-by: Brendan Graetz <bguiz@users.noreply.github.com>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.gitbook/developers-ai/index.mdx:
- Around line 27-31: Fix the copy defects in the user-facing text by correcting
grammar and hyphenation: change "make them understood or callable by LLMs." to
"makes them understandable or callable by LLMs.", change "i.e. information that
was no available to it when the LLM was trained," to "i.e. information that was
not available to it when the LLM was trained,", and consistently apply
compound-word hyphenation (e.g., "command line interfaces" -> "command-line
interfaces", "real time" -> "real-time", "up to date" -> "up-to-date", "out of
date" -> "out-of-date", "fast moving" -> "fast-moving") across the same document
occurrences (including the other affected snippets referenced); ensure
punctuation and spacing remain correct after edits.

In @.gitbook/docs.json:
- Around line 1224-1231: The redirects JSON missing explicit trailing-slash
variants causes 404s for some paths; update the redirects array to add the
missing entries for both variants by adding entries whose "source" values
include "/developers/ai" and "/developers/ai/mcp/" (and corresponding
"/developers/ai/" and "/developers/ai/mcp") with matching "destination" values
"/developers-ai", "/developers-ai/" and "/developers-ai/documentation-mcp" so
both trailing and non‑trailing forms are covered—look for the existing objects
with "source": "/developers/ai/" and "source": "/developers/ai/mcp" and add the
complementary entries for the other slash variants.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ac380555-61ed-4625-8487-7dc0fba6c862

📥 Commits

Reviewing files that changed from the base of the PR and between 5d98842 and 1645634.

📒 Files selected for processing (4)
  • .gitbook/developers-ai/documentation-mcp.mdx
  • .gitbook/developers-ai/index.mdx
  • .gitbook/developers/index.mdx
  • .gitbook/docs.json

Comment on lines +27 to +31
These can be anything from functions, to scripts, to command line interfaces (CLIs) that are packaged up in a manner
that make them understood or callable by LLMs.
For example, if you want the LLM to access real time information,
i.e. information that was no available to it when the LLM was trained,
you would need to give it access to call tools for web searches or other data APIs.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix copy defects in user-facing text (typos + compound adjective hyphenation).
There are multiple grammar/spelling issues that reduce doc quality (e.g., Line [30], Line [42], Line [51], Line [54]) plus repeated missing hyphens (e.g., “command-line”, “real-time”, “up-to-date”, “out-of-date”, “fast-moving”).

✍️ Suggested patch
-    These can be anything from functions, to scripts, to command line interfaces (CLIs) that are packaged up in a manner
+    These can be anything from functions, to scripts, to command-line interfaces (CLIs) that are packaged up in a manner
@@
-    For example, if you want the LLM to access real time information,
-    i.e. information that was no available to it when the LLM was trained,
+    For example, if you want the LLM to access real-time information,
+    i.e. information that was not available to it when the LLM was trained,
@@
-    and agents are are sets of workflows and skills.
-    Note that the term "agents" is overused, with multiple definitions, so the abogve does not apply in other contexts.
+    and agents are sets of workflows and skills.
+    Note that the term "agents" is overused, with multiple definitions, so the above does not apply in other contexts.
@@
-    The operate directly on the file system, and often come with baked in optimisations and utilities for engineering tasks.
+    They operate directly on the file system, and often come with baked-in optimisations and utilities for engineering tasks.
@@
-    Popular ones include: Claude Code (Anthropic), Codex (Open AI), and OpenCode (unaffiliated).
+    Popular ones include: Claude Code (Anthropic), Codex (OpenAI), and OpenCode (unaffiliated).
@@
-to obtain up to date information from this documentation site.
+to obtain up-to-date information from this documentation site.
@@
-it will likely give you out of date information, as it does with any fast moving technology.
+it will likely give you out-of-date information, as it does with any fast-moving technology.
@@
-not only will you get up to date information about developing on Injective,
+not only will you get up-to-date information about developing on Injective,

Also applies to: 41-42, 51-51, 54-54, 73-75, 79-79

🧰 Tools
🪛 LanguageTool

[grammar] ~27-~27: Use a hyphen to join words.
Context: ...g from functions, to scripts, to command line interfaces (CLIs) that are packaged...

(QB_NEW_EN_HYPHEN)


[grammar] ~29-~29: Use a hyphen to join words.
Context: ...mple, if you want the LLM to access real time information, i.e. information t...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitbook/developers-ai/index.mdx around lines 27 - 31, Fix the copy defects
in the user-facing text by correcting grammar and hyphenation: change "make them
understood or callable by LLMs." to "makes them understandable or callable by
LLMs.", change "i.e. information that was no available to it when the LLM was
trained," to "i.e. information that was not available to it when the LLM was
trained,", and consistently apply compound-word hyphenation (e.g., "command line
interfaces" -> "command-line interfaces", "real time" -> "real-time", "up to
date" -> "up-to-date", "out of date" -> "out-of-date", "fast moving" ->
"fast-moving") across the same document occurrences (including the other
affected snippets referenced); ensure punctuation and spacing remain correct
after edits.

Comment on lines +1224 to +1231
{
"source": "/developers/ai/",
"destination": "/developers-ai/"
},
{
"source": "/developers/ai/mcp",
"destination": "/developers-ai/documentation-mcp"
},
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

Mintlify docs.json redirects trailing slash handling configuration

💡 Result:

Mintlify’s docs.json doesn’t have a dedicated “trailing slash handling”/normalization setting for redirects. You only configure redirects via the redirects array with sourcedestination paths (plus optional wildcard patterns). [1]

What to do instead

  • If you need both /path and /path/ to redirect, add two explicit redirect entries (one for each variant), since Mintlify only documents path-based redirect rules—not a trailing-slash normalization toggle. [1]
  • Or handle trailing slashes at your hosting/proxy layer:
    • On Netlify, redirect matching is effectively trailing-slash-insensitive due to URL normalization at the edge (so a rule for /foo also matches /foo/). [2]
    • On Vercel/other proxies, you’d handle slash canonicalization in that platform’s config (Mintlify’s Vercel guide focuses on rewrites, not slash policy). [3]

Example (docs.json)

{
  "redirects": [
    { "source": "/old-path",  "destination": "/new-path" },
    { "source": "/old-path/", "destination": "/new-path" }
  ]
}

Also note: in at least one Mintlify setting (“monorepo docs path”), they explicitly say don’t include a trailing slash, which reinforces that slash behavior is generally not controlled by a single global toggle in docs.json. [4]

Sources: Mintlify Redirects docs [1], Netlify trailing slash behavior [2], Mintlify Vercel subpath guide [3], Mintlify monorepo note about no trailing slash [4].


🏁 Script executed:

# Verify the actual content of the .gitbook/docs.json file at the mentioned lines
if [ -f ".gitbook/docs.json" ]; then
  echo "=== Checking file size ===" 
  wc -l .gitbook/docs.json
  echo ""
  echo "=== Content around lines 1224-1231 ==="
  sed -n '1224,1231p' .gitbook/docs.json
else
  echo "File not found. Searching for docs.json files..."
  fd -t f "docs.json" 
fi

Repository: InjectiveLabs/injective-docs

Length of output: 356


Add explicit redirect entries for trailing-slash variants to prevent 404s.

Mintlify does not automatically normalize trailing slashes—it only matches the exact path you configure. The current setup has an inconsistency: /developers/ai/ (with slash) is redirected, but /developers/ai/mcp (without slash) lacks a corresponding /developers/ai/mcp/ entry. Add explicit redirects for both variants:

{
  "source": "/developers/ai",
  "destination": "/developers-ai"
},
{
  "source": "/developers/ai/",
  "destination": "/developers-ai/"
},
{
  "source": "/developers/ai/mcp",
  "destination": "/developers-ai/documentation-mcp"
},
{
  "source": "/developers/ai/mcp/",
  "destination": "/developers-ai/documentation-mcp"
}

This ensures both trailing and non-trailing paths are covered.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitbook/docs.json around lines 1224 - 1231, The redirects JSON missing
explicit trailing-slash variants causes 404s for some paths; update the
redirects array to add the missing entries for both variants by adding entries
whose "source" values include "/developers/ai" and "/developers/ai/mcp/" (and
corresponding "/developers/ai/" and "/developers/ai/mcp") with matching
"destination" values "/developers-ai", "/developers-ai/" and
"/developers-ai/documentation-mcp" so both trailing and non‑trailing forms are
covered—look for the existing objects with "source": "/developers/ai/" and
"source": "/developers/ai/mcp" and add the complementary entries for the other
slash variants.

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.

1 participant