Torkel Ödegaard 09267bbfe8 docs: elasticsearch, added info about size property in templating query 8 năm trước cách đây
..
sources 09267bbfe8 docs: elasticsearch, added info about size property in templating query 8 năm trước cách đây
Dockerfile 0b73369c4b docs: fixed docs title issue 8 năm trước cách đây
Makefile 24e3777894 docs: updated make file for docs to support specifying env and version 8 năm trước cách đây
README.md 982dc276d3 Update building docs readme 9 năm trước cách đây
VERSION 24e3777894 docs: updated make file for docs to support specifying env and version 8 năm trước cách đây
config.toml 19516ebcce docs: minor fix 8 năm trước cách đây
publish.sh ac6c93b3da docs: add publish bash script 8 năm trước cách đây
s3_website.json 15cb1d8980 Added grafana 1.x docs to main repo 10 năm trước cách đây

README.md

Building The Docs

To build the docs locally, you need to have docker installed. The docs are built using a custom docker image and the mkdocs tool.

Prepare the Docker Image:

Git clone grafana/grafana.org repo. Run these commands in the root of that repo. Note that you may require sudo when running make docs-build depending on how your system's docker service is configured):

$ git clone https://github.com/grafana/grafana.org
$ cd grafana.org
$ make docs-build

Build the Documentation:

Now that the docker image has been prepared we can build the docs. Switch your working directory back to the directory this file (README.md) is in and run (possibly with sudo):

$ make docs

This command will not return control of the shell to the user. Instead the command is now running a new docker container built from the image we created in the previous step.

Open localhost:3004 to view the docs.