diff --git a/website/content/pro/main-menu/data-connectors/index.md b/website/content/pro/main-menu/data-connectors/index.md index c1950db0aa6..24469212797 100644 --- a/website/content/pro/main-menu/data-connectors/index.md +++ b/website/content/pro/main-menu/data-connectors/index.md @@ -39,11 +39,11 @@ We offer three distinct methods for importing your data into the platform. ## Single Widget -This method allows users to import an API endpoint that is directly rendered into a table format. While customization is limited, it provides a quick and easy way to visualize your data. More information can be found [here](/pro/single-widget). +This method allows users to import an API endpoint that is directly rendered into a table format. While customization is limited, it provides a quick and easy way to visualize your data. More information can be found [here](/pro/main-menu/data-connectors/single-widget). ## Integrate your own backend -For those who prefer a more hands-on approach, you can create your own backend. You can either leverage OpenBB's cookie-cutter or build a language-agnostic API. More information can be found [here](/pro/integrate-your-own-backend). +For those who prefer a more hands-on approach, you can create your own backend. You can either leverage OpenBB's cookie-cutter or build a language-agnostic API. More information can be found [here](/pro/main-menu/data-connectors/integrate-your-own-backend). ## Native Integrations diff --git a/website/generate_widgets_library.py b/website/generate_widgets_library.py index 5bb1e361fef..b8574f82e49 100644 --- a/website/generate_widgets_library.py +++ b/website/generate_widgets_library.py @@ -20,13 +20,13 @@ def main() -> bool: if widget_info.get("disabled", False): continue - category_1 = widget_info.get("category_1") # this is a mandatory field + category_1 = widget_info.get("category") # this is a mandatory field if category_1: # Initialize dict for category_1 within category_root if category_1 not in new_all_widgets: new_all_widgets[category_1] = {} - category_2 = widget_info.get("category_2") # OPTIONAL field + category_2 = widget_info.get("sub_category") # OPTIONAL field if category_2: if category_2 not in new_all_widgets[category_1]: new_all_widgets[category_1][category_2] = []