Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f5a6c306
Commit
f5a6c306
authored
Apr 27, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: worked on supporting doc versions
parent
c92d719a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
docs/Makefile
+5
-2
docs/sources/archive.md
+3
-7
No files found.
docs/Makefile
View file @
f5a6c306
...
...
@@ -11,6 +11,9 @@ DOCS_MOUNT := -v $(SOURCES_HOST_DIR):/site/content
DOCKER_RUN_DOCS
:=
docker run
--rm
-it
$(DOCS_MOUNT)
-e
NOCACHE
-p
3004:3004
-p
3005:3005
VERSION
=
"root"
$(info
publishing
$(VERSION))
default
:
docs
...
...
@@ -24,10 +27,10 @@ docs-watch: docs-build
$(DOCKER_RUN_DOCS)
$(DOCS_MOUNT)
-e
DOCKERHOST
"
$(DOCKER_DOCS_IMAGE)
"
/bin/bash
-c
"grunt --env=dev-docs && grunt connect --port=3004 & grunt watch --port=3004 --env=dev-docs"
publish
:
docs-build
$(DOCKER_RUN_DOCS)
$(DOCS_MOUNT)
-e
DOCKERHOST
"
$(DOCKER_DOCS_IMAGE)
"
/bin/bash
-c
"./publish.sh staging-docs
root
"
$(DOCKER_RUN_DOCS)
$(DOCS_MOUNT)
-e
DOCKERHOST
"
$(DOCKER_DOCS_IMAGE)
"
/bin/bash
-c
"./publish.sh staging-docs
${
VERSION
}
"
publish-prod
:
docs-build
$(DOCKER_RUN_DOCS)
$(DOCS_MOUNT)
-e
DOCKERHOST
"
$(DOCKER_DOCS_IMAGE)
"
/bin/bash
-c
"./publish.sh prod-docs
root
"
$(DOCKER_RUN_DOCS)
$(DOCS_MOUNT)
-e
DOCKERHOST
"
$(DOCKER_DOCS_IMAGE)
"
/bin/bash
-c
"./publish.sh prod-docs
${
VERSION
}
"
docs-build
:
docker build
-t
"
$(DOCKER_DOCS_IMAGE)
"
--no-cache
.
docs/sources/archive.md
View file @
f5a6c306
...
...
@@ -12,10 +12,6 @@ weight = 200
Here you can find links to older versions of the documentation that might be better suited for your version
of Grafana.
-
[
Latest
](
/
)
-
[
Version 3.1
](
/v3.1
)
-
[
Version 3.0
](
/v3.0
)
-
[
Version 2.6
](
/v2.6
)
-
[
Version 2.5
](
/v2.5
)
-
[
Version 2.1
](
/v2.1
)
-
[
Version 2.0
](
/v2.0
)
-
[
Latest
](
http://docs.grafana.org
)
-
[
Version 3.1
](
http://docs.grafana.org/v3.1
)
-
[
Version 3.0
](
http://docs.grafana.org/v3.0
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment