mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Support mkdocs 1.4.2 and fix its missing breadcrumb (#1691)
* Use latest mkdocs version 1.4.2 * Add docs_theme to mkdocs watch so it automatically reloads localhost when modifying theme * Bring in ReadTheDocs breadcrumb theme and fix display issues around "Docs" root breadcrumb * The problem is CSS, not the breadcrumbs template. Tightly scope offending CSS and remove breadcrumbs template override * Bring mkdocs ReadTheDocs breadcrumbs theme back in * Fix pa11y validation issue by replacing breadcrumb a alt attribute with aria-label * Attribute source of new breadcrumbs file * Use mkdocs 1.4 or greater with no upper bound
This commit is contained in:
parent
fcac94a30e
commit
d81b5ad955
6 changed files with 683 additions and 460 deletions
|
@ -5,6 +5,9 @@ theme:
|
|||
custom_dir: docs_theme
|
||||
static_templates:
|
||||
- index.html
|
||||
watch:
|
||||
- docs
|
||||
- docs_theme
|
||||
extra_css:
|
||||
- https://fonts.googleapis.com/css?family=Open+Sans:300,600
|
||||
- assets/colors.css
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue