Skip to content

Commit 5bd117b

Browse files
Merge pull request #29 from OceanParcels/update_docs_links
Updating links to the new readthedocs location
2 parents ae2fd35 + 37d3cb9 commit 5bd117b

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/components/hero-banner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const HeroBanner = () => {
6363
as={Link}
6464
variant={'outline'}
6565
colorScheme={'blue'}
66-
href='https://virtualship.oceanparcels.org' // TODO fix link after deployment
66+
href='https://virtualship.readthedocs.io/en/latest/'
6767
>
6868
Get Started
6969
</Button>

src/components/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Layout = ({
1515
description,
1616
card,
1717
children,
18-
url = 'https://oceanparcels.org', // TODO: Update to the new domain
18+
url = 'https://virtualship.oceanparcels.org',
1919
enableBanner = false,
2020
}) => {
2121
// Track page views
@@ -33,7 +33,7 @@ export const Layout = ({
3333
// Determine the base URL based on the environment
3434
const baseUrl =
3535
process.env.NODE_ENV === 'production'
36-
? 'https://oceanparcels.org' // TODO: Update to the new domain
36+
? 'https://virtualship.oceanparcels.org'
3737
: 'http://localhost:3000'
3838

3939
// Construct the full card URL

src/data/footer-items.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ export const footerItems = {
1111
resources: [
1212
{
1313
label: 'Documentation',
14-
href: 'https://virtualship.oceanparcels.org/en/latest/', // TODO: update to new domain after deployment
14+
href: 'https://virtualship.readthedocs.io/en/latest/',
1515
},
1616
{
1717
label: 'Installation',
18-
href: 'https://virtualship.oceanparcels.org/en/latest/#installation', // TODO: update to new domain after deployment
18+
href: 'https://virtualship.readthedocs.io/en/latest#installation',
1919
},
2020
{
2121
label: 'User Guide',
22-
href: 'https://virtualship.oceanparcels.org/en/latest/user-guide/index.html', // TODO: update to new domain after deployment
22+
href: 'https://virtualship.readthedocs.io/en/latest/user-guide/index.html',
2323
},
2424
],
2525

2626
community: [
2727
{
2828
label: 'Contribute',
29-
href: 'https://virtualship.oceanparcels.org/en/latest/contributing/index.html', // TODO: update to new domain after deployment
29+
href: 'https://virtualship.readthedocs.io/en/latest/contributing/index.html',
3030
},
3131
{
3232
label: 'GitHub Discussions',

src/data/menu-items.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export const menuItems = [
55
{ label: 'Blog', href: '/blog' },
66
{
77
label: 'Documentation',
8-
href: 'https://virtualship.oceanparcels.org/en/latest/',
9-
}, // TODO: update to new domain after deployment
8+
href: 'https://virtualship.readthedocs.io/en/latest/',
9+
},
1010
]

src/data/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const Projects = [
1313
description:
1414
'VirtualShipParcels is a command-line simulator to plan and conduct a virtual research expedition.',
1515
repo: 'https://github.com/OceanParcels/virtualship',
16-
homepage: 'https://virtualship.oceanparcels.org/en/latest/',
16+
homepage: 'https://virtualship.oceanparcels.org/',
1717
logo_light: '/projects/virtual_ship_logo.png',
1818
logo_dark: '/projects/virtual_ship_logo_dia.png',
1919
},

0 commit comments

Comments
 (0)