Browse Source

retooling for hugo
Tweaking for Hugo
Updating the Dockerfile with new sed; fix broken link on Kitematic
Fixing image pull for Dockerfile
Removing docs targets

Signed-off-by: Mary Anthony <mary@docker.com>

Mary Anthony 10 years ago
parent
commit
f93fee5f48
100 changed files with 493 additions and 325 deletions
  1. 0 26
      Makefile
  2. 21 160
      docs/Dockerfile
  3. 55 0
      docs/Makefile
  4. 6 0
      docs/README.md
  5. 0 0
      docs/article-img/architecture.svg
  6. 0 0
      docs/article-img/ipv6_basic_host_config.gliffy
  7. 0 0
      docs/article-img/ipv6_basic_host_config.svg
  8. 0 0
      docs/article-img/ipv6_ndp_proxying.gliffy
  9. 0 0
      docs/article-img/ipv6_ndp_proxying.svg
  10. 0 0
      docs/article-img/ipv6_routed_network_example.gliffy
  11. 0 0
      docs/article-img/ipv6_routed_network_example.svg
  12. 0 0
      docs/article-img/ipv6_slash64_subnet_config.gliffy
  13. 0 0
      docs/article-img/ipv6_slash64_subnet_config.svg
  14. 0 0
      docs/article-img/ipv6_switched_network_example.gliffy
  15. 0 0
      docs/article-img/ipv6_switched_network_example.svg
  16. 10 3
      docs/articles/ambassador_pattern_linking.md
  17. 0 0
      docs/articles/b2d_volume_images/add_cd.png
  18. 0 0
      docs/articles/b2d_volume_images/add_new_controller.png
  19. 0 0
      docs/articles/b2d_volume_images/add_volume.png
  20. 0 0
      docs/articles/b2d_volume_images/boot_order.png
  21. 0 0
      docs/articles/b2d_volume_images/gparted.png
  22. 0 0
      docs/articles/b2d_volume_images/gparted2.png
  23. 0 0
      docs/articles/b2d_volume_images/verify.png
  24. 9 3
      docs/articles/b2d_volume_resize.md
  25. 9 3
      docs/articles/baseimages.md
  26. 11 5
      docs/articles/basics.md
  27. 9 3
      docs/articles/certificates.md
  28. 9 3
      docs/articles/cfengine_process_management.md
  29. 9 3
      docs/articles/chef.md
  30. 10 3
      docs/articles/configuring.md
  31. 9 3
      docs/articles/dockerfile_best-practices.md
  32. 9 3
      docs/articles/dsc.md
  33. 10 3
      docs/articles/host_integration.md
  34. 12 5
      docs/articles/https.md
  35. 0 0
      docs/articles/https/Dockerfile
  36. 0 0
      docs/articles/https/Makefile
  37. 0 0
      docs/articles/https/README.md
  38. 0 0
      docs/articles/https/make_certs.sh
  39. 0 0
      docs/articles/https/parsedocs.sh
  40. 10 4
      docs/articles/networking.md
  41. 9 3
      docs/articles/puppet.md
  42. 9 3
      docs/articles/registry_mirror.md
  43. 10 3
      docs/articles/runmetrics.md
  44. 10 3
      docs/articles/security.md
  45. 12 5
      docs/articles/systemd.md
  46. 9 3
      docs/articles/using_supervisord.md
  47. 9 3
      docs/docker-hub/accounts.md
  48. 9 3
      docs/docker-hub/builds.md
  49. 9 3
      docs/docker-hub/home.md
  50. 0 0
      docs/docker-hub/hub-images/bb_hooks.png
  51. 0 0
      docs/docker-hub/hub-images/bb_menu.png
  52. 0 0
      docs/docker-hub/hub-images/bb_post-hook.png
  53. 0 0
      docs/docker-hub/hub-images/build-trigger.png
  54. 0 0
      docs/docker-hub/hub-images/dashboard.png
  55. 0 0
      docs/docker-hub/hub-images/deploy_key.png
  56. 0 0
      docs/docker-hub/hub-images/gh-check-admin-org-dh-app-access.png
  57. 0 0
      docs/docker-hub/hub-images/gh-check-user-org-dh-app-access.png
  58. 0 0
      docs/docker-hub/hub-images/gh_add_ssh_user_key.png
  59. 0 0
      docs/docker-hub/hub-images/gh_docker-service.png
  60. 0 0
      docs/docker-hub/hub-images/gh_menu.png
  61. 0 0
      docs/docker-hub/hub-images/gh_org_members.png
  62. 0 0
      docs/docker-hub/hub-images/gh_repo_deploy_key.png
  63. 0 0
      docs/docker-hub/hub-images/gh_service_hook.png
  64. 0 0
      docs/docker-hub/hub-images/gh_settings.png
  65. 0 0
      docs/docker-hub/hub-images/gh_team_members.png
  66. 0 0
      docs/docker-hub/hub-images/groups.png
  67. 0 0
      docs/docker-hub/hub-images/hub.png
  68. 0 0
      docs/docker-hub/hub-images/invite.png
  69. 0 0
      docs/docker-hub/hub-images/org-repo-collaborators.png
  70. 0 0
      docs/docker-hub/hub-images/orgs.png
  71. 0 0
      docs/docker-hub/hub-images/repos.png
  72. 9 3
      docs/docker-hub/index.md
  73. 9 3
      docs/docker-hub/official_repos.md
  74. 9 3
      docs/docker-hub/repos.md
  75. 9 3
      docs/docker-hub/userguide.md
  76. 0 0
      docs/examples/apt-cacher-ng.Dockerfile
  77. 9 3
      docs/examples/apt-cacher-ng.md
  78. 9 3
      docs/examples/couchdb_data_volumes.md
  79. 9 3
      docs/examples/mongodb.md
  80. 0 0
      docs/examples/mongodb/Dockerfile
  81. 9 3
      docs/examples/nodejs_web_app.md
  82. 0 0
      docs/examples/postgresql_service.Dockerfile
  83. 9 3
      docs/examples/postgresql_service.md
  84. 9 3
      docs/examples/running_redis_service.md
  85. 0 0
      docs/examples/running_riak_service.Dockerfile
  86. 9 3
      docs/examples/running_riak_service.md
  87. 0 0
      docs/examples/running_ssh_service.Dockerfile
  88. 9 3
      docs/examples/running_ssh_service.md
  89. 0 0
      docs/examples/supervisord.conf
  90. 0 0
      docs/include/no-remote-sudo.md
  91. 9 3
      docs/installation/SUSE.md
  92. 9 3
      docs/installation/amazon.md
  93. 9 3
      docs/installation/archlinux.md
  94. 9 3
      docs/installation/azure.md
  95. 10 3
      docs/installation/binaries.md
  96. 9 3
      docs/installation/centos.md
  97. 9 3
      docs/installation/cruxlinux.md
  98. 9 3
      docs/installation/debian.md
  99. 9 3
      docs/installation/fedora.md
  100. 9 3
      docs/installation/frugalware.md

+ 0 - 26
Makefile

@@ -23,11 +23,6 @@ DOCKER_ENVS := \
 BIND_DIR := $(if $(BINDDIR),$(BINDDIR),$(if $(DOCKER_HOST),,bundles))
 DOCKER_MOUNT := $(if $(BIND_DIR),-v "$(CURDIR)/$(BIND_DIR):/go/src/github.com/docker/docker/$(BIND_DIR)")
 
-# to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
-DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
-
-# to allow `make DOCSPORT=9000 docs`
-DOCSPORT := 8000
 
 GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
 DOCKER_IMAGE := docker-dev$(if $(GIT_BRANCH),:$(GIT_BRANCH))
@@ -51,19 +46,6 @@ binary: build
 cross: build
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross
 
-docs: docs-build
-	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" mkdocs serve
-
-docs-shell: docs-build
-	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash
-
-docs-release: docs-build
-	$(DOCKER_RUN_DOCS) -e OPTIONS -e BUILD_ROOT -e DISTRIBUTION_ID \
-		-v $(CURDIR)/docs/awsconfig:/docs/awsconfig \
-		"$(DOCKER_DOCS_IMAGE)" ./release.sh
-
-docs-test: docs-build
-	$(DOCKER_RUN_DOCS) "$(DOCKER_DOCS_IMAGE)" ./test.sh
 
 test: build
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration-cli test-docker-py
@@ -86,13 +68,5 @@ shell: build
 build: bundles
 	docker build -t "$(DOCKER_IMAGE)" .
 
-docs-build:
-	cp ./VERSION docs/VERSION
-	echo "$(GIT_BRANCH)" > docs/GIT_BRANCH
-#	echo "$(AWS_S3_BUCKET)" > docs/AWS_S3_BUCKET
-	echo "$(GITCOMMIT)" > docs/GITCOMMIT
-	docker pull docs/base
-	docker build -t "$(DOCKER_DOCS_IMAGE)" docs
-
 bundles:
 	mkdir bundles

+ 21 - 160
docs/Dockerfile

@@ -1,163 +1,24 @@
-#
-# See the top level Makefile in https://github.com/docker/docker for usage.
-#
-FROM docs/base:latest
-MAINTAINER Sven Dowideit <SvenDowideit@docker.com> (@SvenDowideit)
+FROM docs/base:hugo
+MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
 
-# This section ensures we pull the correct version of each
-# sub project
-ENV COMPOSE_BRANCH release
-ENV SWARM_BRANCH v0.2.0
-ENV MACHINE_BRANCH docs
-ENV DISTRIB_BRANCH docs
-ENV KITEMATIC_BRANCH master
-
-
-# TODO: need the full repo source to get the git version info
+# To get the git info for this repo
 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 ./s3_website.json ./release.sh ./
-
-#######################
-# Docker Distribution
-########################
-
-#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/mkdocs.yml /docs/mkdocs-distribution.yml
-
-ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/notifications.png \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/registry.png \
-  /docs/sources/registry/images/
-
-ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/index.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/deploying.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/configuration.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storagedrivers.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/notifications.md \
-  /docs/sources/registry/
-
-ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/api.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/json.md \
-  /docs/sources/registry/spec/
-  
-ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/s3.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/azure.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/filesystem.md \
-    https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/inmemory.md \
-  /docs/sources/registry/storage-drivers/
-
-ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/auth/token.md /docs/sources/registry/spec/auth/token.md
-
-RUN sed -i.old '1s;^;no_version_dropdown: true;' \
-  /docs/sources/registry/*.md \
-  /docs/sources/registry/spec/*.md \
-  /docs/sources/registry/spec/auth/*.md \
-  /docs/sources/registry/storage-drivers/*.md 
-
-RUN sed -i.old  -e '/^<!--GITHUB/g' -e '/^IGNORES-->/g'\
-  /docs/sources/registry/*.md \
-  /docs/sources/registry/spec/*.md \
-  /docs/sources/registry/spec/auth/*.md \
-  /docs/sources/registry/storage-drivers/*.md 
-
-#######################
-# Docker Swarm
-#######################
-
-#ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/mkdocs.yml /docs/mkdocs-swarm.yml
-ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/index.md /docs/sources/swarm/index.md
-
-ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/discovery/README.md /docs/sources/swarm/discovery.md
-
-ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/api/README.md /docs/sources/swarm/API.md
-
-ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/scheduler/filter/README.md /docs/sources/swarm/scheduler/filter.md
-
-ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/scheduler/strategy/README.md /docs/sources/swarm/scheduler/strategy.md
-
-RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/swarm/*.md /docs/sources/swarm/scheduler/*.md
-
-#######################
-# Docker Machine
-#######################
-#ADD https://raw.githubusercontent.com/docker/machine/${MACHINE_BRANCH}/docs/mkdocs.yml /docs/mkdocs-machine.yml
-
-ADD https://raw.githubusercontent.com/docker/machine/${MACHINE_BRANCH}/docs/index.md /docs/sources/machine/index.md
-RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/machine/index.md
-
-#######################
-# Docker Compose
-#######################
-
-#ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/mkdocs.yml /docs/mkdocs-compose.yml
-
-ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/index.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/install.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/cli.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/yml.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/env.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/completion.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/django.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/rails.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/wordpress.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/extends.md \
-  https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/production.md \
-  /docs/sources/compose/
-
-RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/compose/*.md
-
-#######################
-# Kitematic
-#######################
-ADD https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/faq.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/index.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/known-issues.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/minecraft-server.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/nginx-web-server.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/rethinkdb-dev-database.md \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/userguide.md \
-  /docs/sources/kitematic/
-RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/kitematic/*.md
-ADD https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/browse-images.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/change-folder.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-access-button.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-redis-container.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-terminal.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/containers.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/installing.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-add-server.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-create.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-data-volume.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-login.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-map.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-port.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-restart.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-server-address.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-2048-files.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-2048.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-create.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-data-folder.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-data-volume.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-hello-world.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-preview.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-serving-2048.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-container.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-create.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-ports.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethinkdb-preview.png \
-  https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/volumes-dir.png \
-  /docs/sources/kitematic/assets/
-
-# Then build everything together, ready for mkdocs
-RUN /docs/build.sh
+COPY . /docs/content/engine/
+
+# Sed to process GitHub Markdown
+# 1-2 Remove comment code from metadata block
+# 3 Remove .md extension from link text
+# 4 Change ](/ to ](/project/ in links
+# 5 Change ](word) to ](/project/word)
+# 6 Change ](../../ to ](/project/
+# 7 Change ](../ to ](/project/word)
+# 
+# 
+RUN find /docs/content/engine -type f -name "*.md" -exec sed -i.old \
+    -e '/^<!.*metadata]>/g' \
+    -e '/^<!.*end-metadata.*>/g' \
+    -e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
+    -e 's/\(\]\)\([(]\)\(\/\)/\1\2\/engine\//g' \
+    -e 's/\(\][(]\)\([A-z]*[)]\)/\]\(\/engine\/\2/g' \
+    -e 's/\(\][(]\)\(\.\.\/\)/\1\/engine\//g' {} \;

+ 55 - 0
docs/Makefile

@@ -0,0 +1,55 @@
+.PHONY: all binary build cross default docs docs-build docs-shell shell test test-unit test-integration test-integration-cli test-docker-py validate
+
+# env vars passed through directly to Docker's build scripts
+# to allow things like `make DOCKER_CLIENTONLY=1 binary` easily
+# `docs/sources/contributing/devenvironment.md ` and `project/PACKAGERS.md` have some limited documentation of some of these
+DOCKER_ENVS := \
+	-e BUILDFLAGS \
+	-e DOCKER_CLIENTONLY \
+	-e DOCKER_EXECDRIVER \
+	-e DOCKER_GRAPHDRIVER \
+	-e TESTDIRS \
+	-e TESTFLAGS \
+	-e TIMEOUT
+# note: we _cannot_ add "-e DOCKER_BUILDTAGS" here because even if it's unset in the shell, that would shadow the "ENV DOCKER_BUILDTAGS" set in our Dockerfile, which is very important for our official builds
+
+# to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
+DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
+
+# to allow `make DOCSPORT=9000 docs`
+DOCSPORT := 8000
+
+# 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
+
+GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
+DOCKER_IMAGE := docker$(if $(GIT_BRANCH),:$(GIT_BRANCH))
+DOCKER_DOCS_IMAGE := docs-base$(if $(GIT_BRANCH),:$(GIT_BRANCH))
+
+
+DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT) -e AWS_S3_BUCKET -e NOCACHE
+
+# for some docs workarounds (see below in "docs-build" target)
+GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
+
+default: docs
+
+docs: docs-build
+	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP)
+
+docs-draft: docs-build
+	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --buildDrafts="true" --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
+
+
+docs-build:
+#	( git remote | grep -v upstream ) || git diff --name-status upstream/release..upstream/docs ./ > ./changed-files
+#	echo "$(GIT_BRANCH)" > GIT_BRANCH
+#	echo "$(AWS_S3_BUCKET)" > AWS_S3_BUCKET
+#	echo "$(GITCOMMIT)" > GITCOMMIT
+	docker build -t "$(DOCKER_DOCS_IMAGE)" .

+ 6 - 0
docs/README.md

@@ -1,3 +1,9 @@
+<!--[metadata]>
++++
+draft = true
++++
+<![end-metadata]-->
+
 # Docker Documentation
 
 The source for Docker documentation is in this directory under `sources/`. Our

+ 0 - 0
docs/sources/article-img/architecture.svg → docs/article-img/architecture.svg


+ 0 - 0
docs/sources/article-img/ipv6_basic_host_config.gliffy → docs/article-img/ipv6_basic_host_config.gliffy


+ 0 - 0
docs/sources/article-img/ipv6_basic_host_config.svg → docs/article-img/ipv6_basic_host_config.svg


+ 0 - 0
docs/sources/article-img/ipv6_ndp_proxying.gliffy → docs/article-img/ipv6_ndp_proxying.gliffy


+ 0 - 0
docs/sources/article-img/ipv6_ndp_proxying.svg → docs/article-img/ipv6_ndp_proxying.svg


+ 0 - 0
docs/sources/article-img/ipv6_routed_network_example.gliffy → docs/article-img/ipv6_routed_network_example.gliffy


+ 0 - 0
docs/sources/article-img/ipv6_routed_network_example.svg → docs/article-img/ipv6_routed_network_example.svg


+ 0 - 0
docs/sources/article-img/ipv6_slash64_subnet_config.gliffy → docs/article-img/ipv6_slash64_subnet_config.gliffy


+ 0 - 0
docs/sources/article-img/ipv6_slash64_subnet_config.svg → docs/article-img/ipv6_slash64_subnet_config.svg


+ 0 - 0
docs/sources/article-img/ipv6_switched_network_example.gliffy → docs/article-img/ipv6_switched_network_example.gliffy


+ 0 - 0
docs/sources/article-img/ipv6_switched_network_example.svg → docs/article-img/ipv6_switched_network_example.svg


+ 10 - 3
docs/sources/articles/ambassador_pattern_linking.md → docs/articles/ambassador_pattern_linking.md

@@ -1,6 +1,13 @@
-page_title: Link via an ambassador container
-page_description: Using the Ambassador pattern to abstract (network) services
-page_keywords: Examples, Usage, links, docker, documentation, examples, names, name, container naming
+<!--[metadata]>
++++
+title = "Link via an ambassador container"
+description = "Using the Ambassador pattern to abstract (network) services"
+keywords = ["Examples, Usage, links, docker, documentation, examples, names, name,  container naming"]
+[menu.main]
+parent = "smn_administrate"
+weight = 6
++++
+<![end-metadata]-->
 
 # Link via an ambassador container
 

+ 0 - 0
docs/sources/articles/b2d_volume_images/add_cd.png → docs/articles/b2d_volume_images/add_cd.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/add_new_controller.png → docs/articles/b2d_volume_images/add_new_controller.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/add_volume.png → docs/articles/b2d_volume_images/add_volume.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/boot_order.png → docs/articles/b2d_volume_images/boot_order.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/gparted.png → docs/articles/b2d_volume_images/gparted.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/gparted2.png → docs/articles/b2d_volume_images/gparted2.png


+ 0 - 0
docs/sources/articles/b2d_volume_images/verify.png → docs/articles/b2d_volume_images/verify.png


+ 9 - 3
docs/sources/articles/b2d_volume_resize.md → docs/articles/b2d_volume_resize.md

@@ -1,6 +1,12 @@
-page_title: Resizing a Boot2Docker volume	
-page_description: Resizing a Boot2Docker volume in VirtualBox with GParted
-page_keywords: boot2docker, volume, virtualbox
+<!--[metadata]>
++++
+title = "Resizing a Boot2Docker volume	"
+description = "Resizing a Boot2Docker volume in VirtualBox with GParted"
+keywords = ["boot2docker, volume,  virtualbox"]
+[menu.main]
+parent = "smn_win_osx"
++++
+<![end-metadata]-->
 
 # Getting “no space left on device” errors with Boot2Docker?
 

+ 9 - 3
docs/sources/articles/baseimages.md → docs/articles/baseimages.md

@@ -1,6 +1,12 @@
-page_title: Create a base image
-page_description: How to create base images
-page_keywords: Examples, Usage, base image, docker, documentation, examples
+<!--[metadata]>
++++
+title = "Create a base image"
+description = "How to create base images"
+keywords = ["Examples, Usage, base image, docker, documentation,  examples"]
+[menu.main]
+parent = "smn_images"
++++
+<![end-metadata]-->
 
 # Create a base image
 

+ 11 - 5
docs/sources/articles/basics.md → docs/articles/basics.md

@@ -1,8 +1,14 @@
-page_title: First steps with Docker
-page_description: Common usage and commands
-page_keywords: Examples, Usage, basic commands, docker, documentation, examples
-
-# First steps with Docker
+<!--[metadata]>
++++
+title = "Get started with containers"
+description = "Common usage and commands"
+keywords = ["Examples, Usage, basic commands, docker, documentation,  examples"]
+[menu.main]
+parent = "smn_containers"
++++
+<![end-metadata]-->
+
+# "Get started with containers
 
 This guide assumes you have a working installation of Docker. To verify Docker is 
 installed, use the following command:

+ 9 - 3
docs/sources/articles/certificates.md → docs/articles/certificates.md

@@ -1,6 +1,12 @@
-page_title: Using certificates for repository client verification
-page_description: How to set up and use certificates with a registry to verify access
-page_keywords: Usage, registry, repository, client, root, certificate, docker, apache, ssl, tls, documentation, examples, articles, tutorials
+<!--[metadata]>
++++
+title = "Using certificates for repository client verification"
+description = "How to set up and use certificates with a registry to verify access"
+keywords = ["Usage, registry, repository, client, root, certificate, docker, apache, ssl, tls, documentation, examples, articles,  tutorials"]
+[menu.main]
+parent = "smn_registry"
++++
+<![end-metadata]-->
 
 # Using certificates for repository client verification
 

+ 9 - 3
docs/sources/articles/cfengine_process_management.md → docs/articles/cfengine_process_management.md

@@ -1,6 +1,12 @@
-page_title: Process management with CFEngine
-page_description: Managing containerized processes with CFEngine
-page_keywords: cfengine, process, management, usage, docker, documentation
+<!--[metadata]>
++++
+title = "Process management with CFEngine"
+description = "Managing containerized processes with CFEngine"
+keywords = ["cfengine, process, management, usage, docker,  documentation"]
+[menu.main]
+parent = "smn_third_party"
++++
+<![end-metadata]-->
 
 # Process management with CFEngine
 

+ 9 - 3
docs/sources/articles/chef.md → docs/articles/chef.md

@@ -1,6 +1,12 @@
-page_title: Using Chef
-page_description: Installation and using Docker via Chef
-page_keywords: chef, installation, usage, docker, documentation
+<!--[metadata]>
++++
+title = "Using Chef"
+description = "Installation and using Docker via Chef"
+keywords = ["chef, installation, usage, docker,  documentation"]
+[menu.main]
+parent = "smn_third_party"
++++
+<![end-metadata]-->
 
 # Using Chef
 

+ 10 - 3
docs/sources/articles/configuring.md → docs/articles/configuring.md

@@ -1,6 +1,13 @@
-page_title: Configuring and running Docker
-page_description: Configuring and running the Docker daemon on various distributions
-page_keywords: docker, daemon, configuration, running, process managers
+<!--[metadata]>
++++
+title = "Configuring and running Docker"
+description = "Configuring and running the Docker daemon on various distributions"
+keywords = ["docker, daemon, configuration, running,  process managers"]
+[menu.main]
+parent = "smn_administrate"
+weight = 3
++++
+<![end-metadata]-->
 
 # Configuring and running Docker on various distributions
 

+ 9 - 3
docs/sources/articles/dockerfile_best-practices.md → docs/articles/dockerfile_best-practices.md

@@ -1,6 +1,12 @@
-page_title: Best practices for writing Dockerfiles
-page_description: Hints, tips and guidelines for writing clean, reliable Dockerfiles
-page_keywords: Examples, Usage, base image, docker, documentation, dockerfile, best practices, hub, official repo
+<!--[metadata]>
++++
+title = "Best practices for writing Dockerfiles"
+description = "Hints, tips and guidelines for writing clean, reliable Dockerfiles"
+keywords = ["Examples, Usage, base image, docker, documentation, dockerfile, best practices, hub,  official repo"]
+[menu.main]
+parent = "smn_images"
++++
+<![end-metadata]-->
 
 # Best practices for writing Dockerfiles
 

+ 9 - 3
docs/sources/articles/dsc.md → docs/articles/dsc.md

@@ -1,6 +1,12 @@
-page_title: PowerShell DSC Usage
-page_description: Using DSC to configure a new Docker host
-page_keywords: powershell, dsc, installation, usage, docker, documentation
+<!--[metadata]>
++++
+title = "PowerShell DSC Usage"
+description = "Using DSC to configure a new Docker host"
+keywords = ["powershell, dsc, installation, usage, docker,  documentation"]
+[menu.main]
+parent = "smn_win_osx"
++++
+<![end-metadata]-->
 
 # Using PowerShell DSC
 

+ 10 - 3
docs/sources/articles/host_integration.md → docs/articles/host_integration.md

@@ -1,6 +1,13 @@
-page_title: Automatically start containers
-page_description: How to generate scripts for upstart, systemd, etc.
-page_keywords: systemd, upstart, supervisor, docker, documentation, host integration
+<!--[metadata]>
++++
+title = "Automatically start containers"
+description = "How to generate scripts for upstart, systemd, etc."
+keywords = ["systemd, upstart, supervisor, docker, documentation,  host integration"]
+[menu.main]
+parent = "smn_containers"
+weight = 99
++++
+<![end-metadata]-->
 
 # Automatically start containers
 

+ 12 - 5
docs/sources/articles/https.md → docs/articles/https.md

@@ -1,8 +1,15 @@
-page_title: Protecting the Docker daemon socket with HTTPS
-page_description: How to setup and run Docker with HTTPS
-page_keywords: docker, docs, article, example, https, daemon, tls, ca, certificate
-
-# Protecting the Docker daemon socket with HTTPS
+<!--[metadata]>
++++
+title = "Protect the Docker daemon socket"
+description = "How to setup and run Docker with HTTPS"
+keywords = ["docker, docs, article, example, https, daemon, tls, ca,  certificate"]
+[menu.main]
+parent = "smn_administrate"
+weight = 5
++++
+<![end-metadata]-->
+
+# Protect the Docker daemon socket
 
 By default, Docker runs via a non-networked Unix socket. It can also
 optionally communicate using a HTTP socket.

+ 0 - 0
docs/sources/articles/https/Dockerfile → docs/articles/https/Dockerfile


+ 0 - 0
docs/sources/articles/https/Makefile → docs/articles/https/Makefile


+ 0 - 0
docs/sources/articles/https/README.md → docs/articles/https/README.md


+ 0 - 0
docs/sources/articles/https/make_certs.sh → docs/articles/https/make_certs.sh


+ 0 - 0
docs/sources/articles/https/parsedocs.sh → docs/articles/https/parsedocs.sh


+ 10 - 4
docs/sources/articles/networking.md → docs/articles/networking.md

@@ -1,10 +1,16 @@
-page_title: Network configuration
-page_description: Docker networking
-page_keywords: network, networking, bridge, docker, documentation
+<!--[metadata]>
++++
+title = "Network configuration"
+description = "Docker networking"
+keywords = ["network, networking, bridge, docker,  documentation"]
+[menu.main]
+parent= "smn_administrate"
++++
+<![end-metadata]-->
 
 # Network configuration
 
-## TL;DR
+## Summary
 
 When Docker starts, it creates a virtual interface named `docker0` on
 the host machine.  It randomly chooses an address and subnet from the

+ 9 - 3
docs/sources/articles/puppet.md → docs/articles/puppet.md

@@ -1,6 +1,12 @@
-page_title: Using Puppet
-page_description: Installing and using Puppet
-page_keywords: puppet, installation, usage, docker, documentation
+<!--[metadata]>
++++
+title = "Using Puppet"
+description = "Installing and using Puppet"
+keywords = ["puppet, installation, usage, docker,  documentation"]
+[menu.main]
+parent = "smn_third_party"
++++
+<![end-metadata]-->
 
 # Using Puppet
 

+ 9 - 3
docs/sources/articles/registry_mirror.md → docs/articles/registry_mirror.md

@@ -1,6 +1,12 @@
-page_title: Run a local registry mirror
-page_description: How to set up and run a local registry mirror
-page_keywords: docker, registry, mirror, examples
+<!--[metadata]>
++++
+title = "Run a local registry mirror"
+description = "How to set up and run a local registry mirror"
+keywords = ["docker, registry, mirror,  examples"]
+[menu.main]
+parent = "smn_registry"
++++
+<![end-metadata]-->
 
 # Run a local registry mirror
 

+ 10 - 3
docs/sources/articles/runmetrics.md → docs/articles/runmetrics.md

@@ -1,6 +1,13 @@
-page_title: Runtime metrics
-page_description: Measure the behavior of running containers
-page_keywords: docker, metrics, CPU, memory, disk, IO, run, runtime
+<!--[metadata]>
++++
+title = "Runtime metrics"
+description = "Measure the behavior of running containers"
+keywords = ["docker, metrics, CPU, memory, disk, IO, run,  runtime"]
+[menu.main]
+parent = "smn_administrate"
+weight = 4
++++
+<![end-metadata]-->
 
 # Runtime metrics
 

+ 10 - 3
docs/sources/articles/security.md → docs/articles/security.md

@@ -1,6 +1,13 @@
-page_title: Docker security
-page_description: Review of the Docker Daemon attack surface
-page_keywords: Docker, Docker documentation, security
+<!--[metadata]>
++++
+title = "Docker security"
+description = "Review of the Docker Daemon attack surface"
+keywords = ["Docker, Docker documentation,  security"]
+[menu.main]
+parent = "smn_administrate"
+weight = 2
++++
+<![end-metadata]-->
 
 # Docker security
 

+ 12 - 5
docs/sources/articles/systemd.md → docs/articles/systemd.md

@@ -1,8 +1,15 @@
-page_title: Controlling and configuring Docker using systemd
-page_description: Controlling and configuring Docker using systemd
-page_keywords: docker, daemon, systemd, configuration
-
-# Controlling and configuring Docker using systemd
+<!--[metadata]>
++++
+title = "Control and configure Docker with systemd"
+description = "Controlling and configuring Docker using systemd"
+keywords = ["docker, daemon, systemd,  configuration"]
+[menu.main]
+parent = "smn_administrate"
+weight = 7
++++
+<![end-metadata]-->
+
+# Control and configure Docker with systemd
 
 Many Linux distributions use systemd to start the Docker daemon. This document
 shows a few examples of how to customise Docker's settings.

+ 9 - 3
docs/sources/articles/using_supervisord.md → docs/articles/using_supervisord.md

@@ -1,6 +1,12 @@
-page_title: Using Supervisor with Docker
-page_description: How to use Supervisor process management with Docker
-page_keywords: docker, supervisor, process management
+<!--[metadata]>
++++
+title = "Using Supervisor with Docker"
+description = "How to use Supervisor process management with Docker"
+keywords = ["docker, supervisor,  process management"]
+[menu.main]
+parent = "smn_third_party"
++++
+<![end-metadata]-->
 
 # Using Supervisor with Docker
 

+ 9 - 3
docs/sources/docker-hub/accounts.md → docs/docker-hub/accounts.md

@@ -1,6 +1,12 @@
-page_title: Accounts on Docker Hub
-page_description: Docker Hub accounts
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation
+<!--[metadata]>
++++
+title = "Accounts on Docker Hub"
+description = "Docker Hub accounts"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs,  documentation"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Accounts on Docker Hub
 

+ 9 - 3
docs/sources/docker-hub/builds.md → docs/docker-hub/builds.md

@@ -1,6 +1,12 @@
-page_title: Automated Builds on Docker Hub
-page_description: Docker Hub Automated Builds
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, trusted, builds, trusted builds, automated builds
+<!--[metadata]>
++++
+title = "Automated Builds on Docker Hub"
+description = "Docker Hub Automated Builds"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, trusted, builds, trusted builds,  automated builds"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Automated Builds on Docker Hub
 

+ 9 - 3
docs/sources/docker-hub/home.md → docs/docker-hub/home.md

@@ -1,6 +1,12 @@
-page_title: The Docker Hub Registry help
-page_description: The Docker Registry help documentation home
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation
+<!--[metadata]>
++++
+title = "The Docker Hub Registry help"
+description = "The Docker Registry help documentation home"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs,  documentation"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # The Docker Hub Registry help
 

+ 0 - 0
docs/sources/docker-hub/hub-images/bb_hooks.png → docs/docker-hub/hub-images/bb_hooks.png


+ 0 - 0
docs/sources/docker-hub/hub-images/bb_menu.png → docs/docker-hub/hub-images/bb_menu.png


+ 0 - 0
docs/sources/docker-hub/hub-images/bb_post-hook.png → docs/docker-hub/hub-images/bb_post-hook.png


+ 0 - 0
docs/sources/docker-hub/hub-images/build-trigger.png → docs/docker-hub/hub-images/build-trigger.png


+ 0 - 0
docs/sources/docker-hub/hub-images/dashboard.png → docs/docker-hub/hub-images/dashboard.png


+ 0 - 0
docs/sources/docker-hub/hub-images/deploy_key.png → docs/docker-hub/hub-images/deploy_key.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh-check-admin-org-dh-app-access.png → docs/docker-hub/hub-images/gh-check-admin-org-dh-app-access.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh-check-user-org-dh-app-access.png → docs/docker-hub/hub-images/gh-check-user-org-dh-app-access.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_add_ssh_user_key.png → docs/docker-hub/hub-images/gh_add_ssh_user_key.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_docker-service.png → docs/docker-hub/hub-images/gh_docker-service.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_menu.png → docs/docker-hub/hub-images/gh_menu.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_org_members.png → docs/docker-hub/hub-images/gh_org_members.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_repo_deploy_key.png → docs/docker-hub/hub-images/gh_repo_deploy_key.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_service_hook.png → docs/docker-hub/hub-images/gh_service_hook.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_settings.png → docs/docker-hub/hub-images/gh_settings.png


+ 0 - 0
docs/sources/docker-hub/hub-images/gh_team_members.png → docs/docker-hub/hub-images/gh_team_members.png


+ 0 - 0
docs/sources/docker-hub/hub-images/groups.png → docs/docker-hub/hub-images/groups.png


+ 0 - 0
docs/sources/docker-hub/hub-images/hub.png → docs/docker-hub/hub-images/hub.png


+ 0 - 0
docs/sources/docker-hub/hub-images/invite.png → docs/docker-hub/hub-images/invite.png


+ 0 - 0
docs/sources/docker-hub/hub-images/org-repo-collaborators.png → docs/docker-hub/hub-images/org-repo-collaborators.png


+ 0 - 0
docs/sources/docker-hub/hub-images/orgs.png → docs/docker-hub/hub-images/orgs.png


+ 0 - 0
docs/sources/docker-hub/hub-images/repos.png → docs/docker-hub/hub-images/repos.png


+ 9 - 3
docs/sources/docker-hub/index.md → docs/docker-hub/index.md

@@ -1,6 +1,12 @@
-page_title: The Docker Hub help
-page_description: The Docker Help documentation home
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, accounts, organizations, repositories, groups
+<!--[metadata]>
++++
+title = "The Docker Hub help"
+description = "The Docker Help documentation home"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, accounts, organizations, repositories,  groups"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Docker Hub
 

+ 9 - 3
docs/sources/docker-hub/official_repos.md → docs/docker-hub/official_repos.md

@@ -1,6 +1,12 @@
-page_title: Official Repositories on Docker Hub
-page_description: Guidelines for Official Repositories on Docker Hub
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, official, image, documentation
+<!--[metadata]>
++++
+title = "Official Repositories on Docker Hub"
+description = "Guidelines for Official Repositories on Docker Hub"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, official, image,  documentation"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Official Repositories on Docker Hub
 

+ 9 - 3
docs/sources/docker-hub/repos.md → docs/docker-hub/repos.md

@@ -1,6 +1,12 @@
-page_title: Your Repositories on Docker Hub
-page_description: Your Repositories on Docker Hub
-page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, webhooks, docs, documentation
+<!--[metadata]>
++++
+title = "Your Repositories on Docker Hub"
+description = "Your Repositories on Docker Hub"
+keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, webhooks, docs,  documentation"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Your Hub repositories
 

+ 9 - 3
docs/sources/docker-hub/userguide.md → docs/docker-hub/userguide.md

@@ -1,6 +1,12 @@
-page_title: Docker Hub user guide
-page_description: Docker Hub user guide
-page_keywords: Docker, docker, registry, Docker Hub, docs, documentation
+<!--[metadata]>
++++
+title = "Docker Hub user guide"
+description = "Docker Hub user guide"
+keywords = ["Docker, docker, registry, Docker Hub, docs,  documentation"]
+[menu.main]
+parent = "smn_pubhub"
++++
+<![end-metadata]-->
 
 # Using the Docker Hub
 

+ 0 - 0
docs/sources/examples/apt-cacher-ng.Dockerfile → docs/examples/apt-cacher-ng.Dockerfile


+ 9 - 3
docs/sources/examples/apt-cacher-ng.md → docs/examples/apt-cacher-ng.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing an apt-cacher-ng service
-page_description: Installing and running an apt-cacher-ng service
-page_keywords: docker, example, package installation, networking, debian, ubuntu
+<!--[metadata]>
++++
+title = "Dockerizing an apt-cacher-ng service"
+description = "Installing and running an apt-cacher-ng service"
+keywords = ["docker, example, package installation, networking, debian,  ubuntu"]
+[menu.main]
+parent = "smn_applied"
++++
+<![end-metadata]-->
 
 # Dockerizing an apt-cacher-ng service
 

+ 9 - 3
docs/sources/examples/couchdb_data_volumes.md → docs/examples/couchdb_data_volumes.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing a CouchDB service
-page_description: Sharing data between 2 couchdb databases
-page_keywords: docker, example, package installation, networking, couchdb, data volumes
+<!--[metadata]>
++++
+title = "Dockerizing a CouchDB service"
+description = "Sharing data between 2 couchdb databases"
+keywords = ["docker, example, package installation, networking, couchdb,  data volumes"]
+[menu.main]
+parent = "smn_remoteapi"
++++
+<![end-metadata]-->
 
 # Dockerizing a CouchDB service
 

+ 9 - 3
docs/sources/examples/mongodb.md → docs/examples/mongodb.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing MongoDB
-page_description: Creating a Docker image with MongoDB pre-installed using a Dockerfile and sharing the image on Docker Hub
-page_keywords: docker, dockerize, dockerizing, article, example, docker.io, platform, package, installation, networking, mongodb, containers, images, image, sharing, dockerfile, build, auto-building, virtualization, framework
+<!--[metadata]>
++++
+title = "Dockerizing MongoDB"
+description = "Creating a Docker image with MongoDB pre-installed using a Dockerfile and sharing the image on Docker Hub"
+keywords = ["docker, dockerize, dockerizing, article, example, docker.io, platform, package, installation, networking, mongodb, containers, images, image, sharing, dockerfile, build, auto-building, virtualization,  framework"]
+[menu.main]
+parent = "smn_applied"
++++
+<![end-metadata]-->
 
 # Dockerizing MongoDB
 

+ 0 - 0
docs/sources/examples/mongodb/Dockerfile → docs/examples/mongodb/Dockerfile


+ 9 - 3
docs/sources/examples/nodejs_web_app.md → docs/examples/nodejs_web_app.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing a Node.js web app
-page_description: Installing and running a Node.js app with Docker
-page_keywords: docker, example, package installation, node, centos
+<!--[metadata]>
++++
+title = "Dockerizing a Node.js web app"
+description = "Installing and running a Node.js app with Docker"
+keywords = ["docker, example, package installation, node,  centos"]
+[menu.main]
+parent = "smn_applied"
++++
+<![end-metadata]-->
 
 # Dockerizing a Node.js web app
 

+ 0 - 0
docs/sources/examples/postgresql_service.Dockerfile → docs/examples/postgresql_service.Dockerfile


+ 9 - 3
docs/sources/examples/postgresql_service.md → docs/examples/postgresql_service.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing PostgreSQL
-page_description: Running and installing a PostgreSQL service
-page_keywords: docker, example, package installation, postgresql
+<!--[metadata]>
++++
+title = "Dockerizing PostgreSQL"
+description = "Running and installing a PostgreSQL service"
+keywords = ["docker, example, package installation,  postgresql"]
+[menu.main]
+parent = "smn_applied"
++++
+<![end-metadata]-->
 
 # Dockerizing PostgreSQL
 

+ 9 - 3
docs/sources/examples/running_redis_service.md → docs/examples/running_redis_service.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing a Redis service
-page_description: Installing and running an redis service
-page_keywords: docker, example, package installation, networking, redis
+<!--[metadata]>
++++
+title = "Dockerizing a Redis service"
+description = "Installing and running an redis service"
+keywords = ["docker, example, package installation, networking,  redis"]
+[menu.main]
+parent = "smn_applied"
++++
+<![end-metadata]-->
 
 # Dockerizing a Redis service
 

+ 0 - 0
docs/sources/examples/running_riak_service.Dockerfile → docs/examples/running_riak_service.Dockerfile


+ 9 - 3
docs/sources/examples/running_riak_service.md → docs/examples/running_riak_service.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing a Riak service
-page_description: Build a Docker image with Riak pre-installed
-page_keywords: docker, example, package installation, networking, riak
+<!--[metadata]>
++++
+title = "Dockerizing a Riak service"
+description = "Build a Docker image with Riak pre-installed"
+keywords = ["docker, example, package installation, networking,  riak"]
+[menu.main]
+parent = "smn_apps_servs"
++++
+<![end-metadata]-->
 
 # Dockerizing a Riak service
 

+ 0 - 0
docs/sources/examples/running_ssh_service.Dockerfile → docs/examples/running_ssh_service.Dockerfile


+ 9 - 3
docs/sources/examples/running_ssh_service.md → docs/examples/running_ssh_service.md

@@ -1,6 +1,12 @@
-page_title: Dockerizing an SSH service
-page_description: Installing and running an SSHd service on Docker
-page_keywords: docker, example, package installation, networking
+<!--[metadata]>
++++
+title = "Dockerizing an SSH service"
+description = "Installing and running an SSHd service on Docker"
+keywords = ["docker, example, package installation,  networking"]
+[menu.main]
+parent = "smn_apps_servs"
++++
+<![end-metadata]-->
 
 # Dockerizing an SSH daemon service
 

+ 0 - 0
docs/sources/examples/supervisord.conf → docs/examples/supervisord.conf


+ 0 - 0
docs/sources/include/no-remote-sudo.md → docs/include/no-remote-sudo.md


+ 9 - 3
docs/sources/installation/SUSE.md → docs/installation/SUSE.md

@@ -1,6 +1,12 @@
-page_title: Installation on openSUSE and SUSE Linux Enterprise
-page_description: Installation instructions for Docker on openSUSE and on SUSE Linux Enterprise.
-page_keywords: openSUSE, SUSE Linux Enterprise, SUSE, SLE, docker, documentation, installation
+<!--[metadata]>
++++
+title = "Installation on openSUSE and SUSE Linux Enterprise"
+description = "Installation instructions for Docker on openSUSE and on SUSE Linux Enterprise."
+keywords = ["openSUSE, SUSE Linux Enterprise, SUSE, SLE, docker, documentation,  installation"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # openSUSE
 

+ 9 - 3
docs/sources/installation/amazon.md → docs/installation/amazon.md

@@ -1,6 +1,12 @@
-page_title: Installation on Amazon EC2
-page_description: Installation instructions for Docker on Amazon EC2.
-page_keywords: amazon ec2, virtualization, cloud, docker, documentation, installation
+<!--[metadata]>
++++
+title = "Amazon EC2 Installation"
+description = "Installation instructions for Docker on Amazon EC2."
+keywords = ["amazon ec2, virtualization, cloud, docker, documentation,  installation"]
+[menu.main]
+parent = "smn_cloud"
++++
+<![end-metadata]-->
 
 ## Amazon EC2
 

+ 9 - 3
docs/sources/installation/archlinux.md → docs/installation/archlinux.md

@@ -1,6 +1,12 @@
-page_title: Installation on Arch Linux
-page_description: Installation instructions for Docker on ArchLinux.
-page_keywords: arch linux, virtualization, docker, documentation, installation
+<!--[metadata]>
++++
+title = "Installation on Arch Linux"
+description = "Installation instructions for Docker on ArchLinux."
+keywords = ["arch linux, virtualization, docker, documentation,  installation"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # Arch Linux
 

+ 9 - 3
docs/sources/installation/azure.md → docs/installation/azure.md

@@ -1,6 +1,12 @@
-page_title: Installation on Microsoft Azure platform
-page_description: Instructions for creating a Docker-ready virtual machine on Microsoft Azure cloud platform.
-page_keywords: Docker, Docker documentation, installation, azure, microsoft
+<!--[metadata]>
++++
+title = "Installation on Microsoft Azure platform"
+description = "Instructions for creating a Docker-ready virtual machine on Microsoft Azure cloud platform."
+keywords = ["Docker, Docker documentation, installation, azure,  microsoft"]
+[menu.main]
+parent = "smn_cloud"
++++
+<![end-metadata]-->
 
 # Microsoft Azure
 

+ 10 - 3
docs/sources/installation/binaries.md → docs/installation/binaries.md

@@ -1,6 +1,13 @@
-page_title: Installation from binaries
-page_description: Instructions for installing Docker as a binary. Mostly meant for hackers who want to try out Docker on a variety of environments.
-page_keywords: binaries, installation, docker, documentation, linux
+<!--[metadata]>
++++
+title = "Installation from binaries"
+description = "Instructions for installing Docker as a binary. Mostly meant for hackers who want to try out Docker on a variety of environments."
+keywords = ["binaries, installation, docker, documentation,  linux"]
+[menu.main]
+parent = "smn_engine"
+weight = 110
++++
+<![end-metadata]-->
 
 # Binaries
 

+ 9 - 3
docs/sources/installation/centos.md → docs/installation/centos.md

@@ -1,6 +1,12 @@
-page_title: Installation on CentOS
-page_description: Instructions for installing Docker on CentOS
-page_keywords: Docker, Docker documentation, requirements, linux, centos, epel, docker.io, docker-io
+<!--[metadata]>
++++
+title = "Installation on CentOS"
+description = "Instructions for installing Docker on CentOS"
+keywords = ["Docker, Docker documentation, requirements, linux, centos, epel, docker.io,  docker-io"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # CentOS
 

+ 9 - 3
docs/sources/installation/cruxlinux.md → docs/installation/cruxlinux.md

@@ -1,6 +1,12 @@
-page_title: Installation on CRUX Linux
-page_description: Docker installation on CRUX Linux.
-page_keywords: crux linux, virtualization, Docker, documentation, installation
+<!--[metadata]>
++++
+title = "Installation on CRUX Linux"
+description = "Docker installation on CRUX Linux."
+keywords = ["crux linux, virtualization, Docker, documentation,  installation"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # CRUX Linux
 

+ 9 - 3
docs/sources/installation/debian.md → docs/installation/debian.md

@@ -1,6 +1,12 @@
-page_title: Installation on Debian
-page_description: Instructions for installing Docker on Debian.
-page_keywords: Docker, Docker documentation, installation, debian
+<!--[metadata]>
++++
+title = "Installation on Debian"
+description = "Instructions for installing Docker on Debian."
+keywords = ["Docker, Docker documentation, installation,  debian"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # Debian
 

+ 9 - 3
docs/sources/installation/fedora.md → docs/installation/fedora.md

@@ -1,6 +1,12 @@
-page_title: Installation on Fedora
-page_description: Instructions for installing Docker on Fedora.
-page_keywords: Docker, Docker documentation, Fedora, requirements, linux
+<!--[metadata]>
++++
+title = "Installation on Fedora"
+description = "Instructions for installing Docker on Fedora."
+keywords = ["Docker, Docker documentation, Fedora, requirements,  linux"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # Fedora
 

+ 9 - 3
docs/sources/installation/frugalware.md → docs/installation/frugalware.md

@@ -1,6 +1,12 @@
-page_title: Installation on FrugalWare
-page_description: Installation instructions for Docker on FrugalWare.
-page_keywords: frugalware linux, virtualization, docker, documentation, installation
+<!--[metadata]>
++++
+title = "Installation on FrugalWare"
+description = "Installation instructions for Docker on FrugalWare."
+keywords = ["frugalware linux, virtualization, docker, documentation,  installation"]
+[menu.main]
+parent = "smn_linux"
++++
+<![end-metadata]-->
 
 # FrugalWare
 

Some files were not shown because too many files changed in this diff