From 9b7939d945e52a16735330ecb2034c8459ff8f0e Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 1 Dec 2016 17:16:24 +0100 Subject: [PATCH] build: COMMUNITY.md: add git branch diagram Signed-off-by: David Lamparter --- COMMUNITY.md | 3 +++ doc/git_branches.svg | 3 +++ render_md.py | 5 +++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 doc/git_branches.svg diff --git a/COMMUNITY.md b/COMMUNITY.md index 80478ceffe..0cc8e8d1ce 100644 --- a/COMMUNITY.md +++ b/COMMUNITY.md @@ -7,6 +7,9 @@ The master Git for PROJECT resides on Github at [https://github.com/PROJECT/XXX](https://github.com/PROJECT/XXX) +![git branches continually merging to the left from 3 lanes; float-right](doc/git_branches.svg +"git branch mechanics") + There are 3 main branches for development and a release branch for each major release. diff --git a/doc/git_branches.svg b/doc/git_branches.svg new file mode 100644 index 0000000000..3943eeacc8 --- /dev/null +++ b/doc/git_branches.svg @@ -0,0 +1,3 @@ + + +1.0ReleaseBranchMaster(Stable)Develop1.1ReleaseBranchVersion 1.0.a1Version 1.1.a1Version 1.1.a2Version 1.1.b1Patch Email (Patchwork)Github Pull RequestGithub Pull RequestPatch Email (Patchwork)Patch Email (Patchwork)Github Pull RequestGithub Pull RequestGithub Pull RequestPatch Email (Patchwork)Github Pull RequestGithub Pull RequestGithub Pull RequestGithub Pull RequestGithub Pull RequestGithub Pull RequestVersion 1.0.a2Version 1.0.b1Version 1.0.0Version 1.1.0Version 1.1.1Version 1.1.2 diff --git a/render_md.py b/render_md.py index a819c784e8..d2d1fb4805 100644 --- a/render_md.py +++ b/render_md.py @@ -8,9 +8,10 @@ body { max-width: 45em; margin: auto; margin-top: 2em; margin-bottom: 2em; pre, code { font-family:Fira Mono,monospace; } pre > code { display: block; padding:0.5em; border:1px solid black; background-color:#eee; color:#000; } -h2 { margin-top: 3em; text-decoration: underline; } -h3 { margin-top: 2em; font-weight: normal; font-style: italic; } +h2 { clear: both; margin-top: 3em; text-decoration: underline; } +h3 { clear: both; margin-top: 2em; font-weight: normal; font-style: italic; } h4 { font-weight: normal; font-style: italic; } +img[alt~="float-right"] { float:right; margin-left:2em; margin-bottom:2em; } %s