Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API reference for 1.14-jimangel #13462

Closed
wants to merge 1 commit into from
Closed

API reference for 1.14-jimangel #13462

wants to merge 1 commit into from

Conversation

jimangel
Copy link
Member

testing generated docs

ref: #13396

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 27, 2019
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Mar 27, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: jimangel

If they are not already assigned, you can assign the PR to them by writing /assign @jimangel in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify
Copy link

netlify bot commented Mar 27, 2019

Deploy preview for kubernetes-io-master-staging ready!

Built with commit 5f65c48

https://deploy-preview-13462--kubernetes-io-master-staging.netlify.com

@jimangel
Copy link
Member Author

Steps

export GOPATH=$HOME/go
go get -u github.com/kubernetes/website
go get -u github.com/kubernetes/kubernetes
go get -u github.com/kubernetes-incubator/reference-docs

go get -u github.com/go-openapi/loads
go get -u github.com/go-openapi/spec


git clone https://github.com/jimangel/website $GOPATH/src/github.com/jimangel/website

vi Makefile

WEBROOT=$(GOPATH)/src/github.com/jimangel/website
K8SROOT=$(GOPATH)/src/github.com/kubernetes/kubernetes
MINOR_VERSION=14

-CLIDST=$(WEBROOT)/docs/reference/generated/kubectl
+CLIDST=$(WEBROOT)/static/docs/reference/generated/kubectl


make updateapispec

make api

# check for files:
[ -e "gen-apidocs/generators/build/index.html" ] && echo "There" || echo "Absent"
[ -e "gen-apidocs/generators/build/navData.js" ] && echo "There" || echo "Absent"

mkdir -p $GOPATH/src/github.com/jimangel/website/static/docs/reference/generated/kubernetes-api/v1.14


cd $GOPATH/src/github.com/jimangel/website

# check if the files are updated with git status (from website)

git add .

git commit

# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/css/bootstrap.min.css
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/css/font-awesome.min.css
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/css/stylesheet.css
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/FontAwesome.otf
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/fontawesome-webfont.eot
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/fontawesome-webfont.svg
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/fontawesome-webfont.ttf
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/fontawesome-webfont.woff
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/fonts/fontawesome-webfont.woff2
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/index.html
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/jquery.scrollTo.min.js
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/navData.js
#       new file:   static/docs/reference/generated/kubernetes-api/v1.14/scroll.js

git push

# create PR through GUI

@jimangel
Copy link
Member Author

closing in favor of #13442
/close

@k8s-ci-robot
Copy link
Contributor

@jimangel: Closed this PR.

In response to this:

closing in favor of #13442
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jimangel jimangel changed the title generated docs API reference for 1.14-jimangel Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants