feat: content adapters from data files
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- csharp, yaml
- 領域
- backend, documentation, testing
調査の方向性
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 の本文から書いたものです。
説明
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.yamldescribes pages generated fromsite.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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MASS4ORG/Fanstatic のほかの issue
-
c:templates p:low size:S t:task
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
c:content good first issue p:low size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
c:templates p:medium size:M t:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
c:templates p:medium size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
c:templates p:medium size:M t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
MASS4ORG/Fanstatic の issue をすべて見る
似ている issue
-
[BUG]: Position intent set on a simple order is dropped when it becomes a bracket, OCO or OTO order対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alpacahq/alpaca-trade-api-csharp#903 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
joinrpg/joinrpg-net#5752 ·
メンテナーはふだん 1 日以内に返信
-
bug ux
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeForFire/lagebuch#714 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dimitar-radenkov/Pointframe#294 ·
メンテナーはふだん 1 日以内に返信
-
kind/feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Altinn/altinn-correspondence#2154 ·
メンテナーはふだん 1 日以内に返信