incubator-airflow/docs
Ian Stanton bfbe486d9d
Fix typo in metrics doc (#12934)
2020-12-09 00:12:53 +00:00
..
apache-airflow Fix typo in metrics doc (#12934) 2020-12-09 00:12:53 +00:00
apache-airflow-providers Move providers docs to separate package + Spell-check in a common job with docs-build (#12527) 2020-11-22 09:29:51 +01:00
apache-airflow-providers-amazon Move task handlers guides to provider docs (#12826) 2020-12-07 23:10:46 +00:00
apache-airflow-providers-apache-cassandra Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-apache-druid Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-apache-hdfs Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-apache-hive Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-apache-kylin Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-apache-livy Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-apache-pig Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-apache-pinot Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-apache-spark Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-apache-sqoop Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-celery Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-cloudant Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-cncf-kubernetes Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-databricks Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-datadog Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-dingding Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-discord Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-docker Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-elasticsearch Move task handlers guides to provider docs (#12826) 2020-12-07 23:10:46 +00:00
apache-airflow-providers-exasol Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-facebook Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-ftp Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-google Move task handlers guides to provider docs (#12826) 2020-12-07 23:10:46 +00:00
apache-airflow-providers-grpc Move connection guides to provider documentation packages (#12653) 2020-11-28 08:09:53 +01:00
apache-airflow-providers-hashicorp Move secret backends guides to provider docs (#12798) 2020-12-04 21:58:36 +01:00
apache-airflow-providers-http Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-imap Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-jdbc Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-jenkins Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-jira Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-microsoft-azure Move task handlers guides to provider docs (#12826) 2020-12-07 23:10:46 +00:00
apache-airflow-providers-microsoft-mssql Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-microsoft-winrm Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-mongo Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-mysql Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-odbc Rename remaing modules to match AIP-21 (#12917) 2020-12-08 18:01:58 +00:00
apache-airflow-providers-openfaas Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-opsgenie Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-oracle Move connection guides to provider documentation packages (#12653) 2020-11-28 08:09:53 +01:00
apache-airflow-providers-pagerduty Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-papermill Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-plexus Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-postgres Move connection guides to provider documentation packages (#12653) 2020-11-28 08:09:53 +01:00
apache-airflow-providers-presto Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-qubole Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-redis Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-salesforce Move connection guides to provider documentation packages (#12653) 2020-11-28 08:09:53 +01:00
apache-airflow-providers-samba Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-segment Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-sendgrid Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-sftp Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-singularity Add example DAGs to provider docs (#12528) 2020-11-22 08:53:28 +01:00
apache-airflow-providers-slack Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-snowflake Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-sqlite Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-ssh Move connection guides to provider documentation packages (#12653) 2020-11-28 08:09:53 +01:00
apache-airflow-providers-telegram Add Telegram hook and operator (#11850) 2020-12-05 11:21:11 +00:00
apache-airflow-providers-vertica Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
apache-airflow-providers-yandex Move operator guides to provider documentation packages (#12681) 2020-11-30 08:48:24 +01:00
apache-airflow-providers-zendesk Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
exts Simplify publishing of documentation (#12892) 2020-12-09 00:03:22 +00:00
rtd-deprecation Fix build on RTD (#12551) 2020-11-23 09:52:24 +01:00
upgprade-check Added documentation for Airflow Upgrade Check (#12872) 2020-12-08 16:19:47 +00:00
README.rst Move apache-airflow docs to subdirectory (#12715) 2020-12-01 02:14:20 +01:00
build_docs.py Simplify publishing of documentation (#12892) 2020-12-09 00:03:22 +00:00
conf.py Add Telegram hook and operator (#11850) 2020-12-05 11:21:11 +00:00
list-roles.sh Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00
publish_docs.py Simplify publishing of documentation (#12892) 2020-12-09 00:03:22 +00:00
spelling_wordlist.txt Add support for dynamic connection form fields per provider (#12558) 2020-12-08 16:00:37 +01:00
start_doc_server.sh Separate out documentation building per provider (#12444) 2020-11-20 15:35:56 +01:00

README.rst

 .. Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

 ..   http://www.apache.org/licenses/LICENSE-2.0

 .. Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

Documentation
#############

This directory contains documentation for the Apache Airflow project and other packages that are closely related to it ie. providers packages.  Documentation is built using `Sphinx <https://www.sphinx-doc.org/>`__.

For Helm Chart, see: `/chart/README.md <../chart/READMe.md>`__

Development documentation preview
==================================

Documentation from the ``master`` branch is built and automatically published: `s.apache.org/airflow-docs <s.apache.org/airflow-docs>`_

Documentation for your PRs is available as downloadable artifact in GitHub Actions after the CI builds your PR.

Building documentation
======================

To generate a local version you can use `<../BREEZE.rst>`_.

The documentation build consists of verifying consistency of documentation and two steps:

* spell checking
* building documentation

You can only run one of the steps via ``--spellcheck-only`` or ``--docs-only``.

.. code-block:: bash

    ./breeze build-docs

or just to run spell-check

.. code-block:: bash

     ./breeze build-docs -- --spellcheck-only

or just to run documentation building

.. code-block:: bash

     ./breeze build-docs -- --docs-only

Troubleshooting
---------------

If you are creating ``example_dags`` directory, you need to create ``example_dags/__init__.py`` with Apache
license or copy another ``__init__.py`` file that contains the necessary license.

Cross-referencing syntax
========================

Cross-references are generated by many semantic interpreted text roles.
Basically, you only need to write:

.. code-block:: rst

    :role:`target`

And a link will be
created to the item named *target* of the type indicated by *role*. The link's
text will be the same as *target*.

You may supply an explicit title and reference target, like in reST direct
hyperlinks:

.. code-block:: rst

    :role:`title <target>`

This will refer to *target*, but the link text will be *title*.

Here are practical examples:

.. code-block:: rst

    :class:`airflow.models.dag.DAG` - link to Python API reference documentation
    :doc:`/docs/operators` - link to other document
    :ref:`handle` - link to section in current or another document

    .. _handle:

    Section title
    ----------------------------------

Role ``:class:`` works well with references between packages. If you want to use other roles, it is a good idea to specify a package:

.. code-block:: rst

    :doc:`apache-airflow:installation`
    :ref:`apache-airflow-providers-google:write-logs-stackdriver`

If you still feel confused then you can view more possible roles for our documentation:

.. code-block:: bash

    ./list-roles.sh

For more information, see: `Cross-referencing syntax <https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html>`_ in Sphinx documentation

Support
=======

If you need help, write to `#documentation <https://apache-airflow.slack.com/archives/CJ1LVREHX>`__ channel on `Airflow's Slack <https://s.apache.org/airflow-slack>`__