init docforge lib

This commit is contained in:
2026-01-20 18:22:16 +05:30
parent 86a4f8f41a
commit a45725160d
28 changed files with 3486 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
"""Type stubs for doc-forge loader package."""
from typing import Any, Dict, List, Optional, Union
from pathlib import Path
from docforge.model import Project, Module
class GriffeLoader:
"""Loads Python modules using Griffe introspection."""
def __init__(self) -> None: ...
def load_project(self, module_paths: List[str]) -> Project: ...
def load_module(self, path: str) -> Module: ...
def resolve_aliases(self, project: Project) -> None: ...