From 9f18be2544c250babd3f2d030b16a05516930ced Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Wed, 27 Mar 2024 06:41:26 -0700 Subject: [PATCH] Add link to scientific-python.org preview --- Makefile | 1 + tools/add_preview_links.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc60c8d5..1681e35d 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,7 @@ main: git clone --depth 1 https://github.com/scientific-python/scientific-python.org $@ (cd $@ ; git submodule update --init content/specs) (cd $@ ; pip install -q -r requirements.txt) + (cd $@ ; make calendars ; make core-project-json) (cd $@ ; hugo --themesDir="../..") blog: diff --git a/tools/add_preview_links.py b/tools/add_preview_links.py index 9d9d49f4..38d8e05d 100644 --- a/tools/add_preview_links.py +++ b/tools/add_preview_links.py @@ -1,7 +1,7 @@ filename = "doc/content/_index.md" preview_links = """ {{< admonition attention >}} -See scientific python, [blog](blog), learn, [tools](tools), scipy, and numpy. +See [scientific-python](main), [blog](blog), learn, [tools](tools), scipy, and numpy. {{< /admonition >}} """