[go: nahoru, domu]

Skip to content

Commit

Permalink
docs: remove hugo and generated docs
Browse files Browse the repository at this point in the history
  - Removed auto-generated docs from the repo as we now have
    a service that will compile and host those instead.

  - Remove hugo builds from Makefile because it will be applied
    directly by the hosting environment
  • Loading branch information
shahruk10 committed May 13, 2021
1 parent ba68792 commit a8da4d2
Show file tree
Hide file tree
Showing 236 changed files with 5 additions and 41,409 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,14 @@ $(shell mkdir -p $(DEPSBIN) $(DEPSGO) $(DEPSTMP))

export PATH := ${DEPSBIN}:${DEPSGO}/bin:$(PATH)

deps: deps-protoc deps-hugo deps-gendoc deps-gengo deps-gengateway deps-dotnet deps-py
deps: deps-protoc deps-gendoc deps-gengo deps-gengateway deps-dotnet deps-py

deps-protoc: ${DEPSBIN}/protoc
${DEPSBIN}/protoc:
cd ${DEPSBIN}/../ && wget \
"https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip" && \
unzip protoc-${PROTOC_VERSION}-linux-x86_64.zip && rm -f protoc-${PROTOC_VERSION}-linux-x86_64.zip

deps-hugo: ${DEPSBIN}/hugo
${DEPSBIN}/hugo:
cd ${DEPSBIN} && wget \
"https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_0.55.4_Linux-64bit.tar.gz" -O - | tar xz hugo

deps-gendoc: ${DEPSBIN}/protoc-gen-doc
${DEPSBIN}/protoc-gen-doc:
cd ${DEPSBIN} && wget \
Expand Down Expand Up @@ -72,7 +67,6 @@ gen: deps
@ source ${DEPSVENV}/bin/activate && \
PROTOINC=${DEPSGO}/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v${PROTOC_GEN_GRPC_GATEWAY_VERSION}/third_party/googleapis \
$(MAKE) -C grpc
@ pushd docs-src && hugo -d ../docs && popd

clean:
GOPATH=${DEPSGO} go clean -modcache
Expand Down
223 changes: 0 additions & 223 deletions docs/404.html

This file was deleted.

Loading

0 comments on commit a8da4d2

Please sign in to comment.