-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Prototype] Explore moving the Knative site out of Hugo #29
Comments
Hacked out a mostly working version and deployed it to github pages so folks can have a click around: https://julz.github.io/docs/v0.20/install/ Anyway, I think it looks pretty, the search seems quite good, there are some navigation options to try (I picked some that seem nice to me), has really nice tool tips and collapsables. Dev-flow-wise you can run Current missing things/todos/to-solves (there are probably more, these are off the top of my head):
|
I think in general, these things can be added to our current site (some have been in the backlog for a long time now). It's always boiled down to the balance between priorities and resource. One thing that I think is missing in these lists are the specific pain points these items are solving, they are very general as listed but I'll try to address them.
How is "better" defined here? In general, CSS can change for any site so "better" can be added.
I believe this is a configuration that needs to be done for every site. Known bugs knative/website#140 knative/website#46 We have all 5 versions building into the same site today, thus the search results show all by default.
Same CSS comment above. What is the desired change?
Same for collapsable sections. knative/website#98
Same CSS comment above
We separated them intentionally to prevent someone from taking down the site but I've most recently proposed merging them back together since we are no longer "optimizing users GitHub experience" and just focusing on how content is rendered in the site. The last time this came up, @evankanderson was still advocating to keep the website separate from the docs content.
GitHub actions was proposed as a solution resolve this and add preview builds directly to the PRs. (merging the website and docs repos would accomplish this automatically too). Today, it is disconnected but all PRs are automatically built here: https://app.netlify.com/sites/knative/deploys
Today, you just cut new releases and everything it GitHub gets published to knative.dev automatically. Aside from the latest host provider IP change, it runs on its own. However, adding changes or new features is complicated and done through Hugo (Go based templating site platform that is really fast and already integrated into Netlify).
They are completely accessible today (knative/website and all builds logs: https://app.netlify.com/sites/knative/deploys) Help docs about everything knative.dev related are in-progress here: knative/docs#2960
Compared to? For context, Kubernetes and Istio also both use Hugo. This is not an easy question given that companies have whole internal teams for their content sites. Given that we dont have a site infrastructure team, this level of complication is not unexpected. Again, as I mentioned in Slack, I'm open to change especially if im not the only one who went out to read up on Hugo, Docsy, and Netlify. They were all the best OSS tools options at the time. At the same time, a huge change in infrastructure and file format sounds like more work than address the items above. I think all the above items or changes are all possible in todays site: The first stepping stone would be to manually rebase/sync all the custom Knative files to pick up Docsy features (merge out customizations into the latest versions of the Docsy files that we override): knative/website#231 I hope this is helpful! |
At this point, I'm happy to admit that I'm probably wrong here. The two benefits I'd hoped for over time were:
One other thought (not an objection to merging) is that if we put things together in a |
It sounds like "netlify preview" is a separate issue from the choice of I'd be happy to help provide guidance/review any actions-based solution; I'm currently working on the sync of |
For docs building, it looks like Netlify supports a number of different builders, including More interestingly, https://idratherbewriting.com/learnapidoc/pubapis_static_site_generators.html suggests that the search in |
@RichieEscarez and @evankanderson thank you so much for your input! I think it's probably time to turn this proposal into a Google Doc, send to the mailing list, and take comments, from there. EDIT: it's a shame that @julz is out this week, would love to get his opinion as well since he exectured on the prototype. |
For future reference for myself (and others): I ought to more fully flesh out some sort of proposal in a Google Doc or GH Issue before I share it out. It's occurring to me that we wrote this spike very quickly in the UX WG meeting and I hadn't meant for it to be reviewed quite so thoroughly, then again why wouldn't you review it because I shared it out! |
Here is a link to PROPOSAL: UX/29 Revamping Knative.dev @RichieEscarez @evankanderson I have narrowed in on just a few, more specific things so hopefully you will not have to repeat yourself... Please view this proposal as more "Let's start work to make the site better" and add whatever you feel needs to be fixed / revamped in the "Background" section. I'm going to share this proposal with the mailing list once I get a sanity check... |
Just adding some thoughts from the slack thread to make sure they're not lost:
Thanks much for writing up the proposal @omerbensaadon, and for the feedback/thoughts @RichieEscarez @evankanderson (and on slack) @rhuss @abrennan89 |
@julz I am adding these bullets into the proposal! |
+1 to focus on the issue at hand, i.e. the site layout and not on re-structuring the content which is a totally different beast. |
Safe to say this has been thoroughly explored |
Please leave all comments on the proposal: PROPOSAL: UX/29 Revamping Knative.dev
The text was updated successfully, but these errors were encountered: