aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2016-05-16 12:29:00 -0400
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-05-23 15:30:45 +0300
commit55515a8ba0aa0aeb5fa0f16bec75ce48a4135dec (patch)
treea0a394e7f7723cd43872ef965949c11331fa3ca8 /doc
parent35a8bdf5b13436094886c85e1abc08845c332502 (diff)
doc: process-guide: convert CONTRIBUTING to asciidoc
Converting to asciidoc allows a tidy page to be added to the online documentation without cutting and pasting into wordpress. Being Asccidoc a tiny amount of clutter is added to show code snippets attractively when rendered that make it slightly hard to read as a raw document. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/process-guide/.gitignore1
-rw-r--r--doc/process-guide/Makefile.am11
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/process-guide/.gitignore b/doc/process-guide/.gitignore
index 7632500e4..3370e15f2 100644
--- a/doc/process-guide/.gitignore
+++ b/doc/process-guide/.gitignore
@@ -1,2 +1,3 @@
bylaws-guide.html
release-guide.html
+CONTRIBUTING.html
diff --git a/doc/process-guide/Makefile.am b/doc/process-guide/Makefile.am
index 196ed7fcb..1aba1679d 100644
--- a/doc/process-guide/Makefile.am
+++ b/doc/process-guide/Makefile.am
@@ -4,11 +4,13 @@ EXTRA_DIST = $(top_srcdir)/doc/process-guide/bylaws-guide.adoc \
$(top_srcdir)/doc/process-guide/release-guide.adoc
all-local: bylaws-guide.html \
- release-guide.html
+ release-guide.html \
+ CONTRIBUTING.html
clean-local:
rm -f $(builddir)/bylaws-guide.html
rm -f $(builddir)/release-guide.html
+ rm -f $(builddir)/CONTRIBUTING.html
release-guide.html: $(top_srcdir)/doc/process-guide/release-guide.adoc \
$(top_srcdir)/doc/images/simple_release_git.svg \
@@ -16,4 +18,9 @@ release-guide.html: $(top_srcdir)/doc/process-guide/release-guide.adoc \
bylaws-guide.html: $(top_srcdir)/doc/process-guide/bylaws-guide.adoc
-doc_DATA = bylaws-guide.html release-guide.html
+#special case is not postfixed .adoc
+CONTRIBUTING.html: $(top_srcdir)/CONTRIBUTING
+ asciidoctor $(ASCIIDOC_FLAGS) --out-file=$@ $<
+
+
+doc_DATA = bylaws-guide.html release-guide.html CONTRIBUTING.html