Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Docs audit 2026-10-06: retire stale and duplicate Python bindings docs #228

Closed

Description

@tae898

Weekly stale-documentation audit of bindings/python/docs, run on 2026-10-06 against main at c69d576 and the 26.10.1 wheel on PyPI (the one that shipped from 629b242). The user's instruction for this audit: retire and remove stale docs so they do not pile up.

Stale or wrong statements found

Known issues and guide, against what upstream fixed on 2026-10-06 (milestone 26.11.1, not released):

Testing pages, against the real files in bindings/python/tests/:

  • test-transaction-config.md said set_auto_transaction defaults to True. It is off (source docstring, api/database.md).
  • overview.md said test_example11_degree_matching.py skips when examples/11 is absent. It does not skip. Its marker table missed test_failed_server_start_does_not_hang_process_exit. Its file table left out 12 of the 62 test files (parameter binding, bulk JSON paths, conversion fixes, results after close, read errors, the wheel size gate, and the four engine-finding files, among others).
  • The per-file pages disagree with the files: test-bulk-insert.md omits seven of its file's tests and describes two that live in test_bridge_fixes.py, test-async-executor.md omits four, test-core.md omits two, and so on. test-docs-examples.md said the module skips without docs/. It is left out of collection by conftest.py.
  • best-practices.md said a write without a transaction "may fail". It raises "Transaction not begun" (auto-transaction is off), and its usage examples duplicated the guide.

Other pages:

  • development/troubleshooting.md had four wrong entries (an unquoted string filter returns [] and does not raise, the numpy Document.set error text, the vector dimension mismatch exception type, and three create-if-missing recipes that now use IF NOT EXISTS and UPSERT) and five entries that were generic or described an error that does not exist.
  • api/schema.md said get_or_create_property refuses a PropertyType for of_type. It converts it. api/database.md lacked the schema property and the set_wal_flush default.
  • Package sizes (README, index, installation, distributions) are now the measured 26.10.1 Linux wheel (34 MiB of JARs, 63 MiB JRE, 97 MiB installed, 8.58 MB server stack), with the per-platform wheel sizes from PyPI.
  • bridge.md, architecture.md, contributing.md, release.md, and build-architecture.md carried a closed bridge bug as open, a type-mapping table that said datetime crosses as java.util.Date, a test tree that listed a fraction of the files, the PyPI size advice, and a jar_exclusions sample that showed two lines of a 15-pattern file.

Gremlin, GraphML, and GraphSON

No page presents them as supported. The pages that mention them say the wheel does not bundle them (api/exporter.md, api/database.md, java-api-coverage.md, architecture.md), which matches the exporter code and its test. The Gremlin line in the official-server list of api-access-methods.md is gone.

Dead and duplicate pages

Deleted:

  • development/testing/ (all 46 pages): the per-file pages restate the tests' own names and docstrings and had drifted. The one remaining page, development/testing.md, has a table with every test file (all 62, none missing), the markers, the zero-skips gate as it is now, what the docs tests run, and the "Writing a test for this suite" section from best-practices.md.
  • examples/basic.md, examples/import.md, examples/vectors.md: thin pointers that examples/index.md and the guide already cover.
  • getting-started/distributions.md: duplicated installation.md and index.md; its unique content moved into installation.md. Two needles in tests/test_docs_examples.py that read it are removed with it.

Cut as thin duplicates of the guide: the "Complete Examples", "Performance Tips", and "Usage Patterns" sections of api/transactions.md, api/results.md, api/server.md, api/vector.md, api/exceptions.md, and api/type_conversion.md; generic template and style sections of development/contributing.md and documentation.md.

Kept as written: the five benchmarks/ pages (every file, flag, and gate they name exists), api/jvm.md, api/exporter.md, ci-setup.md, sync-upstream.md, and upstream-pr.md (outside the #164 hunks), and every example page except where noted. All other API, guide, and development pages were checked against the source and edited only where they were wrong or duplicated.

Not fixed here (code or other owners)

Checks

Strict mkdocs build with anchor validation turned on, tests/test_docs_examples.py (7 passed, 0 skipped), scripts/check_test_skips.py on its JUnit file, pre-commit run --files, and bandit on src and tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions