Skip to content

Commit b61a5b3

Browse files
committed
Fix broken link
1 parent d8617b1 commit b61a5b3

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

docusaurus.config.js

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
/** @type {import('@docusaurus/types').DocusaurusConfig} */
2+
module.exports = {
3+
title: "PEcAn Project",
4+
tagline:
5+
"Ecosystem science, policy, and management informed by the best available data and models",
6+
url: "https://pecanproject.github.io",
7+
baseUrl: "/",
8+
onBrokenLinks: "ignore",
9+
onBrokenMarkdownLinks: "warn",
10+
favicon: "img/favicon.ico",
11+
organizationName: "PecanProject", // Usually your GitHub org/user name.
12+
projectName: "PecanProject.github.io", // Usually your repo name.
13+
themeConfig: {
14+
navbar: {
15+
title: "PEcAn",
16+
logo: {
17+
alt: "PEcAn Logo",
18+
src: "img/logo.jpeg",
19+
},
20+
items: [
21+
{
22+
label: "Documentation",
23+
position: "left",
24+
items: [
25+
{
26+
to: "/documentation", label: "Documentation",
27+
},
28+
{
29+
to: "/documentation/master", label: "Package Documentation",
30+
},
31+
{
32+
to: "/tutorials", label: "Tutorials",
33+
},
34+
{
35+
to: "http://pecan.ncsa.illinois.edu/pecan/01-introduction.php", label: "Demo"
36+
},
37+
],
38+
},
39+
{ to: "/blog", label: "Blog", position: "left" },
40+
{
41+
label: "About",
42+
position: "left",
43+
items: [
44+
{ to: "/about", label: "About" },
45+
{ to: "/people", label: "People" },
46+
{ to: "/alumni", label: "Alumni" },
47+
{ to: "/news", label: "News" },
48+
],
49+
},
50+
{ to: "/publications", label: "Publications", position: "left" },
51+
{
52+
href: "https://github.com/PecanProject",
53+
position: "right",
54+
className: "header-github-link",
55+
"aria-label": "GitHub repository",
56+
},
57+
{
58+
href: "https://opensource.ncsa.illinois.edu/projects/artifacts.php?key=PECAN",
59+
label: "Download",
60+
position: "left",
61+
},
62+
{
63+
label: "GSoC",
64+
position: "left",
65+
items: [
66+
{ to: "/gsoc", label: "Contributor Guidance" },
67+
{ to: "/gsoc_ideas", label: "Ideas List" }
68+
],
69+
},
70+
],
71+
},
72+
footer: {
73+
links: [
74+
{
75+
title: "Docs",
76+
items: [
77+
{
78+
label: "Tutorial",
79+
to: "/documentation/master",
80+
},
81+
],
82+
},
83+
{
84+
title: "Community",
85+
items: [
86+
{
87+
label: "Slack",
88+
href: "https://join.slack.com/t/pecanproject/shared_invite/enQtMzkyODUyMjQyNTgzLWEzOTM1ZjhmYWUxNzYwYzkxMWVlODAyZWQwYjliYzA0MDA0MjE4YmMyOTFhMjYyMjYzN2FjODE4N2Y4YWFhZmQ",
89+
},
90+
{
91+
label: "Twitter",
92+
href: "https://twitter.com/pecanproject",
93+
},
94+
],
95+
},
96+
{
97+
title: "Contribute to Code",
98+
items: [
99+
{
100+
label: "GitHub",
101+
href: "https://github.com/PecanProject",
102+
},
103+
],
104+
},
105+
{
106+
title: "Past Contributors",
107+
items: [
108+
{
109+
label: "PecanProject",
110+
href: "https://github.com/PecanProject/pecan/graphs/contributors",
111+
},
112+
{
113+
label: "BETYdb Database",
114+
href: "https://github.com/PecanProject/bety/graphs/contributors",
115+
},
116+
{
117+
label: "Pecan Website",
118+
href: "https://github.com/PecanProject/web/graphs/contributors",
119+
},
120+
],
121+
},
122+
],
123+
copyright: `Copyright © ${new Date().getFullYear()} PEcAn Project.`,
124+
},
125+
docs: {
126+
sidebar: {
127+
hideable: true
128+
},
129+
},
130+
},
131+
presets: [
132+
[
133+
"@docusaurus/preset-classic",
134+
{
135+
docs: false,
136+
blog: {
137+
showReadingTime: true,
138+
// Please change this to your repo.
139+
editUrl: "https://github.com/PecanProject/web/edit/main",
140+
},
141+
theme: {
142+
customCss: require.resolve("./src/css/custom.css"),
143+
},
144+
},
145+
],
146+
],
147+
};

0 commit comments

Comments
 (0)