Skip to content

Conversation

@ahal
Copy link
Collaborator

@ahal ahal commented Jun 11, 2025

Alright this one is a bit silly, but it's something that's been bugging me for a really long time. First, this was partly made with AI. I used it to get the basic structure in place for a Sphinx extension that can modify only Schema instances. But then I made heavy manual modifications on top to get it to look the way I wanted and handle all sorts of edge cases.

Second, I don't expect any reviewers to actually dig in and understand how the autoschema.py works. I'm happy to walk through anything that folks want. But maybe a better way to illustrate what it's doing is with some before / after screenshots.

Before:
image

After:
image

@ahal ahal self-assigned this Jun 11, 2025
@ahal ahal force-pushed the ahal/push-xtusqkostmqv branch 2 times, most recently from 6f7383b to 4f4e7eb Compare June 12, 2025 19:26
@ahal ahal marked this pull request as ready for review June 12, 2025 20:42
@ahal ahal requested a review from a team as a code owner June 12, 2025 20:42
@ahal ahal requested a review from bhearsum June 12, 2025 20:42
@ahal
Copy link
Collaborator Author

ahal commented Jun 12, 2025

Please don't spend overly long trying to parse autoschema.py, unless you're a masochist.. the bar I'm going for here is "better than before" rather than perfect.

ahal added 4 commits June 17, 2025 09:38
The `#:` syntax is a special format that tells autodoc to include the
following object. This is better than using `:undoc-members:` which
would otherwise include every global variable in the modules.
@ahal ahal force-pushed the ahal/push-xtusqkostmqv branch from 4f4e7eb to 4c60f93 Compare June 17, 2025 13:38
Copy link
Contributor

@bhearsum bhearsum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a masochist, so this is somewhat a rubberstamp, but it seems to accomplish the goal, and seeing as autoschema.py is not shipping code, I don't think it needs an in-depth review.

@ahal ahal merged commit 0fc0e7a into taskcluster:main Jun 18, 2025
17 checks passed
@ahal ahal deleted the ahal/push-xtusqkostmqv branch June 18, 2025 16:00
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