Add inclusive language assessment docs to developer.yoast.com

Aberta
#435 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
documentation

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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).
Linguagem predominante
JavaScript
Estrelas
14
Forks
22
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Yoast/developer

Todas as issues de Yoast/developer

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.