From 22c1a0e23f39178242df862e9dbcc5c400ebb2f8 Mon Sep 17 00:00:00 2001 From: Cristiano Nicolai <570894+cristianonicolai@users.noreply.github.com> Date: Fri, 9 Feb 2024 01:48:36 +1000 Subject: [PATCH] Update dependencies to include new mkdocs-ansible branding (#4130) --- .config/requirements-docs.txt | 4 ++-- mkdocs.yml | 8 +++++--- tox.ini | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/requirements-docs.txt b/.config/requirements-docs.txt index 8e03debfe6..53ecba6409 100644 --- a/.config/requirements-docs.txt +++ b/.config/requirements-docs.txt @@ -1,3 +1,3 @@ -mkdocs-ansible[lock]>=0.2.0 +mkdocs-ansible>=24.2.1 pipdeptree>=2.4.0 -linkchecker==10.2.1 +linkchecker>=10.4.0 diff --git a/mkdocs.yml b/mkdocs.yml index 89b277fd03..e9925063a7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,7 +3,7 @@ site_name: Ansible Molecule site_url: https://ansible.readthedocs.io/projects/molecule/ repo_url: https://github.com/ansible/molecule edit_uri: blob/main/docs/ -copyright: Copyright © 2023 Red Hat, Inc. +copyright: Copyright © 2024 Red Hat, Inc. docs_dir: docs strict: true @@ -32,6 +32,7 @@ theme: - search.highlight - search.share - search.suggest + - toc.follow - toc.integrate extra: generator: false @@ -80,9 +81,10 @@ nav: plugins: - autorefs - - search + - material/search: + separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' - material/social - + - material/tags - mkdocstrings: enable_inventory: true default_handler: python diff --git a/tox.ini b/tox.ini index 033532d1a8..3bda4f2866 100644 --- a/tox.ini +++ b/tox.ini @@ -87,7 +87,7 @@ passenv = * usedevelop = true commands = linkchecker -f linkcheckerrc docs - mkdocs build --strict + mkdocs build -c --strict {posargs:} extras = docs