-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move schemas from config and context into their own files under the antsibull/schemas directory. * Move doc parsing related schemas to antsibull/schemas/docs. * Add a deprecated antsibull.schemas.ansible_doc module for backwards compat. The new location is antsibull.schemas.docs.ansible_doc * Extract validators for converting booleans and None from strings to a schemas/validators.py file. These were used by both config and context so it makes sense to put them in one place. * Move ContextDict into utils.collections to avoid circular import. The app_context.py code requires the context schemas and the context schemas require the ContextDict data structure. ContextDict was living in app_context.py which would lead to a circular import. Moving it to utils/collections.py breaks the cycle. * Update documentation and tests for the new location of docs schemas
- Loading branch information
Showing
16 changed files
with
534 additions
and
500 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.