chimcla.util_doc¶
Module to prepare and execute the generation of documentation (via sphinx).
used by some chimcla ... commands.
Module Contents¶
Classes¶
Functions¶
Watch file system changes (by polling) and trigger build on changes. |
Data¶
API¶
- chimcla.util_doc.FILE_NAME¶
None
- chimcla.util_doc.generate_module_docs(package_path: str | None = None, output_dir: str | None = None)[source]¶
- class chimcla.util_doc.DocumentationGenerator[source]¶
Bases:
watchdog.events.FileSystemEventHandler- dispatch(event: watchdog.events.FileSystemEvent) None¶
- on_any_event(event: watchdog.events.FileSystemEvent) None¶
- on_moved(event: watchdog.events.DirMovedEvent | watchdog.events.FileMovedEvent) None¶
- on_created(event: watchdog.events.DirCreatedEvent | watchdog.events.FileCreatedEvent) None¶
- on_deleted(event: watchdog.events.DirDeletedEvent | watchdog.events.FileDeletedEvent) None¶
- on_closed(event: watchdog.events.FileClosedEvent) None¶
- on_closed_no_write(event: watchdog.events.FileClosedNoWriteEvent) None¶
- on_opened(event: watchdog.events.FileOpenedEvent) None¶