Introduce automated documentation linting
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- markdown
- 領域
- documentation, tooling
調査の方向性
リポジトリのファイルやテストは指定されていません。まず、リンクされている Vale、GitLab technical-writing、および関連する issue(#642 と #519)の参照を読み、その後、提案されている linting の段階をこのドキュメントプロジェクトに対応付けてください。完了とするには、合意されたチェックのセット、ビルド失敗とインポートされたコンテンツに関する決定、および文書化された実装範囲が必要です。
索引モデルが issue の本文から書いたものです。
説明
Goal 🏁
Improve consistency across the documentation for both readers and writers. Or at least highlight the inconsistencies.
This suggestion is prompted:
- by @lucyb's mention of the alex linter
- by my reading around "docs as code" tooling
Tooling 🔨
There are several linting tools out there. But, Vale allows you to apply different style rules or guides taken from various different linters. You can also write your own rules in YAML.
Vale aside: there are lots of other potential tools around. But Vale is mentioned a lot.
How do other people work? 👀
For example, GitLab's technical writers use:
- Text content and writing style: markdownlint, Vale
- Text formatting: Markdownlint, yamllint
- Link validity: nanoc
- File permissions and naming:
lint-doc.sh
I'm more interested in the stages, than the specific tools chosen by the GitLab team. We don't have any of these right now. I also opened #642 for link checking as I believe that's a self-contained problem.
Note that tools like markdownlint are actually focused on markup consistency, not content consistency. This might be another benefit. We — understandably — have a mixture of Markdown styles across our documentation due to different author contributions.
Considerations 💭
- Is this a good idea, in principle?
- Are the checks useful or distractingly noisy?
- Would this add friction for less regular contributors?
- Should failed linting cause an outright failure of a build, or just alert "content managers" to this to later fix up? If failing, what types of lint failures should fail a build?
- What checks do we want (relates to #519)?
- Are there issues of having consistency across imported content? We include content in the documentation from the source of cohort-extractor and Data Builder. This content may not be subject to the same checks.
- 主要言語
- Python
- スター
- 48
- フォーク
- 10
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opensafely/documentation のほかの issue
-
bug improve content
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensafely/documentation#2102 ·
メンテナーはふだん 1 日以内に返信
-
initiative:retire-actions-registry
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensafely/documentation#2035 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensafely/documentation#2017 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
Unpin `click`オープン
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
opensafely/documentation#2006 ·
メンテナーはふだん 1 日以内に返信
-
job-ux
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensafely/documentation#2000 ·
メンテナーはふだん 1 日以内に返信
opensafely/documentation の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
raman325/lock_code_manager#1864 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
521xueweihan/HelloGitHub#4636 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ida-arbeitszeit/workers-control#1607 ·
メンテナーはふだん 1 日以内に返信