chore(version): update cs3d version and add iframe documentation (#3474)
This commit is contained in:
1 parent
5670a1699d
commit
83c453d1f3
428 files changed
+271
-9666
No files matched your search
@@ -6,13 +6,10 @@
|
||||
*/
|
||||
|
||||
const path = require('path');
|
||||
const versions = require('./versions.json');
|
||||
const VersionsArchived = require('./versionsArchived.json');
|
||||
|
||||
const ArchivedVersionsDropdownItems = Object.entries(VersionsArchived).splice(
|
||||
0,
|
||||
5
|
||||
);
|
||||
// read this text file
|
||||
const fs = require('fs');
|
||||
const versions = fs.readFileSync('../../version.txt', 'utf8').split('\n');
|
||||
|
||||
// This probably only makes sense for the beta phase, temporary
|
||||
// function getNextBetaVersionName() {
|
||||
@@ -87,7 +84,7 @@ module.exports = {
|
||||
redirects: [
|
||||
{
|
||||
// we need this for https://cloud.google.com/healthcare/docs/how-tos/dicom-viewers
|
||||
to: '/2.0/deployment/recipes/google-cloud-healthcare',
|
||||
to: '/2.0-deprecated/deployment/recipes/google-cloud-healthcare',
|
||||
from: [
|
||||
'/connecting-to-image-archives/google-cloud-healthcare',
|
||||
'/connecting-to-image-archives/google-cloud-healthcare.html',
|
||||
@@ -227,7 +224,7 @@ module.exports = {
|
||||
// : undefined,
|
||||
versions: {
|
||||
current: {
|
||||
label: 'Latest',
|
||||
label: `${versions} (Latest)`,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -283,7 +280,7 @@ module.exports = {
|
||||
},
|
||||
items: [
|
||||
{
|
||||
to: 'https://ohif.org/showcase',
|
||||
href: 'https://ohif.org/showcase',
|
||||
label: 'Showcase',
|
||||
target: '_blank',
|
||||
position: 'left',
|
||||
@@ -296,11 +293,17 @@ module.exports = {
|
||||
label: 'Docs',
|
||||
},
|
||||
{
|
||||
to: 'https://ohif.org/collaborate',
|
||||
href: 'https://ohif.org/collaborate',
|
||||
label: 'Collaborate',
|
||||
target: '_blank',
|
||||
position: 'left',
|
||||
},
|
||||
{
|
||||
to: '/migration-guide',
|
||||
label: 'Migration Guides',
|
||||
position: 'left',
|
||||
className: 'new-badge',
|
||||
},
|
||||
{
|
||||
to: '/help',
|
||||
//activeBaseRegex: '(^/help$)|(/help)',
|
||||
@@ -312,21 +315,6 @@ module.exports = {
|
||||
position: 'right',
|
||||
dropdownActiveClassDisabled: true,
|
||||
dropdownItemsAfter: [
|
||||
{
|
||||
type: 'html',
|
||||
value: '<hr class="dropdown-separator">',
|
||||
},
|
||||
{
|
||||
type: 'html',
|
||||
className: 'dropdown-archived-versions',
|
||||
value: '<b>Archived versions</b>',
|
||||
},
|
||||
...ArchivedVersionsDropdownItems.map(
|
||||
([versionName, versionUrl]) => ({
|
||||
label: versionName,
|
||||
href: versionUrl,
|
||||
})
|
||||
),
|
||||
{
|
||||
type: 'html',
|
||||
value: '<hr class="dropdown-separator">',
|
||||
@@ -379,9 +367,17 @@ module.exports = {
|
||||
to: '/',
|
||||
},
|
||||
{
|
||||
label: 'Installation',
|
||||
label: 'Getting Started',
|
||||
to: 'development/getting-started',
|
||||
},
|
||||
{
|
||||
label: 'FAQ',
|
||||
to: '/faq',
|
||||
},
|
||||
{
|
||||
label: 'Resources',
|
||||
to: '/resources',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -389,7 +385,7 @@ module.exports = {
|
||||
items: [
|
||||
{
|
||||
label: 'Discussion board',
|
||||
to: 'https://community.ohif.org/',
|
||||
href: 'https://community.ohif.org/',
|
||||
},
|
||||
{
|
||||
label: 'Help',
|
||||
@@ -402,15 +398,15 @@ module.exports = {
|
||||
items: [
|
||||
{
|
||||
label: 'Donate',
|
||||
to: 'https://giving.massgeneral.org/ohif',
|
||||
href: 'https://giving.massgeneral.org/ohif',
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
to: 'https://github.com/OHIF/Viewers',
|
||||
href: 'https://github.com/OHIF/Viewers',
|
||||
},
|
||||
{
|
||||
label: 'Twitter',
|
||||
to: 'https://twitter.com/OHIFviewer',
|
||||
href: 'https://twitter.com/OHIFviewer',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user