More Related Content
PDF
MT DDC Tokyo(テーマ編):テーマを使った手間いらずなサイト制作 PDF
Movable Type カスタムフィールドのまとめ PDF
PDF
PDF
PDF
Theme Framework in Depth - MT DDC Tokyo PPT
PDF
Featured
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis... PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing PDF
Storytelling For The Web: Integrate Storytelling in your Design Process PDF
Everything You Need To Know About ChatGPT PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR... PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf PDF
Product Design Trends in 2024 | Teenage Engineerings PDF
2024 State of Marketing Report – by Hubspot PDF
5 Public speaking tips from TED - Visualized summary PDF
ChatGPT and the Future of Work - Clark Boyd PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024 PDF
How to have difficult conversations PDF
PPTX
How to Prepare For a Successful Job Search for 2024 PDF
Content Methodology: A Best Practices Report (Webinar) PDF
Social Media Marketing Trends 2024 // The Global Indie Insights PDF
PEPSICO Presentation to CAGNY Conference Feb 2024 PDF
Getting into the tech field. what next MT DDC Tokyo(テーマ編):テーマを使った手間いらずなサイト制作 - バージョン管理
- 1.
MT DDC
2010.07.31
テーマを使って手間いらずなサイト制作
バージョン管理(未公開スライド)
- 2.
- 3.
- 4.
バージョン管理イメージ
Movable Type Movable Type
chek version
plugin plugin
(exporter) theme.yaml (importer)
export import
バージョンが適合しない場合、警告を表示
- 5.
- 6.
バージョン管理で利用する定義
theme.yaml config.yaml
elements: theme_element_handlers:
plugin_default_pages: plugin_default_pages:
schema_version: 0.1 label: Default Pages
min_importer_version: 1.0 importer:
min_schema_version: 0.3
テーマのエレメントに定義 max_schema_version: 1.0
プラグインのインポータに定義
・いずれもプラグイン開発者が定義します
・テーマへの定義は自動生成します
- 7.
バージョンのチェック
schema_version
0.3 0.7 1.0
min_schema_version max_schema_version
0.3 1.0
- 8.
- 9.
- 10.
インポータのバージョンが古い
schema_version
1.2
min_schema_version max_schema_version
0.3 1.0
- 11.
- 12.
推奨設定
schema_version
min_importer_version 1.2
max_schema_version
min_schema_version
1.0
①インポータにmin_schema_versionは記述せず、プラグインですべて
のバージョンのテーマが読み込めるよう、常に後方互換性を保つ。
②テーマのバージョンがインポータのバージョンより新しい場合を考慮
して、 min_importer_versionでアップグレードを喚起。