Skip to content

[bot] Merge master/4289ee2a into rel/dev#1431

Merged
yenkins-admin merged 2 commits intorel/devfrom
snapshot-master-4289ee2a-to-rel/dev
Mar 16, 2026
Merged

[bot] Merge master/4289ee2a into rel/dev#1431
yenkins-admin merged 2 commits intorel/devfrom
snapshot-master-4289ee2a-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 4289ee2 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/23162757119).

hkad98 and others added 2 commits March 16, 2026 20:21
…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
fix(docs): add attrs/cattrs to script-requirements.txt
@yenkins-admin yenkins-admin merged commit 85d990b into rel/dev Mar 16, 2026
1 check passed
@yenkins-admin yenkins-admin deleted the snapshot-master-4289ee2a-to-rel/dev branch March 16, 2026 19:47
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