Add inclusive language assessment docs to developer.yoast.com

Abierto
#435 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
JavaScript
Estrellas
14
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Yoast/developer

Todos los issues de Yoast/developer

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.