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

Add Sphinx django model directive #117

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Coperh
Copy link
Contributor

@Coperh Coperh commented Oct 29, 2024

  • Sphinx role to print a formatted model field with its description and default value if it exists
  • Sphinx directive that prints the same as above for but for multiple fields in the same model

@Coperh Coperh force-pushed the feature/sphinx-model-directive branch 2 times, most recently from 1086598 to 6be6723 Compare October 29, 2024 12:37
@Coperh Coperh force-pushed the feature/sphinx-model-directive branch 2 times, most recently from cdaca28 to ea04d46 Compare December 4, 2024 10:10
@Coperh
Copy link
Contributor Author

Coperh commented Dec 4, 2024

@swrichards @stevenbal I saw that you might be interested in this so I rebased it onto master and made a few small changes with the role format and the default string.

@Coperh Coperh force-pushed the feature/sphinx-model-directive branch from ea04d46 to e1d1d84 Compare December 4, 2024 10:29
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.

1 participant