From 4b96420181a7e5fe678968d88dd1424b1e84177f Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 6 Apr 2018 14:35:46 +0200 Subject: [PATCH] now using a blueprint for README.md --- README.md | 3 +++ _blueprints/README.blueprint.md | 18 ++++++++++++++++++ orbit.yml | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 _blueprints/README.blueprint.md diff --git a/README.md b/README.md index 9e44a45c..037d2f8f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@

Gotenberg

A stateless API for converting HTML files and Office documents to PDF.

+ + Travis CI + GoDoc diff --git a/_blueprints/README.blueprint.md b/_blueprints/README.blueprint.md new file mode 100644 index 00000000..f033e2ba --- /dev/null +++ b/_blueprints/README.blueprint.md @@ -0,0 +1,18 @@ +

+ Gotenberg's logo +

+

Gotenberg

+

A stateless API for converting HTML files and Office documents to PDF.

+

+ + Travis CI + + + GoDoc + + + Go Report Card + +

+ +--- diff --git a/orbit.yml b/orbit.yml index feb1eaca..dca17937 100644 --- a/orbit.yml +++ b/orbit.yml @@ -5,6 +5,11 @@ tasks: run: - go fmt ./... + - use: generate + short: Generates all files from blueprints + run: + - BRANCH="$(git symbolic-ref --short HEAD)"; orbit generate -f _blueprints/README.blueprint.md -o README.md -p "Branch,${BRANCH}" + - use: tests short: Runs tests inside a container run: