Make a contribution guide
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 45/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- html, javascript, jekyll, ruby
研究方向
先檢視 _config.yml、_layouts、_sections 和 _wiki 目錄,然後參閱連結的 Jekyll 文件。貢獻指南應按照 issue 中的描述,說明 repository 結構、圖片處理、檔案參照、layouts、支援的瀏覽器以及 JavaScript fallbacks。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- HTML
- 星號
- 40
- 分支
- 10
- 平均合併
- 32 分鐘
- 30 天內合併 PR
- 4
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
OpenTabletDriver/opentabletdriver.github.io 的其他 Issue
-
wiki
難度 1/5 1 小時以內 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 74/100
-
enhancement good first issue wiki
難度 2/5 1-3 小時 新手友好度 68/100
-
bug wiki
難度 2/5 1-3 小時 新手友好度 65/100
OpenTabletDriver/opentabletdriver.github.io#302 · 1 則留言 ·
-
enhancement wiki
難度 2/5 1-3 小時 新手友好度 62/100
OpenTabletDriver/opentabletdriver.github.io#299 · 2 則留言 ·
查看 OpenTabletDriver/opentabletdriver.github.io 的全部 Issue
相似的 Issue
-
area:docs documentation good first issue priority:low
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
processing/p5.sound.js#123 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
BuilderIO/agent-native#7275 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
mealie-recipes/mealie#8681 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
awslabs/agentcore-samples#2178 ·
維護者通常 1 天內回覆