gilbert.collection module¶
- class gilbert.collection.Collection(site, default_type=<class 'gilbert.content.Content'>, loaders=None)¶
Bases:
objectCollection of content objects.
- load(path: Path, root: Path | None = None)¶
Recursively load all objects from a path.
- gilbert.collection.load_raw(path: Path) tuple[None | ByteString | str, dict]¶
For anything we don’t recognise, we load it as a Raw data.