-
Notifications
You must be signed in to change notification settings - Fork 19
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
Iced's website requirments #11
base: master
Are you sure you want to change the base?
Conversation
for hosting I recommend cloudflare pages |
bevy's website is a good example to learn from. |
I do really like cloudflare pages. Due to a bug in their build image, Zola >0.14.0 does not work, which is frustrating, but I have used them to host this demo anyway for now with Zola = 0.14.0. This should be fixed soon ( cloudflare/pages-build-image#1 ).
I agree there is a lot to like about bevy's website, and it can be a great source of information. Ok, if there are no other comments about the requirements, then we can look at which options we want to compare based on the requirements. I think the two best options are Zola and VitePress. I have made a similar website in both Zola ( https://github.com/AlistairKeiller/iced-zola https://42f7eec7.iced-zola.pages.dev/ ) and Vitepress ( https://github.com/AlistairKeiller/iced-vitepress https://0d47a19f.iced-vitepress.pages.dev/ ) so we can compare them. Just a note, the guide is implemented in the Vitepress version but not in the Zola version because that is a lot of work and does not seem necessary for the comparison. Does anyone have suggestions for contenders? Does everyone agree there are the best foot forward for Zola and VitePress? |
Zola is faster it ships a smaller site tests: ZolaVitepress2 - gtmetrix (3G Slow (750/500 Kbps, 250ms)) |
That is very an interesting find. I thought Zola would perform marginally better, but I did not expect it to win this much because I thought VitePress was fairly optimized for a documentation generator. So ya, Zola clearly wins in performance, and obviously wins in the amount of Rust used in the codebase. Although I think this is still a worthwhile comparison to make because I think VitePress wins in DX and accessible development. |
The difference is big because the test was done on weak devices and slow Internet |
The other thing to note about the performance is that VitePress has a custom router that only loads the difference of pages on a page navigation, which makes page navigation feel more responsive. This may be possible in Zola with something like flamethrower, but it is extra work and dependencies which is why probably why I have not seen it done before. |
Regarding the showcase page, IMO its should really be split up into 3 sections:
Also, it'd be extra effort but it'd be awesome if we had tags for certain "things" you can do with iced that you could search on - these could be scraped from github topics, but we may want more specific things e.g.
|
I agree with your organization of the website, and I would like to add adding the guide/documentation to the website like bevy's website. I don't really understand the second idea. As for the technical side of making the site, I still have not made a full-blown comparison chart, but one of my biggest gripes with Zola is that be best way to manager CSS is SCSS or a static CSS file like Bulma, which is just can not be as powerful as an atomic CSS engine like Tailwind. This is why in my example website, as well as in many other Zola themes, they integrate Tailwind for Atomic CSS ( technically mine uses a clone because it is slightly easier to integrate ). It seems like there is some support in discourse for my feature suggestion of adding a rust clone of Tailwind like railwind (getzola/zola#2060). That would address one of my largest gripes with Zola, and I think would make it a much more compelling platform to work with. |
rendered
Iced website outline
Summary
The goal of this RFC is to make a decision on which technology is best for Iced's website based on the goals and requirements for the website. This RFC details every requirement for the Iced website so that once we agree on the requirements, we can decide on the best technology for the website.
Requirements
Goals
These are like requirements, but they do not have a clear yes or no answer.
Nice to have
These are here to decide between tools if all else is equal.