containernetworking / cni.dev

CNI website
https://cni.dev
Apache License 2.0
48 stars 55 forks source link

Migrating CNI documentation and versioning the way K8s website does it. #19

Closed nate-double-u closed 3 years ago

nate-double-u commented 4 years ago

https://github.com/kubernetes/website/blob/master/config.toml#L131-L132

nate-double-u commented 4 years ago

This method requires that other versions of the website are built and maintained:

https://github.com/kubernetes/website/blob/df5f80f69bb5a8da21e8956a932f01f5c1429f65/config.toml#L185-L197

This can be built using Netlify, but old versions will need to be manually updated with new versions if they're to stay current.

nate-double-u commented 4 years ago

Deploy preview: https://deploy-preview-19--cni.netlify.app/

nate-double-u commented 4 years ago

Sample pages (as the nav is not in yet): https://deploy-preview-19--cni.netlify.app/docs/ https://deploy-preview-19--cni.netlify.app/docs/cni/

nate-double-u commented 3 years ago

closing this PR as we'll need to go with a different versioning strategy.