Skip to content

Replace hardcoded redirect rule by page-specific alias #929

@chalin

Description

@chalin

Originally posted by @yurishkuro in #917 (comment):

{{ $v2Pages := slice "apis" "architecture" "deployment" "faq" "features" "frontend-ui" "getting-started" "monitoring" "operator" "performance-tuning" "sampling" "security" "troubleshooting" "windows" -}}
{{ range $v2Pages }}
/docs/{{ . }}     /docs/{{ $latest }}/{{ . }}
{{ end -}}

This seems pretty fragile, can we not read the file names for the dir instead of hardcoding them?

@chalin responded:

Yes, good point. Note that this is a temporary solution, one that is meant to be equivalent to what was there before. I.e., it is no more fragile than before.

This issue is meant to track the permanent (Docsy-based) solution for the various pages.

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions