Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render the markdown on the client side #149

Open
AkihiroSuda opened this issue Nov 26, 2022 · 3 comments
Open

Render the markdown on the client side #149

AkihiroSuda opened this issue Nov 26, 2022 · 3 comments

Comments

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Nov 26, 2022

For years, we have been failing to sync the markdown documents from the code repos into this web repo.

Maybe we should just render the markdown on the client side so that we do not need to care about syncing.

POC

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

image

HTML source: https://github.com/AkihiroSuda/containerd-website-draft/blob/gh-pages/index.html

raw.githubusercontent.com has access-control-allow-origin: * (for now, at least), so this should work with any domain


Alternative to

Similar to

@suyanhanx
Copy link

How about using github action to regularly sync documents over?

May have to change the structure of the containerd project's docs folder.

@AkihiroSuda
Copy link
Member Author

How about using github action to regularly sync documents over?

May have to change the structure of the containerd project's docs folder.

If somebody can set up that, it might be fine too.

@chalin
Copy link

chalin commented Feb 5, 2023

In passing, I though I'd mention that client-side rendering generally has a negative impact on SEO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants