quarto-dev / quarto-dev/quarto-cli

Allow to use other Git hosts for "GitHub Links"

Aperta
#5,301 9 commenti 13 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement websites
Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Descrizione

As highlighted in the discussion below, it would be great to allow users to use GitLab, BitBucket, Gitea, for the "GitHub Links", and not only GitHub.

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/5281

Originally posted by christophsax April 23, 2023
In Quarto, there is the lovely feature that directly links to the edit page on GitHub. At first glance, this seems to work for other platforms, such as Gitea, as well. However, quarto points to edit, Gitea expects it at _edit.

Is there any way the edit link can be tweaked?

This is where Quarto links to: .../edit/main/index.qmd
This is how a Gitea edit link looks like: .../_edit/main/index.qmd

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Start with discussion 5281 and the existing “GitHub Links” entry point that builds edit URLs; the payload names no source file or test. Compare the URL conventions described for GitLab, BitBucket, and Gitea. Done means users can use those hosts, including Gitea’s _edit path rather than only GitHub’s edit path.

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

Valutazione

Stack tecnologico
javascript
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.