12 Commits

Author SHA1 Message Date
a5009941ab Add OG social cards, Mermaid diagrams, and robots.txt
- OG images: auto-generated per page via astro-og-canvas with maritime
  teal theme, wired through Starlight route data middleware
- Mermaid: request flow and parallel fetch diagrams on architecture page
- robots.txt: sitemap and llms.txt references for crawlers
2026-02-24 13:33:34 -07:00
e519c100ed Pass DOMAIN build arg to Dockerfile build stage
Without ARG/ENV, process.env.DOMAIN was undefined during npm run build,
causing llms.txt internal links to use localhost:4321 instead of the
production domain.
2026-02-24 11:52:21 -07:00
73a6b91c91 Add llms.txt generation via starlight-llms-txt plugin
Generates /llms.txt, /llms-full.txt, and /llms-small.txt at build time.
URLs adapt to DOMAIN env var for correct production links.
2026-02-24 11:50:53 -07:00
7e76a51f25 Add "Built with" attribution page
ELI5-style credits page honoring every open source project in the
stack: NOAA, MCP, FastMCP, Python, Pydantic, httpx, Matplotlib,
Plotly, Astro, Starlight, Lucide, Docker, Caddy, uv, Ruff, pytest,
Git. Organized by role (data source, server, charts, docs, infra,
dev tools) with conversational descriptions.
2026-02-24 11:46:07 -07:00
f58be224fe Fix splash page CSS: use correct Starlight attribute selector
Starlight doesn't emit data-page-template="splash" — it uses
data-has-hero on <html>. All splash-scoped selectors were dead code.

Also remove .card-grid a rules that collided with Starlight's
<CardGrid> component (same class name), causing "See how it works"
links to render as bordered boxes instead of inline text.
2026-02-24 11:31:46 -07:00
de95271f53 Fix card link styling on splash page
Override Starlight's scoped card link styles (display:block, border,
padding) so "See how it works" links render as inline teal text
instead of bordered pill boxes.
2026-02-24 11:29:02 -07:00
37b3cd721d Add clickable links and chart showcase to landing page
- Each use-case card now links to its how-to guide
- Chart showcase below cards: tide chart + conditions dashboard
  side by side, with caption linking to visualization guide
- CSS for showcase grid layout and card link styling
2026-02-24 11:23:17 -07:00
7e10496e0a Rewrite landing page: ELI5 intro, no AI buzzwords
- Lead with "One question away" — explains NOAA's station network, the
  API gap, and what mcnoaa-tides does, in plain language
- Progressive disclosure: simple explanation → use cases → technical
  details → install
- Remove all "AI" references across docs (tagline, getting-started)
- Install section leads with generic MCP JSON config, not product-specific
2026-02-24 11:16:25 -07:00
a900581af5 Add splash landing page, conversation-style guides, beach activities
- New splash landing page at / with hero SVG, feature cards, use-case
  scenarios, and quick install section
- Replace Caddyfile redirect with direct index.mdx serving
- Header social icons: git→Gitea source, python→PyPI (was GitHub→PyPI)
- Rewrite fishing-trip, smartpot, and visualization guides as
  conversation-style walkthroughs with tool calls behind tabs
- New beach activities guide: snorkeling, tide pooling, beachcombing,
  kayak/paddleboard timing
- Make all examples LLM-agnostic (MCP server works with any client)
- Add CSS for splash page layout and conversation blockquote styling
2026-02-24 11:11:42 -07:00
10e9bf9185 Update docs for MCP primitives and fix Vite allowedHosts
Document tool annotations, structured logging, sampling summaries,
and the new test_client_capabilities diagnostic tool across getting
started, reference, and architecture pages. Fix Vite 6+ host blocking
when serving behind a reverse proxy.
2026-02-23 15:18:25 -07:00
9d25f5efe3 Fix docs root showing Caddy default page, fix MCP healthcheck
- Clear /usr/share/caddy/* before copying build output to remove
  the default "Caddy works!" index.html from the base image
- Add root redirect: / -> /getting-started/ (permanent)
- Fix try_files to use {path}/index.html for Starlight directories
- Switch MCP healthcheck to TCP socket (GET /mcp returns 406
  without proper Accept headers)
2026-02-23 05:44:58 -07:00
a02d660764 Add Starlight docs site and MCP HTTP transport
- Starlight documentation with 12 Diátaxis-organized pages covering
  getting started, how-to guides, reference, and architecture
- Docker Compose with two services: docs (Starlight/Caddy) and
  mcp (FastMCP streamable-http), both behind caddy-docker-proxy
- Env-based transport selection in server.py — stdio default preserved,
  MCP_TRANSPORT=streamable-http activates HTTP mode for Docker
- Ocean/maritime theme with dark mode default
2026-02-22 19:05:12 -07:00