containerd.io icon indicating copy to clipboard operation
containerd.io copied to clipboard

Add containerd's docs directory

Open kzys opened this issue 3 years ago • 11 comments

Signed-off-by: Kazuyoshi Kato [email protected]

kzys avatar Apr 05 '22 23:04 kzys

The preview website is https://deploy-preview-121--containerd-io.netlify.app/docs/latest/getting-started/.

Right now, it doesn't look great compared to #120, but we can improve the look & feel by adopting Hugo's documentation-oriented themes like https://www.docsy.dev/.

It would be better to not complicate the stack by having multiple documentation generators.

kzys avatar Apr 05 '22 23:04 kzys

Can we remove /docs/getting-started and redirect it to /docs/latest/getting-started?

AkihiroSuda avatar Apr 06 '22 00:04 AkihiroSuda

Seems broken

image

AkihiroSuda avatar Apr 06 '22 00:04 AkihiroSuda

Fixed the broken menu.

Regarding the redirection, the Getting Started guide needs to have metadata like https://github.com/containerd/containerd.io/blob/main/content/docs/getting-started.md. Let me fix other parts first.

kzys avatar Apr 06 '22 01:04 kzys

Fixed the broken menu.

The new docs don't seem reachable from the top page

It would be better to not complicate the stack by having multiple documentation generators.

If sphinx is easier to use than hugo, we can completely replace hugo with sphinx. Just reopening #120, adding logo, and redirecting / to /docs/latest would be enough as the first step.

AkihiroSuda avatar Apr 06 '22 06:04 AkihiroSuda

The new docs don't seem reachable from the top page

Yes. I'd like to add at least add <title> before making them reachable. But to do that, I need to edit files on containerd/containerd first.

If sphinx is easier to use than hugo, we can completely replace hugo with sphinx.

Honestly both are not that different in terms of the ease of use. Hugo may work better for us at this time since we already have Hugo-based website. Migrating that to Sphinx may not bring us much value.

kzys avatar Apr 06 '22 16:04 kzys

Is this still planned?

AkihiroSuda avatar Nov 11 '22 17:11 AkihiroSuda

Alternative: https://akihirosuda.github.io/containerd-website-draft/

  • https://github.com/containerd/containerd.io/issues/149

AkihiroSuda avatar Nov 26 '22 20:11 AkihiroSuda

I've updated this PR finally.

The preview site is https://deploy-preview-121--containerd-io.netlify.app/. The docs from containerd/containred is linked from https://deploy-preview-121--containerd-io.netlify.app/docs/getting-started/.

I'm planning to merge https://deploy-preview-121--containerd-io.netlify.app/docs/ and https://deploy-preview-121--containerd-io.netlify.app/docs/getting-started/, since the latter is pretty short.

kzys avatar Mar 17 '23 19:03 kzys

I like this approach. It doesn't have to be in this PR, but we should also consider doing something like https://github.com/containerd/containerd.io/blob/main/.github/workflows/sync-releases.yml so it stays reasonably up-to-date too.

samuelkarp avatar Mar 18 '23 02:03 samuelkarp

picking this up – gonna rebase and implement the doc syncing

haddscot avatar Mar 04 '24 18:03 haddscot