mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added grafana 1.x docs to main repo
This commit is contained in:
23
docs/Dockerfile
Normal file
23
docs/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM grafana/docs-base:latest
|
||||
|
||||
# TODO: need the full repo source to get the git version info
|
||||
COPY . /src
|
||||
|
||||
# Reset the /docs dir so we can replace the theme meta with the new repo's git info
|
||||
RUN git reset --hard
|
||||
|
||||
# Then copy the desired docs into the /docs/sources/ dir
|
||||
COPY ./sources/ /docs/sources
|
||||
|
||||
COPY ./VERSION VERSION
|
||||
|
||||
# adding the image spec will require Docker 1.5 and `docker build -f docs/Dockerfile .`
|
||||
#COPY ./image/spec/v1.md /docs/sources/reference/image-spec-v1.md
|
||||
|
||||
# TODO: don't do this - look at merging the yml file in build.sh
|
||||
COPY ./mkdocs.yml /docs/mkdocs.yml
|
||||
|
||||
COPY ./s3_website.json /docs/s3_website.json
|
||||
|
||||
# Then build everything together, ready for mkdocs
|
||||
RUN /docs/build.sh
|
||||
Reference in New Issue
Block a user