litestar-org/litestar

Docs: Code block line length

开放

#3,211 创建于 2024年3月16日

 (5 条评论) (3 个反应) (1 位负责人)Python (550 个派生)user submission
Documentation :books:Good First IssueHelp Wanted :sos:

仓库指标

星标
 (8,243 个星标)
PR 合并指标
 (平均合并 13小时 27分钟) (30 天内合并 26 个 PR)

描述

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

贡献者指南