diff --git a/action_files/readme_com/modify_markdown.py b/action_files/readme_com/modify_markdown.py index 7ef5a40b..c79b656d 100644 --- a/action_files/readme_com/modify_markdown.py +++ b/action_files/readme_com/modify_markdown.py @@ -50,11 +50,17 @@ def modify_markdown( categories = {category["slug"]:category["id"] for category in response.json()} if Path(file_path).name == 'CHANGELOG.md': category_slug = 'getting-started' + slug = category_slug + '-' + slug else: - if Path(file_path).parents[1].name == "docs": - category_slug = Path(file_path).parents[0].name + parent = Path(file_path).parents[0].name + grandparent = Path(file_path).parents[1].name + if grandparent == "docs": + category_slug = parent + slug = category_slug + '-' + slug else: - category_slug = Path(file_path).parents[1].name + category_slug = grandparent + subcategory = parent + slug = category_slug + '-' + subcategory + '-' + slug category = categories[category_slug] except: pass diff --git a/nbs/docs/capabilities/anomaly-detection/00_anomaly_detection.ipynb b/nbs/docs/capabilities/anomaly-detection/00_anomaly_detection.ipynb new file mode 100644 index 00000000..0d38f860 --- /dev/null +++ b/nbs/docs/capabilities/anomaly-detection/00_anomaly_detection.ipynb @@ -0,0 +1,29 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "6de758ee-a0d2-4b3f-acff-eed419dd17c5", + "metadata": {}, + "source": [ + "# Anomaly detection" + ] + }, + { + "cell_type": "markdown", + "id": "5d267032-535b-4b7b-b7d3-d2db8f673af6", + "metadata": {}, + "source": [ + "This section shows the capabilities TimeGPT offers for anomaly detection." + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "python3", + "language": "python", + "name": "python3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/nbs/docs/capabilities/anomaly_detection/01_quickstart.ipynb b/nbs/docs/capabilities/anomaly-detection/01_quickstart.ipynb similarity index 100% rename from nbs/docs/capabilities/anomaly_detection/01_quickstart.ipynb rename to nbs/docs/capabilities/anomaly-detection/01_quickstart.ipynb diff --git a/nbs/docs/capabilities/anomaly_detection/02_confidence_levels.ipynb b/nbs/docs/capabilities/anomaly-detection/02_confidence_levels.ipynb similarity index 100% rename from nbs/docs/capabilities/anomaly_detection/02_confidence_levels.ipynb rename to nbs/docs/capabilities/anomaly-detection/02_confidence_levels.ipynb diff --git a/nbs/docs/capabilities/anomaly_detection/03_anomaly_detection_date_features.ipynb b/nbs/docs/capabilities/anomaly-detection/03_anomaly_detection_date_features.ipynb similarity index 100% rename from nbs/docs/capabilities/anomaly_detection/03_anomaly_detection_date_features.ipynb rename to nbs/docs/capabilities/anomaly-detection/03_anomaly_detection_date_features.ipynb diff --git a/nbs/docs/capabilities/anomaly_detection/04_anomaly_exogenous.ipynb b/nbs/docs/capabilities/anomaly-detection/04_anomaly_exogenous.ipynb similarity index 100% rename from nbs/docs/capabilities/anomaly_detection/04_anomaly_exogenous.ipynb rename to nbs/docs/capabilities/anomaly-detection/04_anomaly_exogenous.ipynb diff --git a/nbs/docs/capabilities/forecast/00_forecast.ipynb b/nbs/docs/capabilities/forecast/00_forecast.ipynb new file mode 100644 index 00000000..8997e88a --- /dev/null +++ b/nbs/docs/capabilities/forecast/00_forecast.ipynb @@ -0,0 +1,29 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "6de758ee-a0d2-4b3f-acff-eed419dd17c5", + "metadata": {}, + "source": [ + "# Forecast" + ] + }, + { + "cell_type": "markdown", + "id": "5d267032-535b-4b7b-b7d3-d2db8f673af6", + "metadata": {}, + "source": [ + "This section shows the capabilities TimeGPT offers for forecasting." + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "python3", + "language": "python", + "name": "python3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}