Skip to content

docs: restructure documentation to align with SDK and Client docs - #2197

Draft
vdusek wants to merge 2 commits into
masterfrom
docs/restructure
Draft

docs: restructure documentation to align with SDK and Client docs#2197
vdusek wants to merge 2 commits into
masterfrom
docs/restructure

Conversation

@vdusek

@vdusek vdusek commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Aligns the Python docs structure with apify-sdk-python and apify-client-python: Quick start, Introduction, Concepts, Guides, Deployment, Upgrading, Changelog.

  • Component and abstraction pages move out of Guides into a new Concepts section (18 pages), including a new Logging page.
  • The Examples section is dissolved. Most example pages are folded into the related Concepts or Guides page as a section, three graduate into standalone guides, the remaining crawling and stop/resume examples are aggregated into two new guides (Crawling links, Stopping and resuming crawlers), and four pages that only duplicated existing examples are dropped.
  • Doc directories are numbered (01_quick-start ... 06_upgrading) so autogenerated sidebars keep the intended order. Public URLs are unaffected, since Docusaurus strips the NN_ prefixes.
  • Every moved or removed URL gets a client-side redirect in website/docusaurus.config.js, version-guarded so the frozen 1.9 and 0.6 snapshots keep serving their real pages and start redirecting only once a new-structure version becomes latest.

The new structure is served at /docs/next/* until the next version snapshot, so three homepage links point there for now; a comment in website/src/pages/index.js marks them for switching to unversioned URLs after the snapshot.

Verified locally with the full docs build (onBrokenLinks: 'throw', which PR CI does not run), ruff, ty, markdownlint, and oxlint/oxfmt.

✍️ Drafted by Claude Code

vdusek added 2 commits August 24, 2026 16:57
- Add a Concepts section holding the component and abstraction pages moved
  from Guides, plus a new Logging page.
- Merge the Examples section into Concepts and Guides: each example is folded
  into its related page or combined into a new guide (Crawling links,
  Stopping and resuming crawlers), and redundant duplicates are dropped.
- Number the section directories and files to drive sidebar order, matching
  the apify-sdk-python and apify-client-python docs conventions.
- Enable @docusaurus/plugin-client-redirects with version-aware redirects for
  every moved URL.
- Update the navbar, footer, homepage, README, and lint config paths, and add
  frontmatter descriptions to pages that lacked them.
@vdusek vdusek added t-tooling Issues with this label are in the ownership of the tooling team. adhoc Ad-hoc unplanned task added during the sprint. labels Aug 26, 2026
@vdusek vdusek self-assigned this Aug 26, 2026
@github-actions github-actions Bot added this to the 148th sprint - Tooling team milestone Aug 26, 2026
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.75%. Comparing base (6deabad) to head (8e1af8d).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2197      +/-   ##
==========================================
+ Coverage   93.61%   93.75%   +0.14%     
==========================================
  Files         181      181              
  Lines       12825    12825              
==========================================
+ Hits        12006    12024      +18     
+ Misses        819      801      -18     
Flag Coverage Δ
unit 93.75% <ø> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants