diff --git a/portal/_extensions/cookbook_gallery_generator.py b/portal/_extensions/cookbook_gallery_generator.py deleted file mode 100644 index 1c3d1e3ad..000000000 --- a/portal/_extensions/cookbook_gallery_generator.py +++ /dev/null @@ -1,17 +0,0 @@ -import yaml -from gallery_generator import build_from_items, generate_menu - - -def main(app): - - with open('cookbook_gallery.yaml') as fid: - all_items = yaml.safe_load(fid) - - title = 'Cookbooks Gallery' - subtext = 'Pythia Cookbooks provide example workflows on more advanced and domain-specific problems developed by the Pythia community. Cookbooks build on top of skills you learn in Pythia Foundations.' - menu_html = generate_menu(all_items) - build_from_items(all_items, 'cookbook-gallery', title=title, subtext=subtext, menu_html=menu_html) - - -def setup(app): - app.connect('builder-inited', main) diff --git a/portal/conf.py b/portal/conf.py index 37c2c995c..5b446c00a 100644 --- a/portal/conf.py +++ b/portal/conf.py @@ -35,7 +35,6 @@ 'myst_nb', 'sphinx_panels', 'resource_gallery_generator', - 'cookbook_gallery_generator', ] # Define what extensions will parse which kind of source file @@ -82,7 +81,6 @@ html_sidebars = { 'index': [], 'resource-gallery': [], - 'cookbook-gallery': [], } # HTML Theme-specific Options @@ -102,13 +100,12 @@ 'navbar_links': [ {'name': 'Home', 'url': 'https://projectpythia.org'}, {'name': 'Foundations', 'url': 'https://foundations.projectpythia.org'}, - {'name': 'Cookbooks', 'url': 'https://projectpythia.org/cookbook-gallery.html'}, + {'name': 'Cookbooks', 'url': 'https://cookbooks.projectpythia.org/'}, {'name': 'Resources', 'url': 'https://projectpythia.org/resource-gallery.html'}, {'name': 'Community', 'url': 'https://projectpythia.org/#join-us'}, ], 'page_layouts': { 'index': 'page-banner.html', - 'cookbook-gallery': 'page-standalone.html', 'resource-gallery': 'page-standalone.html', }, 'footer_logos': { diff --git a/portal/cookbook_gallery.yaml b/portal/cookbook_gallery.yaml deleted file mode 100644 index 922ce7c59..000000000 --- a/portal/cookbook_gallery.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- title: Radar Cookbook - url: https://projectpythiatutorials.github.io/radar-cookbook/landing-page.html - description: | - This Project Pythia Cookbook covers the basics of working with weather radar data in Python. - authors: - - name: Max Grover - thumbnail: /_static/thumbnails/arm_logo.png - tags: - domains: - - radar - packages: - - py-art