Repository navigation
Mark generated PyDABs doc pages as auto-generated - #7140
Merged
Merged
Conversation
The .rst pages under python/docs/ have been generated by pydabs-codegen since #6727, but #6394 predates that and only covered the Python modules and test data. Mark index.rst and the per-resource pages as generated; databricks.bundles.core.rst stays hand-written. Co-authored-by: Isaac <no-reply@databricks.com>
Collaborator
Integration test reportCommit: f55eb27
Top 3 slowest tests (at least 2 minutes):
|
andrewnester
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Add
python/docs/.gitattributesmarkingindex.rstand the per-resourcedatabricks.bundles.*.rstpages aslinguist-generated.databricks.bundles.core.rstis hand-written and stays visible.Why
pydabs-codegen has written these pages since #6727 (
python/codegen/codegen/generated_docs.py), but the gitattributes from #6394 predate it and only cover the Python modules and test data. So new-resource PRs like #7094 show the doc pages as regular diffs.python/databricks_tests/core/public_api.txtis left unmarked on purpose: it's the golden snapshot of the hand-writtencoreAPI, and reviewers are meant to see changes to it.Tests
git check-attr linguist-generatedresolves totrueforindex.rstanddatabricks.bundles.jobs.rst, and tofalsefordatabricks.bundles.core.rst.This pull request and its description were written by Isaac.