Skip to content

Nested documentation redirects not working #8255

@jrbourbeau

Description

@jrbourbeau

I noticed that our documentation redirect which use nested URLs

dask/docs/source/conf.py

Lines 362 to 374 in e98d4f2

("setup/cli.html", "how-to/deploy-dask/cli.html"),
("setup/cloud.html", "how-to/deploy-dask/cloud.html"),
("setup/docker.html", "how-to/deploy-dask/docker.html"),
("setup/hpc.html", "how-to/deploy-dask/hpc.html"),
("setup/kubernetes.html", "how-to/deploy-dask/kubernetes.html"),
("setup/python-advanced.html", "how-to/deploy-dask/python-advanced.html"),
("setup/single-distributed.html", "how-to/deploy-dask/single-distributed.html"),
("setup/single-machine.html", "how-to/deploy-dask/single-machine.html"),
("setup/ssh.html", "how-to/deploy-dask/ssh.html"),
("setup/adaptive.html", "how-to/adaptive.html"),
("setup/custom-startup.html", "how-to/customize-initialization.html"),
("setup/environment.html", "how-to/manage-environments.html"),
("setup/prometheus.html", "how-to/setup-prometheus.html"),

don't redirect properly. For example, we want https://docs.dask.org/en/latest/setup/cloud.html to redirect to https://docs.dask.org/en/latest/how-to/deploy-dask/cloud.html, however today we're redirected to https://docs.dask.org/en/latest/setup/how-to/deploy-dask/cloud.html instead (note that setup/ is still in the URL) which doesn't exist.

cc @jacobtomlinson @jsignell for visibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprove or add to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions