From f377c3601fe0c0e4be9ba08e6a21f9d7ff2205dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Schl=C3=BCter?= Date: Mon, 10 Dec 2018 08:20:46 +0100 Subject: [PATCH] Fix syntax highlighting (#415) * Add empty line as a workaround for gobuffalo/plush#82 * Update plush --- go.mod | 2 +- go.sum | 2 ++ templates/docs/apis/_new.md | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index bb99516ae..3f5625263 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( github.com/gobuffalo/mw-i18n v0.0.0-20181027200759-09e0c99be4d3 github.com/gobuffalo/mw-paramlogger v0.0.0-20181005191442-d6ee392ec72e github.com/gobuffalo/packr v1.21.5 - github.com/gobuffalo/plush v3.7.30+incompatible + github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible github.com/gobuffalo/tags v2.0.14+incompatible github.com/gobuffalo/x v0.0.0-20181110221217-14085ca3e1a9 github.com/golang/gddo v0.0.0-20181116215533-9bd4a3295021 diff --git a/go.sum b/go.sum index b23302c08..a0a5a9762 100644 --- a/go.sum +++ b/go.sum @@ -272,6 +272,8 @@ github.com/gobuffalo/plush v3.7.24-0.20181129161136-36115f4c9b1f+incompatible h1 github.com/gobuffalo/plush v3.7.24-0.20181129161136-36115f4c9b1f+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI= github.com/gobuffalo/plush v3.7.30+incompatible h1:CN+rfRcKAn4yL11/R1vl+tbJ8kjcf+1ntf1Sr17yXVE= github.com/gobuffalo/plush v3.7.30+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI= +github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible h1:sCU8cPho4HJ1AsQ/24/0eVS2mZsdbQhbJIjuU8IJ6VI= +github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI= github.com/gobuffalo/plushgen v0.0.0-20181128164830-d29dcb966cb2/go.mod h1:r9QwptTFnuvSaSRjpSp4S2/4e2D3tJhARYbvEBcKSb4= github.com/gobuffalo/plushgen v0.0.0-20181203163832-9fc4964505c2/go.mod h1:opEdT33AA2HdrIwK1aibqnTJDVVKXC02Bar/GT1YRVs= github.com/gobuffalo/pop v4.8.2+incompatible h1:/nP7hiu5arwMWzHBUZY5BmEKq6XcdjnceNCTZGe7uO0= diff --git a/templates/docs/apis/_new.md b/templates/docs/apis/_new.md index 71ef35a5a..2cb580a3e 100644 --- a/templates/docs/apis/_new.md +++ b/templates/docs/apis/_new.md @@ -26,9 +26,11 @@ Applications generated with the `--api` flag don't contain any front systems. Th API applications have `actions/app.go` and `actions/render.go` files that are a good starting point for JSON API applications.
buffalo new coke --api
+ <%= partial("docs/apis/api_app.md") %> <%= partial("docs/apis/api_render.md") %>
buffalo new coke
+ <%= partial("docs/apis/web_app.md") %> <%= partial("docs/apis/web_render.md") %> \ No newline at end of file