From e974d0491bd32578c74d6c8cf6f66068ecf5ada6 Mon Sep 17 00:00:00 2001 From: Saul Caballero Date: Wed, 12 Aug 2026 14:10:58 -0600 Subject: [PATCH] add ConformalForecast anchor to preview docs navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The anchor must exist before the pipeline runs: merge_navigation looks it up by name and returns early if absent, so without it the pages copy in with nothing linking to them. groups is left empty on purpose — merge_docs.py fills it at build time from conformalforecast's own docs.json. merge_docs.py is updated here too because this branch's copy is the one the workflow executes (it checks out Nixtla/docs at this ref and runs merge_docs.py from the checkout). --- docs.json | 5 +++++ merge_docs.py | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs.json b/docs.json index 4910b26..90a03df 100644 --- a/docs.json +++ b/docs.json @@ -673,6 +673,11 @@ } ] }, + { + "anchor": "ConformalForecast", + "icon": "bullseye", + "groups": [] + }, { "anchor": "CoreForecast", "icon": "truck-fast", diff --git a/merge_docs.py b/merge_docs.py index 78ebbe5..97a679c 100644 --- a/merge_docs.py +++ b/merge_docs.py @@ -25,7 +25,8 @@ def merge_navigation(main_nav, sub_nav, prefix): 'utilsforecast': 'UtilsForecast', 'datasetsforecast': 'DatasetsForecast', 'coreforecast': 'CoreForecast', - 'synforecast': 'SynForecast' + 'synforecast': 'SynForecast', + 'conformalforecast': 'ConformalForecast' } anchor_name = anchor_name_map.get(prefix) @@ -61,7 +62,7 @@ def merge_navigation(main_nav, sub_nav, prefix): repos = ['nixtla', 'statsforecast', 'mlforecast', 'neuralforecast', 'hierarchicalforecast', 'utilsforecast', 'datasetsforecast', 'coreforecast', - 'synforecast'] + 'synforecast', 'conformalforecast'] main_config = json.loads(Path(fname).read_text())