Help in hosting Grafana documentation offline

  • What Grafana version and what operating system are you using?
    Grafana v8.3.4 Ubuntu 20 LTS

  • What are you trying to achieve?
    Trying to host latest documentation of Grafana

  • How are you trying to achieve it?
    By following the steps in the README file at grafana-main/docs

  • What happened?
    Using grafana-docs-dev docker image, and by following steps in the README file at grafana-main/docs, I was able to start the documentation server on localhost:3002.

Now I want fix the broken links to the images and other static resources since this is a offline environment. README file in grafana-main/docs says to run make docs-local-static if the grafana/website is checked out in the same directory. I am unable to find which repo this is.

  • What did you expect to happen?
    Expected documentation server offline along with all static resources

  • Can you copy/paste the configuration(s) that you are having problems with?
    Followed same as README to run make docs-local-static

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?
    Yes, README file

Hello :wave: and welcome to the forum, @kausalya

I’m curious: why go through such trouble keep a local version of Grafana’s documentation?


Thanks for the response.

We wanted to have the grafana documentation hosted locally since we work in an isolated environment which is not connected to internet. As a beginner, the documentation would definitely help us use Grafana hosted in our environment in a better way.

----- Message from matt abrams via Grafana Labs Community Forums <> ---------

1 Like