Skip to content

[bot] Merge master/1cf96b99 into rel/dev#1428

Merged
yenkins-admin merged 3 commits intorel/devfrom
snapshot-master-1cf96b99-to-rel/dev
Mar 16, 2026
Merged

[bot] Merge master/1cf96b99 into rel/dev#1428
yenkins-admin merged 3 commits intorel/devfrom
snapshot-master-1cf96b99-to-rel/dev

Conversation

@yenkins-admin
Copy link
Copy Markdown
Contributor

🚀 Automated PR to perform merge from master into rel/dev with changes up to 1cf96b9 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/23155515295).

hkad98 and others added 3 commits March 16, 2026 09:57
The docs json_builder.py script expects Google-style docstrings but several
functions used RST-style (:param/:return:), had missing summary lines before
Args sections, or had improperly indented continuation lines — all causing
"Invalid docstring" warnings during docs generation.

jira: TRIVIAL
risk: low
…rer pipeline

Replace 136 manually maintained method documentation pages with a directive-based
system where signature, parameters, and returns are auto-generated from code
docstrings via griffe static AST analysis.

Key changes:

- Add griffe_builder.py: static AST replacement for json_builder.py — produces
  identical data.json without requiring package installation (~1.1s vs ~1.8s)
- Add method_page_renderer.py: pre-renders method pages from api_ref frontmatter,
  with type names hyperlinked to API reference pages via links.json
- Add migrate_method_pages.py: one-time migration that converted 136 pages to
  api_ref directive format, preserving hand-written Example sections
- Update python_ref_builder.py: fix dedup bug that skipped recursion into
  duplicate-named modules (e.g. CatalogWorkspace was unreachable), add
  --export-links flag to export type->URL mapping for method_page_renderer
- Update generate.sh and generate-single-version.sh: prefer griffe over legacy
  json_builder, call method_page_renderer with --links-json
- Fix 9 docstrings with invalid "Args: None" pattern and 3 with missing blank
  lines before Args/Returns sections
- Delete 12 unused Hugo shortcode/partial templates (api-ref-*, parameter*)
- Add 91 unit tests (up from 33) covering griffe builder, method renderer,
  link resolution, frontmatter parsing, idempotency, and edge cases
- Update scripts/docs/README.md with new pipeline documentation

jira: trivial
risk: nonprod
@yenkins-admin yenkins-admin merged commit ebaa854 into rel/dev Mar 16, 2026
1 check passed
@yenkins-admin yenkins-admin deleted the snapshot-master-1cf96b99-to-rel/dev branch March 16, 2026 16:53
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.36%. Comparing base (b95ca11) to head (1cf96b9).
⚠️ Report is 457 commits behind head on rel/dev.

Additional details and impacted files
@@           Coverage Diff            @@
##           rel/dev    #1428   +/-   ##
========================================
  Coverage    77.36%   77.36%           
========================================
  Files          228      228           
  Lines        14775    14775           
========================================
  Hits         11430    11430           
  Misses        3345     3345           

☔ View full report in Codecov by Sentry.
📢 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.

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.

2 participants