From cacfda8251d971ea086e313ceeced0fb2b0c7c56 Mon Sep 17 00:00:00 2001 From: rapanti Date: Wed, 23 Oct 2024 18:39:26 +0200 Subject: [PATCH] modified mkdocs.yml --- docs/example_runner.py | 2 +- mkdocs.yml | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/example_runner.py b/docs/example_runner.py index e144b0c..309ed23 100644 --- a/docs/example_runner.py +++ b/docs/example_runner.py @@ -16,7 +16,7 @@ logger = logging.getLogger("mkdocs") -RUN_EXAMPLES_ENV_VAR = "AMLTK_DOC_RENDER_EXAMPLES" +RUN_EXAMPLES_ENV_VAR = "DOC_RENDER_EXAMPLES" @dataclass diff --git a/mkdocs.yml b/mkdocs.yml index c0409eb..83b767e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,28 @@ repo_name: automl/QTT theme: name: material + features: + - content.code.annotate + - content.code.copy + - navigation.footer + - navigation.sections + - toc.follow + - toc.integrate + - navigation.tabs + - navigation.tabs.sticky + - header.autohide + - search.suggest + - search.highlight + - search.share + +extra: + version: + provider: mike + social: + - icon: fontawesome/brands/github + link: https://github.com/automl + - icon: fontawesome/brands/twitter + link: https://twitter.com/automl_org watch: - src/qtt @@ -44,7 +66,7 @@ plugins: - autorefs - glightbox - offline: - enabled: !ENV [AMLTK_DOCS_OFFLINE, false] + enabled: !ENV [DOCS_OFFLINE, false] - markdown-exec - mike: version_selector: true