diff options
author | Wayne Beaton | 2017-08-02 15:24:36 +0000 |
---|---|---|
committer | Wayne Beaton | 2017-08-02 15:24:36 +0000 |
commit | d64bc10f9f175bd5c0a272b6825b13c40c97c593 (patch) | |
tree | b734e2cdcfc3824d58c18e7b0b319f0a91eb8167 | |
parent | 528ca89786d4aa77627b8355504bdad8cf1b671d (diff) | |
download | org.eclipse.dash.handbook-d64bc10f9f175bd5c0a272b6825b13c40c97c593.tar.gz org.eclipse.dash.handbook-d64bc10f9f175bd5c0a272b6825b13c40c97c593.tar.xz org.eclipse.dash.handbook-d64bc10f9f175bd5c0a272b6825b13c40c97c593.zip |
Create a README for the project.
This initial document describes various formatting conventions (to
start).
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ += Eclipse Project Handbook README + +== General Formatting Rules + +* All content is written using Asciidoc; rendered using Asciidoctor (which has some functionality enhancements. +* Don't wrap lines; use a single line for each paragraph. +* Each chapter has a machine name (e.g. legaldoc); that machine name should be used as a prefix in heading anchors separated with a dash (e.g. legaldoc-license). +* Preserve the machine names for headers, even when subsections move from one chapter to another. +* Main text should be written in the third person. Notes and other callouts may be written in the second person. + +Use monospace backticks for file/repo paths, e.g. `stuff/junk/thing.java`, technical terms (e.g. class names), and for `pass:[+1]`, `pass:[-1]`. + +Use italics to highlight _key terms_ or _phrases_. Use quotes judiciously. + +Use http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#ui-macros[UI Macros] to describe menus, key bindings, etc. e.g. kbd:[Ctrl+Shift+N] and menu:View[Zoom > Reset]. Use menus to capture click paths, paths through a preferences dialog, etc. + +image::images/myimage.png[] + +[NOTE] +==== +Use blocks to render NOTE/WARNING callouts. +==== + +== Converting Existing Content + +We've used Pandoc to conver existing content into asciidoc for inclusion in the handbook. + +e.g. + + pandoc --atx-headers --wrap=none -f html -t asciidoc input.html > output.adoc + |