mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:33:50 +00:00
Add separate configuration for MkDocs Insiders plugins (#5544)
## Summary
This PR adds a separate configuration file to enable us to turn on
[Insiders-only
plugins](https://squidfunk.github.io/mkdocs-material/insiders/getting-started/#built-in-plugins).
I've turned on the `typeset` plugin which ensures that the settings on
the left-hand navigation pane render as code:
<img width="1792" alt="Screen Shot 2023-07-05 at 6 27 20 PM"
src="c93676dd
-bb48-417a-9d3b-528bf001e9b7">
This commit is contained in:
parent
d097b49371
commit
c9e02c52a8
6 changed files with 12 additions and 3 deletions
|
@ -58,7 +58,7 @@ pub(crate) fn generate() -> String {
|
|||
let OptionEntry::Group(fields) = entry else {
|
||||
continue;
|
||||
};
|
||||
output.push_str(&format!("### `{group_name}`\n"));
|
||||
output.push_str(&format!("### {group_name}\n"));
|
||||
output.push('\n');
|
||||
for (name, entry) in fields.iter().sorted_by_key(|(name, _)| name) {
|
||||
let OptionEntry::Field(field) = entry else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue