-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to generate the Eclipse Help from markdown pages in GitHub wiki #6
Comments
How exactly was the migration from mediawiki to github wiki done (shame on me for not knowing it from the mailing list)? I'm mainly asking because it would be an alternative to not use github wiki pages, but rather some other markdown and to generate help from that. E.g. at work we use AsciiDoc for all our documents and we generate HTML from that via the standard AsciiDoc maven plugin. The only missing puzzle piece is then to also generate a TOC for Eclipse, and there we use the (no longer maintained) https://github.com/jmini/geneclipsetoc. I'm meanwhile a big fan of AsciiDoc for all kinds of documentation, because it has a good compromise between simple syntax and allowing even very complex layouting. A prominent example for usage of AsciiDoc around Eclipse might be the Eclipse UI guideline at https://github.com/eclipse-platform/ui-best-practices (code) and https://eclipse-platform.github.io/ui-best-practices/ (html). |
I described the steps I used to migrate the wiki in the README of |
I've only touched DITA very lightly (one of the products at work has built-in DITA document support), so I can't really judge that alternative. Also I haven't heard much of it in my day-to-day documentation usage, so I'm not sure how much community is behind it. At the same time I see a rather growing AsciiDoc community and usage. The separate help output goal however is a positive point for DITA. The core maintainer of AsciiDoctor has written a markdown to AsciiDoc converter, which has excellent reviews for the quality of the AsciiDoc produced: https://github.com/asciidoctor/kramdown-asciidoc. For me everything coming after that converter would be "known territory" where I know it works well. The AsciiDoc conversion approach would have 2 further flavors:
I'm probably biased, but the one-time conversion is more appealing to me:
I can implement the AsciiDoc conversion, both for the help and online variants. That all said, it would surely be good to hear some other opinions to get a better picture. |
I am ok to switch to the more powerful AsciiDoc but have no time to work on this conversion. If you have time and experience to do this I can support you with reviews. I'd like to keep this outside of the source code repos since the contained images bloat repo size. Ideally we don't check in the documentation converted to eclipse-help but do the conversion only in the build. |
Description
After migrating JGit and EGit repos to GerritHub and their wikis from wikimedia to GitHub wiki we need to figure out how to generate Eclipse help pages from GFM markdown pages in the GitHub wikis. So far we used Mylyn to convert from wikimedia content to Eclipse help which is shipped in the bundle eclipse.egit.doc.
Motivation
We need to continue providing JGit and EGit documentation as Eclipse help pages
Alternatives considered
No response
Additional context
Looks like DITA Open Toolkit [1] supports import from GFM markdown and output to Eclipse help.
[1]
The text was updated successfully, but these errors were encountered: