Docs build: switch to https://crate.io/docs/crate/reference/en/latest

Aperta
#933 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

The broken links come from the reference URL in docs/source/conf.py, around line 81, which the issue links to at a pinned commit. Compare the current crate.io reference docs layout with the old /en/stable/ path, and check the nginx redirect rules the issue quotes to see which version segment the new URL should use. Done when the docs build no longer returns 404s for that link and the chosen URL matches the one the maintainers settle on in the thread.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation

Recent CI failures revealed the 404s.

Previous https://crate.io/docs/crate/reference/en/stable/ was combined with nginx config redirects

# Rewrite invalid versions to use `latest` (i.e., `en/<VERSION>` where
# `VERSION` is not equal to `latest`, `master`, or a MAJOR.MINOR version
# number)
rewrite ^/docs/(crate)/([^/]+)/en/(?!(latest|master|\d+\.\d+)/)([^/]+)/(.*)?$ /docs/$1/$2/en/latest/$5 permanent;

As a quick workaround we've the Hubspot redirect in place.

This ticket is about the "proper" solution.

Lingua principale
Python
Stelle
27
Fork
10
Merge medio
1g 23h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di crate/crate-operator

Tutte le issue di crate/crate-operator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.