From 6d43f8fd18e3260fdf882b8121b08dbf43a877ee Mon Sep 17 00:00:00 2001 From: Fabien Lelaquais <86590727+FabienLelaquais@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:25:39 +0200 Subject: [PATCH] Fix build after changes in pane doc (#1123) - Redo doc for pane - Update Release Notes - "Better"? buttons for Reference|VisElements - other tiny fixes - Fix build --------- Co-authored-by: jrobinAV --- mkdocs.yml_template | 1 + tools/postprocess.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml_template b/mkdocs.yml_template index 77821fdef..83d094dbe 100644 --- a/mkdocs.yml_template +++ b/mkdocs.yml_template @@ -8,6 +8,7 @@ repo_name: taipy copyright: © 2021-[YEAR] Avaiga nav: - "Tutorials": + - "Tutorials": tutorials/index.md - "Fundamentals": - "Fundamentals": tutorials/fundamentals/index.md - "Getting Started": tutorials/getting_started/index.md diff --git a/tools/postprocess.py b/tools/postprocess.py index 9db4b7c06..fb4fd59b7 100644 --- a/tools/postprocess.py +++ b/tools/postprocess.py @@ -229,9 +229,9 @@ def on_post_build(env): ) new_title = "Taipy p" + new_title[1:] before = ( - before[: t_match.start()] + before[: match.start()] + new_title - + before[t_match.end() :] + + before[match.end() :] ) html_content = ( before