litestar-org/litestar

Docs: Code block line length

Open

#3.211 geöffnet am 16. März 2024

Auf GitHub ansehen
 (5 Kommentare) (3 Reaktionen) (1 zugewiesene Person)Python (550 Forks)user submission
Documentation :books:Good First IssueHelp Wanted :sos:

Repository-Metriken

Stars
 (8.243 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 22h) (53 gemergte PRs in 30 T)

Beschreibung

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