Closed TzviPM closed 1 year ago
@tzvipm Cool! Could you provide a bit of an overview of how this is intended to work, when it should be run, etcetera? Just a high level walk through, so I have a better sense of what to look for in review.
@cmyr I updated the description just now; is this kinda what you were looking for in a high-level overview?
Comments in the copied files linking to the source would be more useful IMHO...
+1 to @jansol's comment, perhaps it's better to have the comments in the copied files (or just omit them entirely). It's kind of making the PR a bit cluttered and hard to read.
@tzvipm bump. Would be nice to get this out of the way...
Summary
Generate pages for help book from markdown and JSON content using https://github.com/chuckhoupt/jekyll-apple-help. This will make it easier for newcomers to contribute help content to the project with confidence.
High-level overview
The XCode project now has a folder called
XiEditorHelp
, which contains the following structure:This folder gets compiled as part of the XiEditorHelp build target, which generates a
.help
bundle:The main files we'll want to edit for creating content are in the
_English.lproj
folder nested underXiEditorHelp
. This folder contains numerous.md
files withyml
-formatted front matter.Front matter should contain a
title
attribute as well as adescription
, and optionally anorder
to establish a consistent ordering of help topics.An additional
group
property can specify a title for a folder in which to group topics together, aggregated by this given title.the
help
bundle will be automatically rebuilt as part of the application build step.Supersedes https://github.com/xi-editor/xi-mac/pull/400 Part of #252
Checklist
Example:
Review Checklist