From 2443dbb761f2a1bde6385b683c358a4d7d56957c Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Sat, 6 Jan 2024 05:29:16 -0500 Subject: [PATCH] Omit index links for same project --- robotpy_sphinx/sidebar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/robotpy_sphinx/sidebar.py b/robotpy_sphinx/sidebar.py index b0dc9c4..7ae6970 100644 --- a/robotpy_sphinx/sidebar.py +++ b/robotpy_sphinx/sidebar.py @@ -40,6 +40,8 @@ def endl(): def write(project, desc, link): if project == this_project: args = desc, link + if link == "index": + return elif not do_gen: return else: