litestar-org / litestar

Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
https://litestar.dev/
MIT License
5.64k stars 382 forks source link

Documentation Style Overhaul #3078

Closed JacobCoffee closed 7 months ago

JacobCoffee commented 9 months ago

Overhaul styling for documentation in 3.x (Can be earlier, but makes sense for big changes). This would actually be done in the org-level repo to be reflected across all projects.

Some options in order of my preference


[!NOTE]
While we are open for sponsoring on GitHub Sponsors and OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.

Check out all issues funded or available for funding on our Polar.sh dashboard

  • If you would like to see an issue prioritized, make a pledge towards it!
  • We receive the pledge once the issue is completed & verified
  • This, along with engagement in the community, helps us know which features are a priority to our users.

Fund with Polar

guacs commented 9 months ago

I didn't really like the purple background for the code blocks in dark mode in Shibuya. I liked the starlight theme :)

lepture commented 9 months ago

@guacs you can use other colors too:

https://shibuya.lepture.com/customisation/colors/

JacobCoffee commented 9 months ago

@guacs also advanced alchemy uses these, but the latest shibuya moved to a different coloring so it has the default right now.

https://docs.advanced-alchemy.jolt.rs/latest/

but it had custom brand colors for all the things :D

guacs commented 9 months ago

@guacs you can use other colors too:

https://shibuya.lepture.com/customisation/colors/

Oh that's great. I should have RTFM :D

Alc-Alc commented 7 months ago

This is the closest I can find, so I will drop this here, not sure if there is a different issue for "better docs".

A better documentation, I started a new project about 2 months ago and wanted to try litestar instead of FastAPI. I found the documentation messy and frustrating to read so i gave up and went back to FastAPI. This what made flask, FastAPI etc... so appealing, the examples and documentation is amazing.

added https://github.com/orgs/litestar-org/projects/17?pane=issue&itemId=61394671

JacobCoffee commented 7 months ago

I dont think these are in line wit the goal of the documentation style, they deserve maybe their own project with some sub-issues. This is resolved in https://github.com/litestar-org/litestar/pull/3324