litestar-org/litestar

Docs: Code block line length

オープン

#3,211 opened on 2024/03/16

 (5 件のコメント) (3 件のリアクション) (1 人の担当者)Python (550 件のフォーク)user submission
Documentation :books:Good First IssueHelp Wanted :sos:

Repository metrics

Stars
 (8,243 個のスター)
PR merge metrics
 (平均マージ 13h 27m) (30d で 26 merged PRs)

説明

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

コントリビューターガイド