Skip to content

Commit

Permalink
hide_capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint committed May 3, 2024
1 parent 97aed4f commit 4b8484b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action_files/readme_com/modify_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,19 @@ def modify_markdown(
except:
pass

# Hide the unnecessary capabilities notebook for readme.com
if slug == 'capabilities-capabilities':
hidden = True
else:
hidden = False

# Prepare the new header
header = f"""---
title: "{title}"
slug: "{slug}"
order: {slug_number}
category: {category}
hidden: false
hidden: {hidden}
---
"""
Expand Down

0 comments on commit 4b8484b

Please sign in to comment.