We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rust,ignore
1 parent fef3b71 commit 1af3699Copy full SHA for 1af3699
docs/rustdoc_trim.py
@@ -19,7 +19,7 @@
19
from sphinx.application import Sphinx
20
21
# Regex pattern to match Rust code blocks in Markdown
22
-RUST_CODE_BLOCK_PATTERN = re.compile(r"```rust\s*(.*?)```", re.DOTALL)
+RUST_CODE_BLOCK_PATTERN = re.compile(r"```rust(?:,ignore)?\s*(.*?)```", re.DOTALL)
23
24
25
def remove_hashtag_lines_in_rust_blocks(markdown_content):
0 commit comments