Skip to content

Commit 939146a

Browse files
committed
docs: tmp fix for line numbers in code blocks
Using the `linenums_style: inline` option in the `pymdownx.highlight` extension for generating a llm-friendly code block in llms.txt. However, this solution is suboptimal. I want to remove the line numbers. See mkdocstrings/python#299
1 parent 3d70496 commit 939146a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

docs/balatrobot-api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ The API is organized into several key components: the `BalatroClient` for managi
1919
options:
2020
heading_level: 3
2121
show_source: true
22-
2322
::: balatrobot.enums.Actions
2423
options:
2524
heading_level: 3

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ markdown_extensions:
7171
- admonition
7272
- pymdownx.details
7373
- pymdownx.highlight:
74-
anchor_linenums: true
74+
linenums_style: inline
7575
line_spans: __span
7676
pygments_lang_class: true
7777
- pymdownx.inlinehilite

0 commit comments

Comments
 (0)