Skip to content

Commit

Permalink
Omit index links for same project
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 6, 2024
1 parent 46bd254 commit 2443dbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions robotpy_sphinx/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2443dbb

Please sign in to comment.