feat: `new-content` command with archetypes
まだ誰も着手していません。
評価
調査の方向性
Start by reading the existing new-site and new-theme command implementations and their tests to learn how Fanstatic registers CLI commands and creates files. Then inspect how the project handles site and theme archetypes; the issue requires adding new-content with Liquid-rendered fallback, kind inference, and bundle mode. Done means the acceptance examples pass, including Title and Date values and site-over-theme-over-built-in precedence.
索引モデルが issue の本文から書いたものです。
説明
Current State
The CLI has new-site and new-theme, but no way to scaffold a content file.
Tasks
-
fanstatic new-content <path>creating the Markdown file with front matter - Archetypes:
archetypes/<kind>.mdin site, then theme, then a built-in default (Liquid-rendered) -
--kind <kind>to choose the archetype; default inferred from the section - Bundle mode (
<path>/index.md) when the archetype is a directory
Acceptance Criteria
-
fanstatic new-content blog/my-post.mdcreates a file withTitleandDatefilled - Site archetypes override theme archetypes, which override the built-in
Related
- Migrated from https://gitlab.com/sucos/sucos/-/issues/33
- 主要言語
- C#
- スター
- 1
- フォーク
- 0
- 平均マージ
- 8時間 19分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MASS4ORG/Fanstatic のほかの issue
-
c:templates p:low size:S t:task
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
c:content good first issue p:low size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
-
c:templates p:medium size:M t:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
c:content p:medium size:L t:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
c:templates p:medium size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
MASS4ORG/Fanstatic の issue をすべて見る
似ている issue
-
status:waiting-for-triage type:bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
microsoftgraph/msgraph-sdk-dotnet#3194 ·
メンテナーはふだん 1 日以内に返信
-
Backend enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
UI: money shows the minus sign next to the number, not before the currency (IL -3.0m, not -IL 3.0m)オープンarea: sim area: unity enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eyalgolan/statecraft-israel#1107 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
dimitar-radenkov/Pointframe#271 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
qew21/Genshin-Subtitles#45 ·