Skip to content

Commit 5a89146

Browse files
Update hugo to 0.115.4 (#649)
* Update hugo * Move custom configuration underneath params, as required by new Hugo * Update gen_config to work with new Hugo config structure * Update to Hugo 0.115.4 * Whitespace cleanups * Fix pt/ja tabcontent structure * Update hugo (gh pages) --------- Co-authored-by: Stefan van der Walt <[email protected]>
1 parent f77f552 commit 5a89146

File tree

10 files changed

+883
-855
lines changed

10 files changed

+883
-855
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
branch: main
2626
cname: numpy.org
2727
repo: numpy/numpy.github.com
28-
hugoVersion: extended_0.104.3
28+
hugoVersion: extended_0.115.4

config.yaml.in

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,24 @@ languages:
2727
title: NumPy
2828
weight: 1
2929
contentDir: content/en
30-
< content/en/config.yaml >
31-
< content/en/tabcontents.yaml >
32-
30+
include-files:
31+
- content/en/config.yaml
32+
- content/en/tabcontents.yaml
33+
3334
# Portuguese
3435
pt:
3536
title: NumPy
3637
weight: 2
3738
contentDir: content/pt
38-
< content/pt/config.yaml >
39-
< content/pt/tabcontents.yaml >
39+
include-files:
40+
- content/pt/config.yaml
41+
- content/pt/tabcontents.yaml
4042

4143
# Japanese
4244
ja:
4345
title: NumPy
4446
weight: 3
4547
contentDir: content/ja
46-
< content/ja/config.yaml >
47-
< content/ja/tabcontents.yaml >
48+
include-files:
49+
- content/ja/config.yaml
50+
- content/ja/tabcontents.yaml

content/en/config.yaml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ params:
6363
text: The core of NumPy is well-optimized C code. Enjoy the flexibility of Python with the speed of compiled code.
6464
- title: Easy to use
6565
text: NumPy's high level syntax makes it accessible and productive for programmers from any background or experience level.
66-
66+
6767
tabs:
6868
title: ECOSYSTEM
69-
section5: false
7069

70+
section5: false
7171

72-
navbar:
72+
navbar:
7373
- title: Install
7474
url: /install
7575
- title: Documentation
@@ -84,50 +84,50 @@ navbar:
8484
url: /news
8585
- title: Contribute
8686
url: /contribute
87-
footer:
88-
logo: logo.svg
89-
socialmediatitle: ""
90-
socialmedia:
91-
- link: https://github.com/numpy/numpy
92-
icon: github
93-
- link: https://www.youtube.com/channel/UCguIL9NZ7ybWK5WQ53qbHng
94-
icon: youtube
95-
- link: https://twitter.com/numpy_team
96-
icon: twitter
97-
quicklinks:
98-
column1:
99-
title: ""
100-
links:
101-
- text: Install
102-
link: /install
103-
- text: Documentation
104-
link: https://numpy.org/doc/stable
105-
- text: Learn
106-
link: /learn
107-
- text: Citing Numpy
108-
link: /citing-numpy
109-
- text: Roadmap
110-
link: https://numpy.org/neps/roadmap.html
111-
column2:
112-
links:
113-
- text: About us
114-
link: /about
115-
- text: Community
116-
link: /community
117-
- text: User surveys
118-
link: /user-surveys
119-
- text: Contribute
120-
link: /contribute
121-
- text: Code of conduct
122-
link: /code-of-conduct
123-
column3:
124-
links:
125-
- text: Get help
126-
link: /gethelp
127-
- text: Terms of use
128-
link: /terms
129-
- text: Privacy
130-
link: /privacy
131-
- text: Press kit
132-
link: /press-kit
13387

88+
footer:
89+
logo: logo.svg
90+
socialmediatitle: ""
91+
socialmedia:
92+
- link: https://github.com/numpy/numpy
93+
icon: github
94+
- link: https://www.youtube.com/channel/UCguIL9NZ7ybWK5WQ53qbHng
95+
icon: youtube
96+
- link: https://twitter.com/numpy_team
97+
icon: twitter
98+
quicklinks:
99+
column1:
100+
title: ""
101+
links:
102+
- text: Install
103+
link: /install
104+
- text: Documentation
105+
link: https://numpy.org/doc/stable
106+
- text: Learn
107+
link: /learn
108+
- text: Citing Numpy
109+
link: /citing-numpy
110+
- text: Roadmap
111+
link: https://numpy.org/neps/roadmap.html
112+
column2:
113+
links:
114+
- text: About us
115+
link: /about
116+
- text: Community
117+
link: /community
118+
- text: User surveys
119+
link: /user-surveys
120+
- text: Contribute
121+
link: /contribute
122+
- text: Code of conduct
123+
link: /code-of-conduct
124+
column3:
125+
links:
126+
- text: Get help
127+
link: /gethelp
128+
- text: Terms of use
129+
link: /terms
130+
- text: Privacy
131+
link: /privacy
132+
- text: Press kit
133+
link: /press-kit

0 commit comments

Comments
 (0)