Hypfer / Valetudo

Cloud replacement for vacuum robots enabling local-only operation
https://valetudo.cloud
Apache License 2.0
6.72k stars 397 forks source link

New Valetudo.cloud Template/Theme #1135

Closed Hypfer closed 1 year ago

Hypfer commented 3 years ago

Currently, https://valetudo.cloud uses the most basic theme that was available at the time. While it more or less works, it's also a low hanging fruit providing much potential for perceived improvement with relatively little required effort.

Requirements:

and that's pretty much it.

The site uses github pages and therefore jekyll. It can be found here: https://github.com/Hypfer/Valetudo/tree/master/docs

Local testing can be done by running bundle exec jekyll serve.

ccoors commented 3 years ago

Quick POC, only for inspiration: https://www.ccoors.de/valetudo-docs/

Basically copied the files into a Hugo project with the Learn theme. Only minor adjustments are required for the Markdown files.

Downsides:

Hypfer commented 3 years ago

Fancy!

We definitely need stable URLs though as I'm pretty sure that they're used in multiple places where we can't change them

joaopgrassi commented 2 years ago

I moved my blog from Ghost to Hugo hosted on GH pages and you can pretty much fix the urls by setting it up in frontmatter. If it helps, you can see one old post in my blog that I had to maintain the url https://raw.githubusercontent.com/joaopgrassi/blog/main/src/content/posts/2019/typed-httpclient-identityserver/index.md

You just need to set baseurl and all will work https://github.com/joaopgrassi/blog/blob/a2231c5e90437470fdac6a4b622fbe96a1999ed0/src/config.yml#L1

Mayank1728 commented 2 years ago

hey @Hypfer ! I would like to contribute however I have quite basic knowledge of Js