Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# KrakenD Documentation
This repository holds the source of the documentation published at [krakend.io/docs](https://www.krakend.io/docs/).

All the documentation uses Markdown syntax and the site is generated using [Hugo](https://gohugo.io). After your contribution this repository will be used to compile all the documentation.

If you want to use a server to browse this pages, although not necessary, you can copy the folder inside the `content` directory in any Hugo installation.
Expand Down Expand Up @@ -28,7 +30,7 @@ The CSS will prepend a dollar sign `$` in the first line.
{{< terminal title="Title of the box">}}
docker build -t mykrakend .
Sending build context to Docker daemon 5.12kB
Step 1/2 : FROM devopsfaith/krakend
Step 1/2 : FROM krakend
---> c7e33ec819c0
Step 2/2 : COPY krakend.json /etc/krakend/krakend.json
---> 703818e9de3a
Expand All @@ -50,14 +52,14 @@ You can also highlight a line, specific lines `6 7`, or a range `6-8`:
package krakend

import (
"github.com/devopsfaith/krakend/logging"
client "github.com/devopsfaith/krakend/transport/http/client/plugin"
server "github.com/devopsfaith/krakend/transport/http/server/plugin"
"github.com/luraproject/lura/v3/config"
"github.com/luraproject/lura/v3/logging"
"github.com/luraproject/lura/v3/proxy"
)
{{< /highlight >}}

The documentation of the attributes is autoloaded from its json schema definition. You will find lines like the following:

{{< schema data="folder/file.json" >}}

The `data` attribute loads the file from the [`krakend-schema` repository](https://github.com/krakendio/krakend-schema), using the same path.
The `data` attribute loads the file from the [`krakend-schema` repository](https://github.com/krakend/krakend-schema), using the same path.
Loading