Skip to content

Commit

Permalink
Fix doc redirects (#39039)
Browse files Browse the repository at this point in the history
* Fix doc redirects

* Fix other redirects + add explanations about "../"

(cherry picked from commit 40bddb3)
  • Loading branch information
vincbeck authored and jedcunningham committed Apr 26, 2024
1 parent 394821f commit 2970e35
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/apache-airflow/redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@

administration-and-deployment/security/index.rst security/index.rst
administration-and-deployment/security/kerberos.rst security/kerberos.rst
administration-and-deployment/security/access-control.rst ../../apache-airflow-providers-fab/stable/auth-manager/access-control.rst
administration-and-deployment/security/access-control/index.rst ../../apache-airflow-providers-fab/stable/auth-manager/access-control.rst

# Moving FAB auth manager related docs to providers
## The ``../`` indicates that it will move to the root of the docs directory, unlike the rest of
## the entries here which move to docs/apache-airflow.
## It's okay to include ``/stable/``, because there's no relationship between a version of
## Airflow and the version of any provider package.

administration-and-deployment/security/access-control.rst ../apache-airflow-providers-fab/stable/auth-manager/access-control.rst
administration-and-deployment/security/access-control/index.rst ../apache-airflow-providers-fab/stable/auth-manager/access-control.rst
administration-and-deployment/security/api.rst security/api.rst
administration-and-deployment/security/audit_logs.rst security/audit_logs.rst
administration-and-deployment/security/flower.rst security/flower.rst
Expand All @@ -37,7 +44,7 @@ howto/use-alternative-secrets-backend.rst security/secrets/secrets-backend/index
security.rst security/index.rst

# Move the documentation from core to FAB provider
security/access-control.rst ../../apache-airflow-providers-fab/stable/auth-manager/access-control.rst
security/access-control.rst ../apache-airflow-providers-fab/stable/auth-manager/access-control.rst

# Operators guides
howto/operator/external.rst howto/operator/external_task_sensor.rst
Expand All @@ -47,7 +54,7 @@ howto/customize-dag-ui-page-instance-name.rst howto/customize-ui.rst#customizing
howto/customize-state-colors-ui.rst howto/customize-ui.rst#customizing-state-colours

# Web UI
howto/add-new-role.rst ../../apache-airflow-providers-fab/stable/auth-manager/access-control.rst
howto/add-new-role.rst ../apache-airflow-providers-fab/stable/auth-manager/access-control.rst

# Set up a database
howto/initialize-database.rst howto/set-up-database.rst
Expand Down

0 comments on commit 2970e35

Please sign in to comment.