etcd.io docsy conversion#112
Conversation
ef24b6c to
187c1d6
Compare
This comment has been minimized.
This comment has been minimized.
3041076 to
9d7a567
Compare
This comment has been minimized.
This comment has been minimized.
9d7a567 to
159ea64
Compare
This comment has been minimized.
This comment has been minimized.
Great progress!
The error I'm seeing in the build log is because the version of Hugo used to build the site is too old. Oh, I just noticed that you did update the version of Hugo used by the Docker build, but that there's still an error. I'll have another look as soon as I can. |
Thanks!
I can bring both the |
I think I brought it in from https://github.com/cncf/artwork (https://github.com/cncf/artwork/tree/master/projects/etcd/icon/color) thinking it would be better for the logo to be served from the site. I think it was originally being served from raw.githubusercontent.com. How would we attribute (CC-by-4.0) an asset like that? Do we need to in this case? (I'm presuming we should, though I think it was originally linked to it directly) |
| @@ -1,18 +0,0 @@ | |||
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |||
There was a problem hiding this comment.
We'll be rebasing often, and I've found it a pain to rebase .lock files.
Actually, IMHO it isn't worth the headache of committing a .lock file for websites. In the case of etcd.io we only have a small set of dev dependencies. My suggestion would be to drop the .lock file from master, and propagate that change to here.
There was a problem hiding this comment.
I've found the same -- I'll remove the lock files before merging.
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
chalin
left a comment
There was a problem hiding this comment.
Good start for the docsy branch. The only issue to be addressed (either before or after this is merged), is https://github.com/etcd-io/website/pull/112/files#r600039579
reinstating redirects config settings Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
|
Issue #134 's main description comment has been updated with the struck parts of this PRs description. |
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
First pass at integrating etcd into a shell docsy themed hugo site. * Moving content/docs to content/en/docs * Updating netlify.toml, config.toml, and Docker config * first pass at versions dropdown menu for docs pages * Updating hugo version to 0.81.0 (ext) in Dockerfile and netlify.toml * updating preview-build command * updating package.json * requiring lts node version * Adding content to en/_index.html, updating config.toml, updating navbar-version-selector to ensure it works with multiple languages. * updating package.json & removing package-lock.json * changing from npm ci to npm install as we removed the package-lock.json file Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
* etcd.io docsy conversion, first pass at integrating etcd into a shell docsy themed hugo site (#112) * New footer, and version-selector; fixes empty-hrefs (#207) * Homepage tweaks (#209) * Adjust titles, weights and landing pages for docs (#213) * Homepage rework (#219) * Link to etcd resources in footer (#229) * Drop About from docsy MVP, and make link checker happy (#227) * Etcd has graduated! (#230) * Format next's landing page like all other doc vers landing pages (#231) * Add etcd favicon (#232) * [docsy] Show next version name as v3.5-DRAFT (#233) * Add page warning for all doc version pages other than latest (#237) * Organize blog entries by year (#239) * Site 404 page (#240) * Reinstate metrics (#242) * Remove obsolete comment (#243) Co-authored-by: Patrice Chalin <pchalin@gmail.com> Co-authored-by: Nate W <4453979+nate-double-u@users.noreply.github.com> Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
* etcd.io docsy conversion, first pass at integrating etcd into a shell docsy themed hugo site (etcd-io#112) * New footer, and version-selector; fixes empty-hrefs (etcd-io#207) * Homepage tweaks (etcd-io#209) * Adjust titles, weights and landing pages for docs (etcd-io#213) * Homepage rework (etcd-io#219) * Link to etcd resources in footer (etcd-io#229) * Drop About from docsy MVP, and make link checker happy (etcd-io#227) * Etcd has graduated! (etcd-io#230) * Format next's landing page like all other doc vers landing pages (etcd-io#231) * Add etcd favicon (etcd-io#232) * [docsy] Show next version name as v3.5-DRAFT (etcd-io#233) * Add page warning for all doc version pages other than latest (etcd-io#237) * Organize blog entries by year (etcd-io#239) * Site 404 page (etcd-io#240) * Reinstate metrics (etcd-io#242) * Remove obsolete comment (etcd-io#243) Co-authored-by: Patrice Chalin <pchalin@gmail.com> Co-authored-by: Nate W <4453979+nate-double-u@users.noreply.github.com> Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
A work in progress attempt to convert etcd.io to use a Docsy theme.
Game plan:
content/enfolderEnsure no links/bookmarks are broken in the conversion processmake serve, using hugo serve)make docker-serve)update READMELook & Feel updatesFront page and documentation sections should look similar to the original site (not like the default Docsy)Ensure that existing functionality is not lostVersionsContributes to:
/cc @jberkus @spzala @zacharysarah @chalin
Deploy previews: