Make a contribution guide
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- html, javascript, jekyll, ruby
- Ambito
- documentation
Direzione di ricerca
Inizia esaminando _config.yml e le directory _layouts, _sections e _wiki, quindi consulta la documentazione di Jekyll collegata. La guida ai contributi dovrebbe spiegare la struttura del repository, la gestione delle immagini, i riferimenti ai file, i layout, i browser supportati e i fallback JavaScript, come descritto nell’issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Should cover things like:
- Image optimization BEFORE commit
- https://imageoptim.com/versions.html or similar
- This is to avoid making a
git clonebe needlessly large. Committing one version and then later committing an optimized version still ends up with both versions in the git repo. Rewrite your commits to fix this (git rebase -i origin/mainand follow instructions)
- Image usage
<picture>preferring webp with png fallback?
- Suggest the contributor to read the Jekyll docs: https://jekyllrb.com/docs/ but also write the guide assuming contributors have not read this thoroughly, for now.
- Referencing other files (using
{% link %}etc)- It's a compile-time file check, basically
- Site structure
- What goes where and what's what
/assets/: generic site assets/_sections/: pages that get their title assigned to the website root, e.g./_sections/blarg.mdwithtitle: Testin front matter getshttp://site/Testas permalink, but try to keep file name (and casing) consistent with the title used./_wiki/: uses the path of the file as permalink and defaults to thewikipagelayout, e.g._wiki/Install/Linux.mdbecomeshttps://site/Install/Linux- Generic Jekyll files:
/_config.yml: main Jekyll config, see Configuration | Jekyll/index.md: frontpage content, see front matter for which layout is used/404.html: the 404 (page not found) page used/Gemfile(andGemfile.lock): ruby files used by rubygems andbundler, see Ruby(?) docs.
- Generic folders:
/_data/: data accessible via{{ site.data }}, see Data Files | Jekyll/_includes/: files used in{% include <file> %}statements, see Includes | Jekyll/_layouts/: files used for layouts, inheritance is heavily used here, see Layouts | Jekyll/_site/: Contains the processed/built site. Should never be in VCS/git.vendor: Your local ruby files. Should never be in VCS/git.
- What happens in different folders (
collectionsarray in/_config.ymltells us most of that) - Detail usage of
/_layouts- also mention that wiki collections (
/_wikifiles) always use thewikipagelayout, anything else uses thedefaultlayout, and inheritance is used (e.g. layoutwikipagedefiningdefaultas its layout, which replaces{{ content }}indefaultwithwikipagecontents) (link to Jekyll docs for layouts)
- also mention that wiki collections (
- What goes where and what's what
- Target browsers (Chrome and Firefox, both on Mobile and Desktop - if Chrome works most things should work)
- Usage of JavaScript
- Keep to a minimum, but if you have to use it, always consider noscript/no-JS users - at the very least, have a scriptless fallback.
Additions welcome
- Lingua principale
- HTML
- Stelle
- 40
- Fork
- 10
- Merge medio
- 1h 32m
- PR unite (30g)
- 4
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenTabletDriver/opentabletdriver.github.io
-
wiki
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
enhancement good first issue wiki
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug wiki
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
OpenTabletDriver/opentabletdriver.github.io#302 · 1 commento ·
-
enhancement wiki
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
OpenTabletDriver/opentabletdriver.github.io#299 · 2 commenti ·
Tutte le issue di OpenTabletDriver/opentabletdriver.github.io
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
supadata-ai/mcp#27 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Albert-Weasker/niubigeo#194 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
Esri/calcite-dotnet-toolkit#30 · 1 reazione ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
supabase/agent-skills#623 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100