jaegertracing / jaegertracing/documentation

Replace hardcoded redirect rule by page-specific alias

Open
#929 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
84
Forks
192
Avg merge
12h 25m
Merged PRs (30d)
4

Description

_Originally posted by @yurishkuro in https://github.com/jaegertracing/documentation/pull/917#discussion_r2126704933_:

> ```liquid
> {{ $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

- [x] #930
- [x] #932
- [x] #933
- [ ] ...

Contributor guide

Open the contributing guide

Research direction

Start with the Liquid redirect rule shown in the issue and review the linked work in #930, #932, and #933. Replace the hardcoded page list with the permanent Docsy-based, page-specific alias approach; done means the various pages redirect correctly without maintaining a hardcoded list.

Written by the indexing model from the issue text.

Assessment

Tech stack
hugo
Domain
documentation
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.