user_workspaces_server.sphinx_ext package
Submodules
user_workspaces_server.sphinx_ext.json_schema_autodoc module
Sphinx extension for automatic configuration documentation from JSON schemas.
This extension generates RST documentation from JSON Schema definitions, keeping documentation in sync with validation rules automatically.
- user_workspaces_server.sphinx_ext.json_schema_autodoc.generate_field_doc(field_name, field_def, is_required, indent=0)[source]
Generate RST documentation for a single configuration field.
- user_workspaces_server.sphinx_ext.json_schema_autodoc.generate_controller_doc(schema)[source]
Generate RST documentation for a controller schema.
- Parameters:
schema (
JSONSchemaWrapper) – The JSON schema wrapper- Return type:
- Returns:
RST formatted string documenting the controller
- user_workspaces_server.sphinx_ext.json_schema_autodoc.generate_category_doc(category, schemas)[source]
Generate RST documentation for a category of controllers.
- Parameters:
category (
str) – Category name (resources, storage, authentication, job_types)schemas (
Dict[str,JSONSchemaWrapper]) – Dictionary of JSON schemas in this category
- Return type:
- Returns:
RST formatted string documenting all controllers in the category
- user_workspaces_server.sphinx_ext.json_schema_autodoc.generate_config_reference(output_dir)[source]
Generate complete configuration reference documentation.
- Parameters:
output_dir (
str) – Directory to write documentation files
Module contents
Sphinx extensions for User Workspaces Server documentation.