Skip to content

Commit

Permalink
fix: Update docs site links to point to stable (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm authored Jan 31, 2025
1 parent 5a6e4e6 commit b79eed0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const DEV_LINKS = [
},
{
label: i18n.api,
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/python-api.html',
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/python-api.html',
},
{
label: i18n.napariPlugin,
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_napari.html',
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_napari.html',
},
{
label: i18n.documentation,
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/index.html',
href: 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/index.html',
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ export const TOP_LEVEL_LINKS: TopNavLink[] = [
export const TOOLS_LINKS: NavLink[] = [
{
label: 'api',
link: 'https://chanzuckerberg.github.io/cryoet-data-portal/python-api.html',
link: 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/python-api.html',
},
{
label: 'napariPlugin',
link: 'https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_napari.html',
link: 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_napari.html',
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Cryo-electron tomography (CryoET) is an imaging technique that enables 3D visual

A given tomogram is typically only about 200 nanometers thick—approximately five hundred times thinner than a sheet of paper—yet packed with information about the structures of the cellular machinery driving health and disease.

For more information about CryoET basics, check out [the educational articles from the CryoET Data Portal documentation site](https://chanzuckerberg.github.io/cryoet-data-portal/about.html).
For more information about CryoET basics, check out [the educational articles from the CryoET Data Portal documentation site](https://chanzuckerberg.github.io/cryoet-data-portal/stable/about.html).

### Current Barriers

Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/data-portal/app/constants/siteLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export enum SiteLinks {
HOME = '/',
COMPETITION = '/competition',
BROWSE_DATA_DATASETS = '/browse-data/datasets',
FAQ = 'https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_faq.html',
FAQ = 'https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_faq.html',
PRIVACY = '/privacy',
DATA_SUBMISSION_POLICY = '/data-submission-policy',
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function BrowseDatasetsPage() {
title: t('datasets'),
description: t('datasetsDescription'),
learnMoreLink:
'https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#datasets',
'https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#datasets',
filterPanel: <DatasetFilter />,
table: <DatasetTable />,
noFilteredResults: <NoFilteredResults showSearchTip />,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function BrowseDepositionsPage() {
title: t('depositions'),
description: t('depositionsDescription'),
learnMoreLink:
'https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#depositions',
'https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#depositions',
table: <DepositionTable />,
filteredCount: filteredDepositionCount,
totalCount: totalDepositionCount,
Expand Down
16 changes: 8 additions & 8 deletions frontend/packages/data-portal/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"annotationOverview": "Annotation Overview",
"annotationSoftware": "Annotation Software",
"annotations": "Annotations",
"annotationsMayRequireTransformation": "Annotations may require transformation if the desired tomogram has a different Alignment ID. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#annotations'>Learn about annotation transformation.</url>",
"annotationsMayRequireTransformation": "Annotations may require transformation if the desired tomogram has a different Alignment ID. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#annotations'>Learn about annotation transformation.</url>",
"annotationsSummary": "Annotations Summary",
"annotationsTotal": "Annotations (Total)",
"api": "API",
"apiDocLink": "https://chanzuckerberg.github.io/cryoet-data-portal/python-api.html",
"apiDocLink": "https://chanzuckerberg.github.io/cryoet-data-portal/stable/python-api.html",
"apply": "Apply",
"askOnGithub": "Ask a Question on GitHub",
"author": "Author",
Expand Down Expand Up @@ -311,7 +311,7 @@
"portalStandardTooltip": "<semibold>Portal Standard:</semibold> Tomogram contributed by the Data Portal with standard voxel size.",
"postProcessing": "Post Processing",
"precision": "Precision",
"precisionTooltip": "<semibold>Precision:</semibold> Percentage of true positives among the total number of positive predictions. A value of 100% means everything found is actually the object of interest. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#annotations'>Learn More</url>",
"precisionTooltip": "<semibold>Precision:</semibold> Percentage of true positives among the total number of positive predictions. A value of 100% means everything found is actually the object of interest. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#annotations'>Learn More</url>",
"preferToDownloadViaApi": "<semibold>Prefer to download via our API?</semibold> Record the IDs below and visit our <url to='$t(apiDocLink)'>API documentation</url> to learn how.",
"preferToDownloadViaApiCode": "<semibold>Prefer to download via our API?</semibold> Record the code snippet below and visit our <url to='$t(apiDocLink)'>API documentation</url> to learn how.",
"primaryAuthor": "Primary Author",
Expand Down Expand Up @@ -349,7 +349,7 @@
"runOverview": "Run Overview",
"runs": "Runs",
"runsTab": "Runs {{count}}",
"runsTooltip": "<semibold>Run:</semibold> A tomography run is a collection of all data and annotations related to one physical location in a biological specimen. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_faq.html?target=data-schema&status=open' target='_blank' rel='noreferrer'>Learn More</url>",
"runsTooltip": "<semibold>Run:</semibold> A tomography run is a collection of all data and annotations related to one physical location in a biological specimen. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_faq.html?target=data-schema&status=open' target='_blank' rel='noreferrer'>Learn More</url>",
"runsTooltipDepositionSubtext": "Count only shows the number of runs containing deposition data. <urlNoColor to='$t(urlDepositionsDocumentation)' variant='dashed-underlined'>Learn more about depositions in the portal</urlNoColor>.",
"sampleAndExperimentConditions": "Sample and Experiment Conditions",
"samplePreparation": "Sample Preparation",
Expand All @@ -364,7 +364,7 @@
"selectDownload": "Select Download",
"selectDownloadMethod": "Select Download Method",
"selectSaveDestination": "Select Save Destination",
"selectTheTomogramToReferenceWith": "Select the tomogram to reference with these annotations. For tomograms other than the Portal Standard, annotations may require transformation to be compatible. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#annotations'>Learn More</url>.",
"selectTheTomogramToReferenceWith": "Select the tomogram to reference with these annotations. For tomograms other than the Portal Standard, annotations may require transformation to be compatible. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#annotations'>Learn More</url>.",
"selectTomogram": "Select Tomogram",
"seriesIsAligned": "Series is Aligned",
"showAll": "Show all",
Expand Down Expand Up @@ -406,7 +406,7 @@
"tiltSeriesId": "Tilt Series ID",
"tiltSeriesMetadata": "Tilt Series Metadata",
"tiltSeriesQualityScore": "Tilt Series Quality Score",
"tiltSeriesTooltip": "<semibold>Tilt Series Quality:</semibold> Dataset author's assessment of tilt series quality. Score ranges 1-5, with 5 being best. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#tilt-series-quality'>Learn More</url>",
"tiltSeriesTooltip": "<semibold>Tilt Series Quality:</semibold> Dataset author's assessment of tilt series quality. Score ranges 1-5, with 5 being best. <url to='https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#tilt-series-quality'>Learn More</url>",
"tiltStep": "Tilt Step",
"tiltingScheme": "Tilting Scheme",
"tissueName": "Tissue Name",
Expand All @@ -431,11 +431,11 @@
"unitDegree": "{{value}}°",
"unitMillimeter": "{{value}} mm",
"unitVolts": "{{value}} V",
"urlAPIQuickstart": "https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_quick_start.html",
"urlAPIQuickstart": "https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_quick_start.html",
"urlCZ": "https://chanzuckerberg.com/",
"urlCZII": "https://www.czimaginginstitute.org/",
"urlDataContributionForm": "https://airtable.com/apppmytRJXoXYTO9w/shr5UxgeQcUTSGyiY?prefill_Event=Portal&hide_Event=true",
"urlDepositionsDocumentation": "https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_data.html#depositions",
"urlDepositionsDocumentation": "https://chanzuckerberg.github.io/cryoet-data-portal/stable/cryoet_data_portal_docsite_data.html#depositions",
"urlEMPIAR": "https://www.ebi.ac.uk/empiar/",
"valueToValue": "{{value1}} to {{value2}}",
"veryPoor": "Very Poor",
Expand Down

0 comments on commit b79eed0

Please sign in to comment.