Skip to content

Commit d4e2ef1

Browse files
Add link to learn preview (#576)
1 parent 83434f0 commit d4e2ef1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ main:
6262
blog:
6363
rm -rf $@
6464
git clone --depth 1 https://github.com/scientific-python/blog.scientific-python.org $@
65-
(cd $@ ; make prepare )
6665
(cd $@ ; hugo --themesDir="../..")
6766

6867
learn:
6968
rm -rf $@
7069
git clone --depth 1 https://github.com/scientific-python/learn.scientific-python.org $@
70+
(cd $@ ; perl -pi -e 's;/development/;https://learn.scientific-python.org/development/;g' content/_index.md)
7171
(cd $@ ; hugo --themesDir="../..")
7272

7373
tools:

tools/add_preview_links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
filename = "doc/content/_index.md"
22
preview_links = """
33
{{< admonition attention >}}
4-
See [scientific-python](main), [blog](blog), learn, [tools](tools), scipy, and numpy.
4+
See [scientific-python](main), [blog](blog), [learn](learn), [tools](tools), scipy, and numpy.
55
{{< /admonition >}}
66
"""
77

0 commit comments

Comments
 (0)