feat: Add mode validity for the base viewer (#2525)

* feat: Add mode validity for the base viewer

* feat: Edit documentation and remove unnecessary files

* feat: Add probe tool documentation

* docs: Improved screenshots annotations

* Added new screenshot for measurements
This commit is contained in:
Alireza authored and GitHub committed 2021-08-30 09:36:05 -04:00
1 parent 4f3f510cac
commit 46c2dc285c
37 files changed
+90 -416

No files matched your search

+8 -23
View File
@@ -191,9 +191,7 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
],
presets: [
[
isBootstrapPreset
? '@docusaurus/preset-bootstrap'
: '@docusaurus/preset-classic',
"@docusaurus/preset-classic",
{
debug: true, // force debug plugin usage
docs: {
@@ -251,11 +249,6 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
disableSwitch: false,
// respectPrefersColorScheme: true,
},
// announcementBar: {
// id: 'v1-new-domain',
// content:
// '➡️ Docusaurus v1 documentation has moved to <a target="_blank" rel="noopener noreferrer" href="https://v1.docusaurus.io/">v1.docusaurus.io</a>! 🔄',
// },
/*
announcementBar: {
id: 'supportus',
@@ -267,7 +260,6 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
},
image: 'img/docusaurus-soc.png',
// metadatas: [{name: 'twitter:card', content: 'summary'}],
gtag: {
trackingID: 'UA-110573590-2',
@@ -350,8 +342,8 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
items: [
{
html: `
<a href="https://viewer.ohif.org/" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
<img src= 'https://rally.partners.org/study/image/A3C43B37-4BE8-4950-AB00-42B19677D9D2' id="mgh-logo" alt="MGH" />
<a href="https://www.massgeneral.org/" target="_blank" rel="noreferrer noopener">
<img src= '/static/img/mgh-logo.png' id="mgh-logo" alt="MGH" />
</a>
`,
},
@@ -398,21 +390,14 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
label: 'Twitter',
to: 'https://twitter.com/OHIFviewer',
},
{
html: `
<a href="https://v3-demo.ohif.org/" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" />
</a>
`,
},
],
},
],
// logo: {
// alt: 'OHIF ',
// src: 'img/ohif-logo.svg',
// href: 'https://ohif.org',
// },
logo: {
alt: 'OHIF ',
src: 'img/netlify-color-accent.svg',
href: 'https://v3-demo.ohif.org/',
},
copyright: `OHIF is open source software released under the MIT license.`,
},
},