kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.5k stars 1.3k forks source link

Changes to Gitbook business model that may affect this project #1122

Closed pires closed 5 years ago

pires commented 5 years ago

This project seems to rely on Gitbook to generate and serve documentation. Recently, a new version of Gitbook (v2) dropped support for serving the resources locally which I think will at least affect how developers interact with the tool and the resources managed by it. Did anyone here look into this already?

cc @timothysc

timothysc commented 5 years ago

/assign @davidewatson @detiber @vincepri

detiber commented 5 years ago

We may want to take a path similar to kubebuilder, it looks like they switched to a tool called mdbook: https://github.com/kubernetes-sigs/kubebuilder/blob/master/docs/book/install-and-build.sh

moshloop commented 5 years ago

Another tool to consider is www.mkdocs.org - It has a GitBook theme and fairly decent plugin ecosystem including sequence diagrams with mermaid.

We could then combine it with gen-apidocs for k/k style API docs.

moshloop commented 5 years ago

/kind documentation

dlipovetsky commented 5 years ago

\<bikeshed> Mermaid? What about PlantUML \</bikeshed> :laughing:

moshloop commented 5 years ago

mkdocs supports plugins so it should be easy to create a plugin to use the docker image you created to convert PlantUML -> PNG/SVG at book build time

davidewatson commented 5 years ago

Talked to @detiber, et al today and we agree that we should get off of GitBook. I am fine with most other solutions and also think there might be an advantage to copying kubebuilder because doing so simplifies onboarding.

vincepri commented 5 years ago

/lifecycle active