Skip to content

docs: overhaul documentation structure and content#386

Merged
cofin merged 15 commits intomainfrom
chore/bump-v-abc
Mar 12, 2026
Merged

docs: overhaul documentation structure and content#386
cofin merged 15 commits intomainfrom
chore/bump-v-abc

Conversation

@cofin
Copy link
Member

@cofin cofin commented Mar 10, 2026

Summary

  • Restructured API reference into per-adapter, per-builder, and per-extension pages
  • Added new usage guides: ETL pipelines, filtering, and testing
  • Added recipes section with Dishka DI and service layer patterns
  • Streamlined installation page to Default/Performance tabs (table covers the rest)
  • Added VHS tape infrastructure for terminal demo GIF recordings
  • Added .gitignore entry for generated demo GIFs

cofin added 8 commits March 12, 2026 15:53
Restructure docs with expanded reference pages (per-adapter, per-builder,
per-extension), new usage guides (ETL, filtering, testing), recipes section
(Dishka DI, service layer), VHS demo tape infrastructure, and streamlined
installation page. Add gitignore for generated demo GIFs.
VHS parses unquoted parentheses and single quotes inside double-quoted
Type commands as separate commands. Switch to backtick-quoted strings
to avoid parsing errors.
…ements

- Improved descriptions in README.md and PYPI_README.md, emphasizing SQL injection prevention and added features like built-in storage layer and framework integrations.
- Refined example code for raw expressions, upsert, and multi-database configurations for better readability.
- Enhanced service layer pattern documentation with async and sync examples, including pagination and error handling.
- Updated various example scripts to streamline SQL execution and improve code clarity.
- Adjusted Pygments styles to remove redundant comments on keywords.
…hinx warnings

Redesign light/dark Pygments palettes to use 7 distinct hue sectors
instead of 3 blue variants, improving token differentiation in code
blocks. Sync CodeMirror playground colors to match. Improve code block
CSS container with subtle depth, gold accent border, and better spacing.

Fix two sphinx build warnings:
- Set explicit __signature__ on sql factory instance for autodoc
- Use py:data directive for database_group CLI object
…nature__ crash

The previous fix set __signature__ on the SQLFactory instance at module
level, but mypyc-compiled classes reject arbitrary attribute assignment.
Replace autofunction with py:data directive instead.
@cofin cofin force-pushed the chore/bump-v-abc branch from c3ee4ed to cce7bfc Compare March 12, 2026 16:02
cofin added 7 commits March 12, 2026 16:03
…ection

Add postgres extension auto-detection to ADBC adapter, matching asyncpg/psycopg/psqlpy
feature parity. On first provide_session() call with a PostgreSQL backend, queries
pg_extension for vector and pg_search extensions and upgrades the dialect accordingly.

- Add enable_pgvector/enable_paradedb flags to AdbcDriverFeatures
- Add detect_postgres_extensions() helper in core.py
- Cache detection on config instance (_pgvector_available/_paradedb_available)
- Update is_postgres_dialect() and type_converter for pgvector/paradedb dialects
- Add integration tests for pgvector (9 tests) and paradedb (8 tests)
- Add 12 unit tests for detection logic
- Update docs with extension dialect section and driver features reference
- Add explicit ::vector cast on INSERT params (ADBC sends text, postgres
  rejects implicit text→vector coercion)
- Ensure pgvector extension exists before config detection runs via
  _ensure_pgvector_extension session fixture
- Use result[i]["col"] instead of result.data[i]["col"] for ADBC dict
  access (ADBC .data returns raw tuples, __getitem__ materializes dicts)
…b tests

Replace result[i]["col"] and for-row-in-result patterns with the
established result.get_data()[i]["col"] convention used throughout
the ADBC test suite.
@cofin cofin merged commit fc24a72 into main Mar 12, 2026
17 checks passed
@cofin cofin deleted the chore/bump-v-abc branch March 12, 2026 20:45
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