|
55 | 55 | "title": "Path to the compilation database", |
56 | 56 | "type": "string" |
57 | 57 | }, |
| 58 | + "copycss": { |
| 59 | + "default": true, |
| 60 | + "description": "When `linkcss` is true, copy bundled and local stylesheet files into the output under `stylesdir`. Remote URLs are not copied. Set to false to skip copying.", |
| 61 | + "enum": [ |
| 62 | + true, |
| 63 | + false |
| 64 | + ], |
| 65 | + "title": "Copy local stylesheets when linking", |
| 66 | + "type": "boolean" |
| 67 | + }, |
58 | 68 | "defines": { |
59 | 69 | "default": [], |
60 | 70 | "description": "Additional defines passed to the compiler when building the source code. These defines are added to the compilation database regardless of the strategy to generate it.", |
|
331 | 341 | "title": "Standard Library include paths", |
332 | 342 | "type": "array" |
333 | 343 | }, |
| 344 | + "linkcss": { |
| 345 | + "default": false, |
| 346 | + "description": "When set to true, stylesheets are linked with `<link>` tags instead of being inlined. Links use `stylesdir` plus the stylesheet name (e.g. `css/custom.css`). Local styles are copied unless `copycss` is false; remote URLs are linked as-is.", |
| 347 | + "enum": [ |
| 348 | + true, |
| 349 | + false |
| 350 | + ], |
| 351 | + "title": "Link stylesheets instead of embedding them", |
| 352 | + "type": "boolean" |
| 353 | + }, |
334 | 354 | "log-level": { |
335 | 355 | "default": "info", |
336 | 356 | "description": "The reporting level determines the amount of information displayed during the generation of the documentation.", |
|
372 | 392 | "title": "Generate a multipage documentation", |
373 | 393 | "type": "boolean" |
374 | 394 | }, |
| 395 | + "no-default-styles": { |
| 396 | + "default": false, |
| 397 | + "description": "When set to true, the bundled stylesheet is not applied. Combine with an empty `stylesheets` list to emit no styles at all.", |
| 398 | + "enum": [ |
| 399 | + true, |
| 400 | + false |
| 401 | + ], |
| 402 | + "title": "Disable the bundled default stylesheet", |
| 403 | + "type": "boolean" |
| 404 | + }, |
375 | 405 | "output": { |
376 | 406 | "default": "<config-dir>/reference-output", |
377 | 407 | "description": "Multipage generators expect a directory. Single page generators expect a file or a directory where the file will be created. If the directory does not exist, it will be created.", |
|
541 | 571 | "title": "C++ Standard Library include paths", |
542 | 572 | "type": "array" |
543 | 573 | }, |
| 574 | + "stylesdir": { |
| 575 | + "default": "css", |
| 576 | + "description": "Directory used to build the href for linked stylesheets when `linkcss` is true. Defaults to `css`. The directory is created under the output root when copying local styles (e.g. `css/mrdocs-default.css`).", |
| 577 | + "title": "Directory for linked stylesheets", |
| 578 | + "type": "string" |
| 579 | + }, |
| 580 | + "stylesheets": { |
| 581 | + "default": [], |
| 582 | + "description": "Ordered list of stylesheet names or paths. If empty, the bundled stylesheet is used. Entries can be local paths or remote URLs; remote URLs are only linked when `linkcss` is true. Inline mode embeds local styles; link mode emits `<link>` tags for each entry and copies local files.", |
| 583 | + "items": { |
| 584 | + "type": "string" |
| 585 | + }, |
| 586 | + "title": "Ordered list of stylesheets to apply to HTML output", |
| 587 | + "type": "array" |
| 588 | + }, |
544 | 589 | "system-includes": { |
545 | 590 | "default": [], |
546 | 591 | "description": "System include paths. These paths are used to add directories to the system include search path. The system include search path is used to search for system headers. The system headers are headers that are provided by the system and are not part of the project. The system headers are used to provide the standard library headers and other system headers. The system headers are not part of the project and are not checked for warnings and errors.", |
|
0 commit comments