litestar-org/litestar

Docs: Code block line length

Open

#3,211 opened on Mar 16, 2024

View on GitHub
 (5 comments) (3 reactions) (1 assignee)Python (550 forks)user submission
Documentation :books:Good First IssueHelp Wanted :sos:

Repository metrics

Stars
 (8,243 stars)
PR merge metrics
 (Avg merge 13h 27m) (26 merged PRs in 30d)

Description

Summary

For documentation, and only documentation, if you have an overly long code block it enters scrollable window.

We should set blacken-docs configuration (and eventually ruff when https://github.com/astral-sh/ruff/issues/8237 happens) to line lengths somewhere on the lower end (maybe 80?); this goes together with manually ensuring .. code-block:: directives are not overly long

Contributor guide