Skip to content

feat: colophon の行定義を colophon_rows 配列に統一#294

Draft
Copilot wants to merge 31 commits intomainfrom
copilot/auto-configure-article-files
Draft

feat: colophon の行定義を colophon_rows 配列に統一#294
Copilot wants to merge 31 commits intomainfrom
copilot/auto-configure-article-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

奥付(colophon)のコンテナ行が 発行/表紙/印刷/連絡先 にハードコードされており、行の追加・削除・並べ替えができなかった。generate.ymlcolophon_rows 配列を定義することで任意の行を生成できるようにした。

Changes

  • generate.ymlcover_designer / print_company / contact の個別フィールドを廃止し colophon_rows 配列に統一
colophon_rows:
  - label: 発行
    value: ゆめみ大技林製作委員会
  - label: 表紙
    value: ''
  - label: 印刷
    value: ''
  - label: 連絡先
    value: https://x.com/yumemiinc
  • generate-manuscripts.js
    • parseYamlObjectArray() 追加 — - key: value 形式の YAML オブジェクト配列をパース
    • loadGenerateConfig() 拡張 — 値なしキーの後続がリスト形式なら自動でオブジェクト配列として検出
    • generateColophon()colophon_rows 配列からのみ行を生成。未定義・非配列の場合は行なし(後方互換フォールバックは削除)

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI and others added 3 commits March 13, 2026 09:24
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add automatic article file configuration to vivliostyle.config.js feat: 記事ファイルの自動設定 — Auto-discover articles from articles/ directory Mar 13, 2026
Copilot AI requested a review from mitsuharu March 13, 2026 09:30
mitsuharu

This comment was marked as resolved.

…upport multi-line YAML, dynamic title and TOC pages, configurable header template

Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title feat: 記事ファイルの自動設定 — Auto-discover articles from articles/ directory feat: dynamic article config — profile key, multi-line YAML, title/TOC/header from config files Mar 13, 2026
…pts/article-utils.js

Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title feat: dynamic article config — profile key, multi-line YAML, title/TOC/header from config files refactor: move article-discovery logic out of vivliostyle.config.js; address front matter review comments Mar 13, 2026
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title refactor: move article-discovery logic out of vivliostyle.config.js; address front matter review comments Separate article-discovery logic from vivliostyle.config.js and document new features Mar 13, 2026
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
@ymm-oss ymm-oss deleted a comment from github-actions Bot Mar 14, 2026
…能にする

Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title 手動管理の原稿ファイルを pages/ にまとめ、generated/ を .gitignore に追加 fix: Docker環境でのmake pdfでarticle-utils.jsが見つからないエラーを修正 Mar 14, 2026
Copilot AI changed the title fix: Docker環境でのmake pdfでarticle-utils.jsが見つからないエラーを修正 fix: Docker環境でmake pdfが../scripts/article-utils.jsを見つけられない問題を修正 Mar 14, 2026
@mitsuharu mitsuharu changed the title fix: Docker環境でmake pdfが../scripts/article-utils.jsを見つけられない問題を修正 articles/ ディレクトリに原稿ファイルを置くだけで自動的に PDF に組み込まれる仕組みを追加 Mar 14, 2026
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Copilot AI changed the title articles/ ディレクトリに原稿ファイルを置くだけで自動的に PDF に組み込まれる仕組みを追加 feat: PR概要に全変更点を自動まとめるワークフロー追加 Mar 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📄 PDF が作成されました

@mitsuharu mitsuharu changed the title feat: PR概要に全変更点を自動まとめるワークフロー追加 articles/ ディレクトリに原稿ファイルを置くだけで自動的に PDF に組み込まれる仕組みを追加しました Mar 14, 2026
@ymm-oss ymm-oss deleted a comment from github-actions Bot Mar 14, 2026
@mitsuharu mitsuharu requested a review from a team March 14, 2026 03:44
@mitsuharu mitsuharu marked this pull request as ready for review March 14, 2026 03:44
@github-actions
Copy link
Copy Markdown
Contributor

📄 PDF が作成されました

Copilot AI and others added 5 commits March 14, 2026 12:21
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
…on generation

Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
Co-authored-by: mitsuharu <296276+mitsuharu@users.noreply.github.com>
@mitsuharu
Copy link
Copy Markdown
Contributor

自動化やりすぎ感もあるので、整理せんとなあ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants