Skip to content

docs: improve SEO and GEO docs publishing#2232

Merged
Borda merged 9 commits into
developfrom
docs/geo-fixes
Apr 24, 2026
Merged

docs: improve SEO and GEO docs publishing#2232
Borda merged 9 commits into
developfrom
docs/geo-fixes

Conversation

@Borda

@Borda Borda commented Apr 24, 2026

Copy link
Copy Markdown
Member

This pull request updates the documentation site infrastructure and content for the Supervision project. It enhances the publishing workflow, adds new documentation and metadata files, improves security headers, and expands support for AI crawlers. The most important changes are grouped below:

Documentation Content Additions:

  • Added new documentation pages: about.md, contact.md, and faq.md, providing project overview, contact/support channels, and frequently asked questions for Supervision. [1] [2] [3]
  • Introduced llms-100k.txt, a large-context summary file for AI crawlers with detailed project, API, and reference links.

Publishing Workflow Improvements:

  • Enhanced the GitHub Actions workflow in .github/workflows/publish-docs.yml to support deploying documentation for the release/latest branch, add new root files, and streamline release/tag deployments. [1] [2] [3]

Security and Metadata Enhancements:

  • Added a _headers file with strict security headers for documentation hosting, including HSTS, CSP, and others.

AI and Crawler Support:

  • Updated robots.txt to remove numeric version path blocks and explicitly allow Applebot, expanding AI crawler access. [1] [2]

Align docs deployment with develop, release/latest, and tag-only release paths. Add trust pages, expanded schema, AI crawler artifacts, and root GEO file publishing.

Co-authored-by: Codex <codex@openai.com>
Copilot AI review requested due to automatic review settings April 24, 2026 20:33
@Borda Borda requested a review from SkalskiP as a code owner April 24, 2026 20:33
@Borda Borda added the documentation Improvements or additions to documentation label Apr 24, 2026
@codecov

codecov Bot commented Apr 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78%. Comparing base (840226a) to head (3fc3984).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2232   +/-   ##
=======================================
  Coverage       78%     78%           
=======================================
  Files           66      66           
  Lines         8345    8345           
=======================================
  Hits          6473    6473           
  Misses        1872    1872           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Supervision’s documentation site content and publishing infrastructure to improve SEO/GEO metadata, add trust/contact pages, and enhance crawler support across versioned docs deployments.

Changes:

  • Add new docs pages (About, Contact, FAQ) and surface them in MkDocs navigation.
  • Expand SEO/GEO metadata in the MkDocs theme (JSON-LD, OpenGraph/Twitter tags) and introduce AI-crawler summary content (llms-100k.txt).
  • Update the docs publishing workflow to deploy /latest/ from release/latest and sync additional root files (including _headers) into gh-pages.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
mkdocs.yml Updates site description and adds About/Contact/FAQ to nav.
docs/theme/main.html Adds/adjusts JSON-LD schemas and OG/Twitter meta tags for richer indexing.
docs/theme/cookbooks.html Updates cookbook links to be version-relative instead of hard-coded to /develop/.
docs/robots.txt Simplifies crawl rules and explicitly allows Applebot.
docs/llms-100k.txt Adds a large-context AI crawler summary with key docs/API links.
docs/faq.md Adds a new FAQ page with installation and usage answers.
docs/contact.md Adds a new Contact page with support/security guidance.
docs/about.md Adds a new About page describing the project and links.
docs/_headers Adds hosting security headers including CSP and HSTS.
.github/workflows/publish-docs.yml Extends deployment logic to handle release/latest, tag-only releases, and extra root file injection.

Comment thread docs/theme/cookbooks.html Outdated
Comment thread docs/_headers Outdated
Comment thread .github/workflows/publish-docs.yml Outdated
Comment thread docs/theme/main.html
Borda and others added 7 commits April 24, 2026 22:43
- Clarify model compatibility by listing explicit supported frameworks and converters.
- Simplify asset handling instructions, highlighting inclusion in base package.
- Standardize descriptions of `Detections` and `KeyPoints` converters for consistent messaging.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
[resolve #1] Review comment by @Copilot (PR #2232):
"The cookbook card title has a spelling error (\"Underestand\"). This is user-facing text and will be indexed/visible in the docs UI; please correct the display name while keeping the existing slug if that path is intentional."

- Fixed heading in docs/notebooks/underestand-visitors-with-yolo-world.ipynb
- Slug/filename preserved as Copilot instructed

---
Co-authored-by: Claude Code <noreply@anthropic.com>
[resolve #4] Review comment by @Copilot (PR #2232):
"The JSON-LD SearchAction target is hard-coded to the /latest/ search path. On /develop/ or tag builds, this points to a different version..."

- Replace hard-coded /latest/search/ with {{ config.site_url }}search/
- Now resolves correctly for each deployed version

---
Co-authored-by: Claude Code <noreply@anthropic.com>
---
Co-authored-by: Claude Code <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Borda Borda merged commit 2db1e3a into develop Apr 24, 2026
27 checks passed
@Borda Borda deleted the docs/geo-fixes branch April 24, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants