Skip to content

docs: dedicated Getting Started page (own the onboarding query) + HowTo schema#20

Draft
rain-Brian wants to merge 1 commit into
seo/pw-api-docsfrom
seo/pw-getting-started
Draft

docs: dedicated Getting Started page (own the onboarding query) + HowTo schema#20
rain-Brian wants to merge 1 commit into
seo/pw-api-docsfrom
seo/pw-getting-started

Conversation

@rain-Brian

Copy link
Copy Markdown
Collaborator

Why

Replicates the pattern shipped for MegaDetector (microsoft/MegaDetector#31): a dedicated getting-started page at its own URL, with slug + title + H1 all matching "getting started with PyTorch-Wildlife", plus HowTo structured data. A dedicated-slug page is what wins the "getting started with X" query.

Stacked PR

This stacks on #18 (seo/pw-api-docs), which carries the docs SEO foundation (overrides + custom_dir, inference-examples.md, api.md, model_zoo.md) that this page depends on. The PW SEO branches merge in order #15#16#18 → this. The diff here is only the getting-started addition. Retarget to main once the chain lands.

What

  • New docs/getting-started.md at /Pytorch-Wildlife/getting-started/: install → first detection → add classification → scale up, linking out to Installation, Inference Examples, API, and Model Zoo rather than restating them.
  • overrides/main.html: a HowTo JSON-LD block, gated per-page (src_path) so it renders only on the new page.
  • docs/index.md, docs/installation.md, docs/inference-examples.md (additive): Getting Started pointers.
  • mkdocs.yml: nav entry between Overview and Installation.

Content sourced from this repo's own docs; nothing external copied.

Verification

  • HowTo (4 HowToStep) renders only on the getting-started page, 0 on the homepage; new URL in sitemap.xml
  • 0 em-dashes; AI-tells linter clean; all internal anchors resolve
  • Note: mkdocs build --strict aborts on pre-existing base-branch griffe warnings in lmds.py (API autodoc), unrelated to this change. This page itself adds no new warnings.

Opened as a draft; not requesting review yet.

Stacks on the PyTorch-Wildlife docs SEO work (this branch is based on
seo/pw-api-docs). Adds docs/getting-started.md at its own URL (slug +
title + H1 matching 'getting started with PyTorch-Wildlife') to own the
onboarding query, following the MegaDetector pattern (microsoft/MegaDetector#31).

- New page: docs/getting-started.md (install -> first detection -> add
  classification -> scale up), sourced from existing docs and linking out
- overrides/main.html: HowTo JSON-LD gated per-page (src_path)
- index.md, installation.md, inference-examples.md: additive pointers
- mkdocs.yml: nav entry between Overview and Installation

HowTo renders only on the getting-started page (4 HowToStep); 0 em-dashes;
ai_tells clean. Pre-existing base-branch griffe warnings (lmds.py
docstrings) are unrelated to this change.
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.

1 participant