docs/build_docs.py
"""Documentation builder for Airflow."""
    def __init__(self, package_name: str):
        self.package_name = package_name
    @property
    def _doctree_dir(self) -> str:
        return f"{DOCS_DIR}/_doctrees/docs/{self.package_name}"
    @property
    def _out_dir(self) -> str:
        if self.package_name == 'apache-airflow-providers':
            
            
            return f"{DOCS_DIR}/_build/docs/{self.package_name}"
        else:
            return f"{DOCS_DIR}/_build/docs/{self.package_name}/latest"
    @property
    def _src_dir(self) -> str:
        return f"{DOCS_DIR}/{self.package_name}"
    def clean_files(self) -> None: