Skip to content

Commit 4d0683f

Browse files
Remove translations (#189)
* Remove translations * Move from content/en to content * Add site title correctly to config * Update theme Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
1 parent 3b40d00 commit 4d0683f

34 files changed

Lines changed: 88 additions & 88 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.hugo_build.lock
2-
content/en/calendars/*.ics
2+
content/calendars/*.ics
33
public
44
resources
55
*~

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[submodule "content/specs"]
2-
path = content/en/specs
2+
path = content/specs
33
url = https://github.com/scientific-python/specs
44
branch = main
55
[submodule "themes/scientific-python-hugo-theme"]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ prepare:
1313
git submodule update --init
1414

1515

16-
CALENDAR_DIR = content/en/calendars
16+
CALENDAR_DIR = content/calendars
1717

1818
$(CALENDAR_DIR):
1919
mkdir -p $(CALENDAR_DIR)
@@ -54,7 +54,7 @@ serve-dev: prepare calendars
5454
@hugo --i18n-warnings server --disableFastRender
5555

5656
clean:
57-
rm -rf public content/en/calendars/*.ics
57+
rm -rf public content/calendars/*.ics
5858

5959
github: | clean html
6060
./push_dir_to_repo.py \

config.yaml

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
title: Scientific Python
12
baseURL: 'https://scientific-python.org'
23
languageCode: en-us
34
theme: scientific-python-hugo-theme
@@ -10,103 +11,102 @@ markup:
1011

1112
params:
1213
description: Community developed and owned ecosystem for scientific computing
14+
1315
images:
1416
- /images/logo.svg
17+
1518
plausible:
1619
dataDomain: scientific-python.org
20+
1721
post_meta:
1822
- author
1923
- date
24+
2025
style:
2126
vars:
2227
highlightColor: '#004811'
2328
menuHighlightColor: '#5ca038'
2429

25-
languages:
26-
en:
27-
title: Scientific Python
28-
contentDir: content/en
30+
navbarlogo:
31+
image: logo.svg
32+
altText: A green tree on a white hill at the end of a green path in the shape of the letter 'S'.
33+
text: Scientific Python
34+
link: /
35+
36+
navbar:
37+
- title: Ecosystem
38+
url: /ecosystem/
39+
- title: Community
40+
url: /community/
41+
- title: Forum
42+
url: https://discuss.scientific-python.org
2943

30-
languageName: English
31-
params:
32-
navbarlogo:
33-
image: logo.svg
34-
altText: A green tree on a white hill at the end of a green path in the shape of the letter 'S'.
35-
text: Scientific Python
36-
link: /
37-
navbar:
38-
- title: Ecosystem
39-
url: /ecosystem/
40-
- title: Community
41-
url: /community/
42-
- title: Forum
43-
url: https://discuss.scientific-python.org
44+
hero:
45+
# Main hero title
46+
title: Scientific Python
47+
# Hero subtitle (optional)
48+
subtitle: Community developed, community owned
49+
# Button text
50+
buttontext: Get started
51+
# Where the main hero button links to
52+
buttonlink: /ecosystem/
53+
# Hero image (from static/images/___)
54+
image: logo.svg
4455

45-
hero:
46-
# Main hero title
47-
title: Scientific Python
48-
# Hero subtitle (optional)
49-
subtitle: Community developed, community owned
50-
# Button text
51-
buttontext: Get started
52-
# Where the main hero button links to
53-
buttonlink: /ecosystem/
54-
# Hero image (from static/images/___)
55-
image: logo.svg
56+
keyfeatures:
57+
features:
58+
- title: Built on Python
59+
text: Python is a powerful, general-purpose programming language. The scientific Python ecosystem provides the tools that make Python the premier language for scientific computing.
60+
- title: Open source
61+
text: Distributed under unrestrictive open source licenses, projects are developed and maintained publicly and accessible to all.
62+
- title: Community-driven
63+
text: Projects are developed by open communities composed primarily of the users of the software.
64+
- title: Extensive and high quality
65+
text: The scientific Python ecosystem comprises performant, well-tested libraries providing tools for computing across all scientific domains.
66+
- title: Broadly applicable
67+
text: The ecosystem is widely used in scientific research and teaching.
68+
- title: Coordinated, readable, reproducible
69+
text: Projects in the ecosystem are completely interoperable, providing the basis for readable, reproducible scientific computation.
5670

57-
keyfeatures:
58-
features:
59-
- title: Built on Python
60-
text: Python is a powerful, general-purpose programming language. The scientific Python ecosystem provides the tools that make Python the premier language for scientific computing.
61-
- title: Open source
62-
text: Distributed under unrestrictive open source licenses, projects are developed and maintained publicly and accessible to all.
63-
- title: Community-driven
64-
text: Projects are developed by open communities composed primarily of the users of the software.
65-
- title: Extensive and high quality
66-
text: The scientific Python ecosystem comprises performant, well-tested libraries providing tools for computing across all scientific domains.
67-
- title: Broadly applicable
68-
text: The ecosystem is widely used in scientific research and teaching.
69-
- title: Coordinated, readable, reproducible
70-
text: Projects in the ecosystem are completely interoperable, providing the basis for readable, reproducible scientific computation.
71+
section5: false
7172

72-
section5: false
73+
footer:
74+
logo: logo.svg
75+
socialmediatitle: ""
76+
socialmedia:
77+
- link: https://github.com/scientific-python/
78+
icon: github
79+
- link: https://www.youtube.com/channel/UC2wKi87Wmy9C1OQMyD9fGxA
80+
icon: youtube
81+
- link: https://twitter.com/scientific_py
82+
icon: twitter
83+
- link: https://facebook.com/scientific.python
84+
icon: facebook
85+
- link: https://www.instagram.com/scientific.python/
86+
icon: instagram
87+
- link: https://www.tiktok.com/@scientific.python
88+
icon: tiktok
7389

74-
footer:
75-
logo: logo.svg
76-
socialmediatitle: ""
77-
socialmedia:
78-
- link: https://github.com/scientific-python/
79-
icon: github
80-
- link: https://www.youtube.com/channel/UC2wKi87Wmy9C1OQMyD9fGxA
81-
icon: youtube
82-
- link: https://twitter.com/scientific_py
83-
icon: twitter
84-
- link: https://facebook.com/scientific.python
85-
icon: facebook
86-
- link: https://www.instagram.com/scientific.python/
87-
icon: instagram
88-
- link: https://www.tiktok.com/@scientific.python
89-
icon: tiktok
90-
quicklinks:
91-
column1:
92-
title: ""
93-
links:
94-
- text: About
95-
link: /about/
96-
- text: Roadmap
97-
link: /roadmap/
98-
- text: Code of Conduct
99-
link: /code_of_conduct/
100-
column2:
101-
title: "Maintainers"
102-
links:
103-
- text: SPECs
104-
link: /specs/
105-
- text: Grants
106-
link: /grants/
107-
- text: Calendars
108-
link: /calendars
109-
column3:
110-
links:
111-
- text: Press kit
112-
link: /press-kit
90+
quicklinks:
91+
column1:
92+
title: ""
93+
links:
94+
- text: About
95+
link: /about/
96+
- text: Roadmap
97+
link: /roadmap/
98+
- text: Code of Conduct
99+
link: /code_of_conduct/
100+
column2:
101+
title: "Maintainers"
102+
links:
103+
- text: SPECs
104+
link: /specs/
105+
- text: Grants
106+
link: /grants/
107+
- text: Calendars
108+
link: /calendars
109+
column3:
110+
links:
111+
- text: Press kit
112+
link: /press-kit
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)