Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: content adapters from data files

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, yaml

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
C#
スター
1
フォーク
0
平均マージ
7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MASS4ORG/Fanstatic のほかの issue

MASS4ORG/Fanstatic の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。