From baed3a94d88cc1d4979bbe93d3f529eba680a2fe Mon Sep 17 00:00:00 2001 From: Niraj Kumar Yadav Date: Mon, 20 Jun 2022 11:53:31 +0530 Subject: [PATCH] [nav-qol] Add support for anchor tracking in the nav bar (#752) This patch makes #733 more usable and it updates the address of the current URL to the current anchor that you are reading at. Like, mysite/mychapter#mysectiom, using which, sharing the links will lead to the same place on the page that the user 1 was reading at. Signed-off-by: black-dragon74 --- mkdocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 752122b..c6fac4f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,6 +11,8 @@ markdown_extensions: theme: name: material favicon: images/favicon.ico + features: + - navigation.tracking palette: - scheme: slate media: "(prefers-color-scheme: dark)"