Inventory item.
Signature: __init__(self, name: str, domain: str, role: str, uri: str, priority: str = '1', dispname: Optional[str] = None)
Initialize the object.
Parameters:
Signature: format_sphinx(self) -> str
Format this item as a Sphinx inventory line.
Returns:
objects.inv file.Signature: parse_sphinx(line: str) -> InventoryItem
Parse a line from a Sphinx v2 inventory file and return an InventoryItem from it.
Inventory of collected and rendered objects.
Signature: __init__(self, items: Optional[List[pyhugodoc.inventory.InventoryItem]] = None, project: str = 'project', version: str = '0.0.0')
Initialize the object.
Parameters:
Signature: format_sphinx(self) -> bytes
Format this inventory as a Sphinx objects.inv file.
Returns:
Signature: parse_sphinx(in_file: BinaryIO, *, domain_filter: Collection[str] = ()) -> Inventory
Parse a Sphinx v2 inventory file and return an Inventory from it.
Parameters:
Returns:
Inventory containing the collected InventoryItems.Signature: register(self, args, kwargs)
Create and register an item.
Parameters: