Replies: 6 comments 31 replies
-
#5191 for simple design changes. I would also like to:
|
Beta Was this translation helpful? Give feedback.
-
There's also a fair number of issues labeled with |
Beta Was this translation helpful? Give feedback.
-
I'm going to look at updating Hugo to the latest version. (For the record, I will resent everything I have to learn about Nix.) Update: I'm going to peace out on learning nix because it's just making me angry. If someone can change the hugo dependency to 0.88.1 and get nix-shell to actually recognize that change I'll rebuild the site from there. |
Beta Was this translation helpful? Give feedback.
-
@keynmol has many excellent ideas here, but let me pour some cold water on one:
I've been closing all the scalafmt-3.0 PRs until we regain some branching sanity (which I'll be initiating another discussion on soon). I tried running it on each branch, merging it with the previous branch, keeping ours on all conflicts, so we could proceed from a solid merge base. It was a lot of work, and scalafmtCheck failed, so I reverted to 2.x. It might be ready to try again now that it's a few patch releases deep. |
Beta Was this translation helpful? Give feedback.
-
Made #5416 for some extra client docs. Working on this, I felt like there should be a table of contents for a given page: consider how many headings that site already has. Also, copyable links for the headings would be a great thing to have. They already have |
Beta Was this translation helpful? Give feedback.
-
Added #5539 for a tutorial |
Beta Was this translation helpful? Give feedback.
-
Continuing a discussion started by Noel Welsh on twitter, hoping to discuss some ideas here and break them out into issues once we reach consensus.
What follows is a living list of concrete suggestions to improve the documentation, both aesthetics and content
Stylistic
Versions page:
Only keep 0.21, 0.22, 0.23, 1.x
Put "Which version is right for me" next to lineage rows
Remove Scala 2.10, 2.11 from the table
Whole site:
Design
Update Bootstrap to 5.1.1 #5191
Add Algolia DocSearch: https://www.algolia.com/
See Add algolia search sbt/website#963 for whole process, should be simpler with Hugo (and no multilingual sites)
Use
mdoc:compile-only
for most places, to avoid the rendering ofIO
values.Consider doing something like mdoc-effect: https://mdoc-effect.indoorvivants.com/ce3/index.html to separate output from the code
(minor) formatting of code examples
Pretty snippets are pretty. Scalafmt 3.0.0 introduces that support for scala-fenced snippets: https://github.com/scalameta/scalafmt/releases/tag/v3.0.0
Explicit links to sections
Perhaps I'm dense, but hopefully this can be done with Hugo (i.e. like Cats effect site does it:
)
This should help deep linking
Content
Explanation what different imports do
It's probably a hot topic in future versions of http4s, but for now it'd be good to provide a troubleshooting guide for common errors that are fixed by
dsl.io._
orimplicits
imports, along with explanations. Hopefully that can be indexed by search enginesUpdate Quick start
My feeling is that the screen space on Quick start page is limited and very expensive, so perhaps the listing of giter8 variables can be moved somewhere further down, and instead an example of Http4s setup in a single-file
IOApp
with server and client would be better?Beta Was this translation helpful? Give feedback.
All reactions