Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat: content adapters from data files

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp, yaml

Línea de trabajo

Start by reading the parent epic #33 and dependency #31 to understand the planned content model, then inspect the content-generation and page-discovery entry points and tests in Fanstatic.Test/ with fixture sites in .TestSites/. Run ./build.sh test and use the ratings example as the acceptance case: three data items should produce three section pages listed in the section and their tag pages; also cover duplicate-path errors and document the example.

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

Descripción

c:content p:medium size:L t:feature

Part of the Phase 3 epic (#33).

Current State

Every page needs a Markdown file. Sites with structured data (game ratings, books, products) must generate files
outside Fanstatic. Hugo solves this with content adapters.

Tasks:
  • content/<section>/_content.yaml describes pages generated from site.Data:
    yaml Source: ratings Path: "{{ item.slug }}" FrontMatter: Title: "{{ item.name }}" Tags: "{{ item.genres }}" Content: "{{ item.review }}"
  • Generated pages behave like Markdown pages: sections, taxonomies, translations, output formats
  • Duplicate paths: error naming the adapter and the item
  • Docs page with the ratings example

Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.

Acceptance Criteria:
  • A fixture with 3 data items produces 3 pages listed in the section and in their tag pages.
Related:
  • #33 (Phase 3 epic, parent)
  • Depends on #31
Lenguaje dominante
C#
Estrellas
1
Forks
0
Merge medio
10 h 23 min
PR fusionados (30 d)
4

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 MASS4ORG/Fanstatic

Todos los issues de MASS4ORG/Fanstatic

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.