fix(website): uglyURLs on main, update documentation - #4871
Conversation
Duplicate frontmatter titles in
|
| Duplicate Title | File 1 | File 2 |
|---|---|---|
| Agent Guardrails | blog/news/agent-guardrails.md |
docs/guides/agent-guardrails.md |
| AI Integration | docs/ai-integration.md |
docs/overview/ai-integration/index.md |
| Architecture | docs/architecture.md |
docs/overview/architecture/index.md |
| Architecture Decision Records | docs/architecture/index.md |
docs/project/architecture/_index.md |
| Broker | docs/broker.md |
docs/interfaces/broker/index.md |
| Configuration | docs/config.md |
docs/overview/config/index.md |
| Contributing | docs/contributing.md |
docs/guides/contributing.md, docs/project/contributing.md |
| Documentation | docs/_index.md |
docs/index.md |
| Examples | docs/examples/_index.md |
docs/examples/index.md |
| Getting Started | docs/getting-started.md |
docs/overview/getting-started/index.md |
| Hello Service | docs/examples/hello-service.md |
docs/examples/learn-by-examples/hello-service.md |
| Observability | docs/observability.md |
docs/overview/observability/index.md |
| Performance Considerations | docs/overview/performance.md |
docs/performance.md |
| Plugins | docs/interfaces/plugins.md |
docs/plugins.md |
| Pub/Sub with NATS Broker | docs/examples/learn-by-examples/pubsub-nats.md |
docs/examples/pubsub-nats.md |
| Quick Start | docs/guides/quickstart.md |
docs/quickstart.md |
| Registry | docs/interfaces/registry/index.md |
docs/registry.md |
| Roadmap | docs/project/roadmap.md |
docs/roadmap.md |
| Service Discovery with Consul | docs/examples/learn-by-examples/registry-consul.md |
docs/examples/registry-consul.md |
| Store | docs/interfaces/store.md |
docs/store.md |
| Summary: Reflection Removal Evaluation | docs/overview/REFLECTION-EVALUATION-SUMMARY.md |
docs/REFLECTION-EVALUATION-SUMMARY.md |
| TLS Security Update - Important Information | docs/overview/TLS_SECURITY_UPDATE.md |
docs/TLS_SECURITY_UPDATE.md |
| Transport | docs/interfaces/transport/index.md |
docs/transport.md |
All paths are relative to internal/website/content/en/. 23 duplicated titles across 47 files (Contributing has 3 copies).
Remove duplicate page titles in internal/website/content/en so every
title resolves to a single canonical page. Precedence: directory index
pages with bundled images, then the most complete content; draft copies
were dropped.
Removed duplicates (kept page in parentheses):
- docs/overview/*/index.md (dir index + image) vs docs/*.md for
ai-integration, architecture, config, getting-started, observability
- docs/interfaces/{broker,registry,transport}/index.md (dir index +
image) vs docs/{broker,registry,transport}.md
- docs/interfaces/{plugins,store}.md vs docs/{plugins,store}.md
- docs/contributing.md and docs/guides/contributing.md vs
docs/project/contributing.md
- docs/guides/quickstart.md vs docs/quickstart.md
- docs/overview/performance.md vs docs/performance.md
- docs/project/{roadmap,roadmap-2026}.md vs docs/roadmap.md
- docs/architecture/{index,adr-*}.md (already mirrored and kept in
docs/project/architecture/, whose index now links the available ADRs)
- docs/model.md vs docs/model/index.md
- blog/news/agent-guardrails.md vs docs/guides/agent-guardrails.md
- docs/examples/learn-by-examples/* (near-identical copies) vs
docs/examples/*
- docs/overview/{REFLECTION-EVALUATION-SUMMARY,TLS_SECURITY_UPDATE}.md
(draft copies)
- docs/index.md and docs/examples/index.md symlinks vs their _index.md
Frontmatter tidy: add missing descriptions (store, atlas-cloud, model),
drop weight/draft overrides, consolidate the Architecture Decision
Records index, and remove dead CSS overrides from _styles_project.scss.
Hugo conventions: _index.md is the branch/section bundle for a
directory - it is the landing page for a doc section that lists its
children. index.md is a leaf bundle - a standalone page at the exact
directory URL whose directory bundles its own resources (images, etc.).
The docs site standardizes on _index.md for section landing pages, so
the redundant index.md symlinks were removed and the duplicate
Architecture directory was merged into the project/architecture section.
…ration Replace Jekyll-era .html links with .md/index.md targets, fix relative paths for pages moved into Hugo bundles, restore the ADR files dropped by the duplicate-merge refactor, and update zero-to-hero-ci docs tests to the content/en/docs layout.
|
What It Does: Hugo uses Why People Use It: It organizes content clearly, separating standalone pages with media resources from directory-style parent pages that aggregate and list other child content. HOW TO USE ITMost Common Syntax: Create an COMMON USE CASESFor Creating a Standalone Page with Media Resources: MOST IMPORTANT AND USED OPTIONS AND FEATURES
|
|
@asim ready to review |
Description
Completes the website's migration from the Jekyll-era docs layout to the Hugo content/en tree. The docs site previously shipped pages from two parallel trees (docs/.md plus docs/overview//index.md and docs/index.md symlinks), which produced duplicate URLs and broken links. This change collapses everything to a single canonical tree, switches cross-references from .html to .md/index.md targets, drops the old vanity-redirect machinery, and updates the docs wayfinding tests to the new layout.
What changed
Net effect
112 files changed across upstream/master..origin/master: +498 / −5022, almost entirely website docs, scripts, and the two docs-wayfinding test suites.
Testing