Selaa lähdekoodia

Remove yaml docs generator and man pages

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 8 vuotta sitten
vanhempi
commit
2b45ec7f78
2 muutettua tiedostoa jossa 0 lisäystä ja 21 poistoa
  1. 0 9
      Makefile
  2. 0 12
      hack/make/yaml-docs-generator

+ 0 - 9
Makefile

@@ -134,12 +134,6 @@ init-go-pkg-cache:
 install: ## install the linux binaries
 	KEEPBUNDLE=1 hack/make.sh install-binary
 
-manpages: ## Generate man pages from go source and markdown
-	docker build ${DOCKER_BUILD_ARGS} -t docker-manpage-dev -f "man/$(DOCKERFILE)" ./man
-	docker run --rm \
-		-v $(PWD):/go/src/github.com/docker/docker/ \
-		docker-manpage-dev
-
 rpm: build ## build the rpm packages
 	$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary build-rpm
 
@@ -149,9 +143,6 @@ run: build ## run the docker daemon in a container
 shell: build ## start a shell inside the build env
 	$(DOCKER_RUN_DOCKER) bash
 
-yaml-docs-gen: build ## generate documentation YAML files consumed by docs repo
-	$(DOCKER_RUN_DOCKER) sh -c 'hack/make.sh yaml-docs-generator && ( root=$$(pwd); cd bundles/latest/yaml-docs-generator; mkdir docs; ./yaml-docs-generator --root $${root} --target $$(pwd)/docs )'
-
 test: build ## run the unit, integration and docker-py tests
 	$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration-cli test-docker-py
 

+ 0 - 12
hack/make/yaml-docs-generator

@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-[ -z "$KEEPDEST" ] && \
-	rm -rf "$DEST"
-
-(
-	source "${MAKEDIR}/.binary-setup"
-	export BINARY_SHORT_NAME="yaml-docs-generator"
-	export GO_PACKAGE='github.com/docker/docker/docs/yaml'
-	source "${MAKEDIR}/.binary"
-)