Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Example subsection to each class (using validation/models.yaml). #601

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

larrybabb
Copy link
Contributor

@larrybabb larrybabb commented Nov 25, 2024

manually copied validation/models.yaml examples to static Examples subsection within each class page.
Resolves #562

@jsstevenson
Copy link
Contributor

fwiw, this strikes me as (for maintainability purposes) the kind of thing that you'd either want to be validating at build time, or generating with a custom hook to ensure that changes to the validation models file are reflected in the docs

@larrybabb
Copy link
Contributor Author

@jsstevenson absolutely. this is a "quick and dirty" plan to get it done for the public comment this week. I will add a task to automate and keep things in sync for the long term.

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.

Create examples in docs pages
2 participants