Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const config = {
items: [
{
type: "doc",
docId: "Glific Overview",
docId: "intro",
position: "left",
label: "Documentation",
},
Comment on lines 65 to 70
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify the 'intro' doc exists and align related links to avoid 404s

Ensure that a doc with id or filename intro exists (e.g., docs/intro.md or frontmatter id: intro). Also consider aligning other references (e.g., footer link currently pointing to /docs/Introduction) to /docs/intro to avoid broken links if the slug/id changed.

Run this script to verify:

If needed, update the footer Docs link target to the new slug:

  • Current: to: "/docs/Introduction"
  • Suggested: to: "/docs/intro"

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Looking for docs named intro.md(x):"
fd -a -e md -e mdx --glob "intro.*" || true

echo
echo "Looking for frontmatter id: intro in docs:"
rg -n "^id:\s*intro\b" -t md -t mdx || true

echo
echo "References to '/docs/Introduction' (may need updating to '/docs/intro'):"
rg -n "/docs/Introduction\b" || true

Length of output: 617


Action required — update footer Docs link to match the existing doc slug intro

Found docs/intro.md. docusaurus.config.js contains a footer link pointing to "/docs/Introduction" (line 91) — change it to "/docs/intro" to avoid 404s.

  • docs/intro.md — exists (docs/intro.md)
  • docusaurus.config.js:91 — currently: to: "/docs/Introduction" → change to: to: "/docs/intro"

Diff suggestion:

  • Current: to: "/docs/Introduction"
  • Suggested: to: "/docs/intro"

Note: the frontmatter-id search was inconclusive due to ripgrep reporting an mdx file-type warning, but the file-based slug exists and should be used/linked.

🤖 Prompt for AI Agents
In docusaurus.config.js around lines 65-70 (and update the footer entry at line
91), the footer Docs link points to "/docs/Introduction" which doesn't match the
existing doc slug; change the link target to "/docs/intro" to match
docs/intro.md and prevent 404s, and scan the config for any other occurrences of
"/docs/Introduction" and replace them with "/docs/intro".

Expand Down