Skip to content

Nested documentation redirects not working #8255

Closed

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

Activity

  1. added
    documentation
    on Oct 13, 2021
  2. jsignell commented on Oct 18, 2021

    @jsignell
    Member

    Rats. Thanks for wrtiting this up James. I will take a look. Worst comes to worst I can just move them all back.

  3. jrbourbeau commented on Oct 21, 2021

    @jrbourbeau
    MemberAuthor

    Closed via #8272 (thanks again @jsignell)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions