litestar-org/litestar

Docs: Code block line length

Aperta

#3211 aperta il 16 mar 2024

 (5 commenti) (3 reazioni) (1 assegnatario)Python (550 fork)user submission
Documentation :books:Good First IssueHelp Wanted :sos:

Metriche repository

Star
 (8243 stelle)
Metriche merge PR
 (Merge medio 13h 27m) (26 PR mergiate in 30 g)

Descrizione

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

Guida contributor