Add inclusive language assessment docs to developer.yoast.com

未關閉
#435 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript
領域
documentation

研究方向

Start by reading issue #226 and the current sources under packages/yoastseo/src/scoring/assessments/, especially SCORING INCLUSIVE LANGUAGE.md and the inclusive-language configuration files. First get agreement from the Lingo AI team on the documentation scope and phrase-list publication; done means the agreed docs are added under docs/features/analysis/assessments/inclusive-language/, linked from assessments/overview.md and sidebars.js, with the YoastSEO source docs unchanged.

由索引模型根據 Issue 內容生成。

描述

documentation
Please give us a description of the issue
  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Split off from #226. That issue adds the other assessment docs (SEO, readability, e-commerce, taxonomy, add-ons) to developer.yoast.com. Inclusive language is handled separately because the expected outcome still needs to be discussed with the Lingo AI team.

Current sources

In Yoast/wordpress-seo → packages/yoastseo/src/scoring/assessments/:

  • SCORING INCLUSIVE LANGUAGE.md: scoring, overall score, and the list of categories.
  • inclusiveLanguage/configuration/*Assessments.js: the rules (targeted phrases, inclusive alternatives, score, feedback, rule conditions) per category: age, appearance, culture, disability, gender, socio-economic status, sexual orientation, other.
  • inclusiveLanguage/configuration/feedbackStrings/: the feedback strings.

Note: SCORING INCLUSIVE LANGUAGE.md lists 7 categories, but sexualOrientationAssessments.js also exists.

To discuss with the Lingo AI team

  • Level of detail:
    • Option A: one page with the scoring and the category list. Each category links to its public JS config file on GitHub. No rule data is copied, so nothing gets out of date.
    • Option B: one page per category, with a table of all targeted phrases and alternatives. This is easier to find and read, but it is large and needs an update every time a rule changes (unless the tables are generated from the JS config).
  • Is it okay to publish the full list of targeted phrases (the term database), and in which format? This is tracked in the sub-issue Yoast/lingo-other-tasks#45.
  • Language support: the analysis is not available in all languages. Should the page list the supported languages?

Structure

Follow the structure from #226: docs/features/analysis/assessments/inclusive-language/, kebab-case file names and ids, linked from assessments/overview.md, and added to sidebars.js.

Acceptance criteria

  • The expected outcome is agreed with the Lingo AI team (comment on this issue).
  • Inclusive language docs are on developer.yoast.com and linked from assessments/overview.md.
  • The source docs in yoastseo are unchanged (clean-up happens in Yoast/lingo-other-tasks#211).
主要語言
JavaScript
星號
14
分支
22
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Yoast/developer 的其他 Issue

查看 Yoast/developer 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。