Skip to content

Docs/overhaul - #24

Merged
danielhasan1 merged 2 commits into
devfrom
docs/overhaul
Aug 18, 2026
Merged

Docs/overhaul#24
danielhasan1 merged 2 commits into
devfrom
docs/overhaul

Conversation

@danielhasan1

Copy link
Copy Markdown
Owner

No description provided.

Closes a discoverability gap, not a code bug (#20): the default
sort_mapper resolves fields statically, which can't reach a column
that only exists on a per-request CTE. context.order_by() already
supports any SQLAlchemy column-like object; this just shows the
custom-sorter + extra_context pattern to get there.
- Fix dead Sphinx cross-references in tutorials.rst/filters.rst (labels
  that never existed - dao, models, router, schema, adapter).
- Fix broken code samples in query.rst: strategy_factory.register()
  doesn't exist (register_strategy), a stray quote made 'case _" :' a
  syntax error, and the second query-strategy example still used the
  pre-0.4.0 raw Query/get_query() -> Query shape, contradicting the
  QueryContext section a few paragraphs below it in the same file.
- Update basics.rst's DAO section, which was written as if SQLAlchemy
  is the only possible backend and never got a 0.4.0 pass.
- Split README examples that showed two sequential 'return' statements
  in one function (the second unreachable) into separate snippets.
- Fix dozens of typos and tighten grammar throughout; reduce emoji and
  align tone with the 0.4.0-era additions (query.rst escape hatches,
  sorter.rst CTE section, CHANGELOG.md) so the doc set reads as one
  voice instead of two.
- Verified with a real Sphinx build (-W --keep-going -n): zero
  cross-reference/label warnings, only the pre-existing, unrelated
  missing _static path warning remains.
@danielhasan1
danielhasan1 merged commit e68800b into dev Aug 18, 2026
10 checks passed
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