Add inclusive language assessment docs to developer.yoast.com

Aperta
#435 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
documentation

Direzione di ricerca

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.

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

Descrizione

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).
Lingua principale
JavaScript
Stelle
14
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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.

Altre issue di Yoast/developer

Tutte le issue di Yoast/developer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.