crd-to-sample-yaml icon indicating copy to clipboard operation
crd-to-sample-yaml copied to clipboard

how get those nice rendered website?

Open markussiebert opened this issue 11 months ago • 1 comments

Hi, could you provider some sample docs on how to generate those nice looking html for the crds? Is it possible to generate them as static files for use in github pages and so on?

I would like to generate static files for my crds - is this possible?

Something like

make static path/to/my/crd.yaml

markussiebert avatar Feb 26 '24 08:02 markussiebert

Hello 👋

Ah, good question. I don't have anything like that since the whole website is constructed dynamically using WASM and goapp.

The whole rendering and everything is done via WASM. I'm not a 100% sure how to extract that logic and put all that into a static website with the right CSS + JS config. 🤔

Skarlso avatar Feb 26 '24 11:02 Skarlso

I'm thinking about this. :D I still have the old templates, so I guess I can try to achieve something with them.

Skarlso avatar May 09 '24 05:05 Skarlso

I'm using the old design simply because it's convenient for now. I might update it to the latest one, but honestly, this looks smoother hahahahaha.

Thanks for the suggestion @markussiebert :)

Skarlso avatar May 09 '24 09:05 Skarlso

So great! So glad that I found this wonderful project!

markussiebert avatar May 09 '24 17:05 markussiebert

Thank you! 🙏😊

Skarlso avatar May 09 '24 18:05 Skarlso