зеркало из https://github.com/docker/kitematic.git
Merge pull request #1432 from SvenDowideit/move-kitematic-into-toolbox-menu
Move Kitematic into the Docker Toolbox menu
This commit is contained in:
Коммит
111ed736e9
9
Makefile
9
Makefile
|
@ -5,6 +5,11 @@ run:
|
|||
npm install
|
||||
npm run
|
||||
|
||||
# Get the IP ADDRESS
|
||||
DOCKER_IP=$(shell python -c "import urlparse ; print urlparse.urlparse('$(DOCKER_HOST)').hostname or ''")
|
||||
HUGO_BASE_URL=$(shell test -z "$(DOCKER_IP)" && echo localhost || echo "$(DOCKER_IP)")
|
||||
HUGO_BIND_IP=0.0.0.0
|
||||
|
||||
# import the existing docs build cmds from docker/docker
|
||||
DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
|
||||
DOCSPORT := 8000
|
||||
|
@ -13,7 +18,9 @@ DOCKER_DOCS_IMAGE := kitematic-docs$(if $(GIT_BRANCH),:$(GIT_BRANCH))
|
|||
DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT)
|
||||
|
||||
docs: docs-build
|
||||
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" mkdocs serve
|
||||
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" \
|
||||
hugo server \
|
||||
--port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP)
|
||||
|
||||
docs-shell: docs-build
|
||||
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash
|
||||
|
|
|
@ -8,6 +8,7 @@ RUN svn checkout https://github.com/docker/distribution/trunk/docs /docs/content
|
|||
RUN svn checkout https://github.com/docker/tutorials/trunk/docs /docs/content
|
||||
RUN svn checkout https://github.com/docker/opensource/trunk/docs /docs/content/opensource
|
||||
RUN svn checkout https://github.com/docker/machine/trunk/docs /docs/content/machine
|
||||
RUN svn checkout https://github.com/docker/toolbox/trunk/docs /docs/content/toolbox
|
||||
|
||||
ENV PROJECT=kitematic
|
||||
# To get the git info for this repo
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Frequently Asked Questions"
|
|||
description = "Documentation covering common questions users have about Kitematic"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
weight=5
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,8 @@ title = "Kitematic"
|
|||
description = "Documentation that provides an overview of Kitematic and installation instructions"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui"]
|
||||
[menu.main]
|
||||
parent="mn_install"
|
||||
identifier="toolbox_kitematic"
|
||||
parent="workw_toolbox"
|
||||
weight=2
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Known Issues"
|
|||
description = "Information about known issues in Kitematic"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
weight=5
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Set up a Minecraft Server"
|
|||
description = "Tutorial demonstrating the setup of a Minecraft server using Docker and Kitematic"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui, minecraft, tutorial"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
weight=2
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Set up an Nginx web server"
|
|||
description = "Tutorial demonstrating the setup of an Nginx web server using Docker and Kitematic"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui, nginx, tutorial"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
weight=1
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Creating a Local RethinkDB Database for Development"
|
|||
description = "Tutorial demonstrating the setup of an RethinkDB database for development"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui, rethink, tutorial"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
weight=3
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
|
|
@ -4,7 +4,7 @@ title = "Kitematic User Guide: Intro & Overview"
|
|||
description = "Documentation that provides an overview of Kitematic and installation instructions"
|
||||
keywords = ["docker, documentation, about, technology, kitematic, gui"]
|
||||
[menu.main]
|
||||
parent="smn_workw_kitematic"
|
||||
parent="toolbox_kitematic"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче