Skip to content

docs: Improve SEO and site structure with robots directives and sitemap config - #94

Merged
Ziinc merged 2 commits into
mainfrom
claude/treq-crawled-pages-indexing-4b8bky
Jul 24, 2026
Merged

docs: Improve SEO and site structure with robots directives and sitemap config#94
Ziinc merged 2 commits into
mainfrom
claude/treq-crawled-pages-indexing-4b8bky

Conversation

@Ziinc

@Ziinc Ziinc commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR improves the site's SEO and search engine crawling behavior by adding proper robot directives to prevent indexing of private pages, configuring the sitemap to exclude non-public routes, and enhancing the DAG Visualizer page with better documentation and breadcrumb navigation.

Key Changes

  • SEO and Crawling Control
    • Added noindex, nofollow meta tags to private pages: /dashboard, /login, and /auth/callback, /auth/reset-password
    • Updated robots.txt to explicitly disallow crawling of /dashboard, /login, and /auth/ routes
    • Configured Docusaurus sitemap plugin to ignore these same private routes
  • DAG Visualizer Page Enhancement
    • Added breadcrumb navigation linking back to /tools
    • Added descriptive heading and introductory paragraph explaining the tool's purpose
    • Improved page structure with proper spacing and max-width container
  • Documentation and Configuration
    • Added detailed comment in docusaurus.config.ts explaining why trailingSlash is intentionally left unset to preserve relative doc link resolution
    • Removed unused markdown-page.md example file

Implementation Details

  • All private/authenticated pages now import and use the Head component from @docusaurus/Head to inject robot directives
  • The sitemap configuration uses glob patterns (/auth/**) to comprehensively exclude authentication routes
  • The DAG Visualizer page maintains its existing schema markup while adding user-facing documentation above the interactive component
    https://claude.ai/code/session_01D5XCzhhzFkLie9b9HA8DiL

- Exclude auth/dashboard/login from sitemap and robots.txt, and add
  noindex meta to those client-rendered account pages
- Delete leftover Docusaurus scaffold page (markdown-page.md)
- Add static SSR content to the DAG Visualizer page so crawlers see
  real text instead of just a client-side "Loading…" shell
- Document why trailingSlash can't be forced without breaking the
  site's relative doc links; recommend a host-level redirect instead
@github-actions github-actions Bot changed the title Improve SEO and site structure with robots directives and sitemap config docs: Improve SEO and site structure with robots directives and sitemap config Jul 21, 2026
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Move the static SEO intro text into a <noscript> block so it's still
present in the server-rendered HTML for crawlers, but doesn't render
a second <h1> alongside the client component's own heading once JS
hydrates.
@Ziinc
Ziinc merged commit 0ce512a into main Jul 24, 2026
8 checks passed
@Ziinc
Ziinc deleted the claude/treq-crawled-pages-indexing-4b8bky branch July 24, 2026 19:57
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