Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/apache-airflow/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ installation with other tools as well.

.. note::

Airflow is also distributed as a Docker image (OCI Image). Consider using it to guarantee that software will always run the same no matter where it is deployed. For more information, see: :doc:`docker-stack:index`.
Airflow is also distributed as a Docker image (OCI Image). For more information, see: :ref:`docker_image`

Prerequisites
'''''''''''''
Expand Down
847 changes: 846 additions & 1 deletion docs/apache-airflow/production-deployment.rst

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/apache-airflow/start/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ To stop and delete containers, delete volumes with database data and download im
Notes
=====

By default, the Docker Compose file uses the latest Airflow image (`apache/airflow <https://hub.docker.com/r/apache/airflow>`__). If you need, you can :doc:`customize and extend it <docker-stack:index>`.
By default, the Docker Compose file uses the latest Airflow image (`apache/airflow <https://hub.docker.com/r/apache/airflow>`__). If you need, you can :ref:`customize and extend it <docker_image>`.

What's Next?
============
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'providers_packages_ref',
]
)
elif PACKAGE_NAME in ("helm-chart", "docker-stack"):
elif PACKAGE_NAME == "helm-chart":
# No extra extensions
pass
else:
Expand Down
212 changes: 0 additions & 212 deletions docs/docker-stack/build-arg-ref.rst

This file was deleted.

380 changes: 0 additions & 380 deletions docs/docker-stack/build.rst

This file was deleted.

201 changes: 0 additions & 201 deletions docs/docker-stack/entrypoint.rst

This file was deleted.

Binary file removed docs/docker-stack/img/docker-logo.png
Binary file not shown.
54 changes: 0 additions & 54 deletions docs/docker-stack/index.rst

This file was deleted.

70 changes: 0 additions & 70 deletions docs/docker-stack/recipes.rst

This file was deleted.

11 changes: 5 additions & 6 deletions docs/exts/airflow_intersphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,14 @@ def _generate_provider_intersphinx_mapping():
f'/docs/apache-airflow/{current_version}/',
(doc_inventory if os.path.exists(doc_inventory) else cache_inventory,),
)
for pkg_name in ['apache-airflow-providers', 'docker-stack']:
if os.environ.get('AIRFLOW_PACKAGE_NAME') == pkg_name:
continue
doc_inventory = f'{DOCS_DIR}/_build/docs/{pkg_name}/objects.inv'
cache_inventory = f'{DOCS_DIR}/_inventory_cache/{pkg_name}/objects.inv'

if os.environ.get('AIRFLOW_PACKAGE_NAME') != 'apache-airflow-providers':
doc_inventory = f'{DOCS_DIR}/_build/docs/apache-airflow-providers/objects.inv'
cache_inventory = f'{DOCS_DIR}/_inventory_cache/apache-airflow-providers/objects.inv'

airflow_mapping['apache-airflow-providers'] = (
# base URI
f'/docs/{pkg_name}/',
'/docs/apache-airflow-providers/',
(doc_inventory if os.path.exists(doc_inventory) else cache_inventory,),
)

Expand Down
Loading