Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'provider_init_hack',
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinxarg.ext',
Expand Down Expand Up @@ -678,6 +677,9 @@ def _get_params(root_schema: dict, prefix: str = "", default_section: str = "")
# Useful for debugging.
autoapi_keep_files = True

# Providers are namespace packages so we need to set this for them to be found.
autoapi_python_use_implicit_namespaces = True

# Relative path to output the AutoAPI files into. This can also be used to place the generated documentation
# anywhere in your documentation hierarchy.
autoapi_root = '_api'
Expand Down
4 changes: 2 additions & 2 deletions docs/exts/docs_build/docs_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def check_spelling(self, verbose: bool) -> List[SpellingError]:
os.makedirs(self.log_spelling_output_dir, exist_ok=True)

build_cmd = [
os.path.join(ROOT_PROJECT_DIR, "docs", "exts", "docs_build", "run_patched_sphinx.py"),
"sphinx-build",
"-W", # turn warnings into errors
"--color", # do emit colored output
"-T", # show full traceback on exception
Expand Down Expand Up @@ -213,7 +213,7 @@ def build_sphinx_docs(self, verbose: bool) -> List[DocBuildError]:
os.makedirs(self._build_dir, exist_ok=True)

build_cmd = [
os.path.join(ROOT_PROJECT_DIR, "docs", "exts", "docs_build", "run_patched_sphinx.py"),
"sphinx-build",
"-T", # show full traceback on exception
"--color", # do emit colored output
"-b", # builder to use
Expand Down
104 changes: 0 additions & 104 deletions docs/exts/docs_build/run_patched_sphinx.py

This file was deleted.

52 changes: 0 additions & 52 deletions docs/exts/provider_init_hack.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version
'sphinx>=2.1.2, <3.5.0',
'sphinx-airflow-theme',
'sphinx-argparse>=0.1.13',
'sphinx-autoapi==1.0.0',
'sphinx-autoapi~=1.5',
'sphinx-copybutton',
'sphinx-jinja~=1.1',
'sphinx-rtd-theme>=0.1.6',
Expand Down