Skip to content

Commit 34a8c6e

Browse files
committed
Fix docusaurus config for gh and remove bits we don't need
1 parent 8e63a59 commit 34a8c6e

File tree

3 files changed

+82
-82
lines changed

3 files changed

+82
-82
lines changed

src/Docusaurus/docusaurus.config.js

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
66

77
/** @type {import('@docusaurus/types').Config} */
88
const config = {
9-
title: 'WiX Toolset',
9+
title: 'WiX v5 Docs',
1010
tagline: 'The most powerful set of tools available to create your Windows installation experience.',
11-
url: 'https://wixtoolset.org/',
12-
baseUrl: '/',
11+
url: 'https://velopack.github.io/',
12+
baseUrl: '/wix5-docs/',
1313
onBrokenLinks: 'warn',
1414
onBrokenMarkdownLinks: 'warn',
1515
favicon: 'favicon.ico',
@@ -46,14 +46,14 @@ const config = {
4646
}
4747
}
4848
},
49-
blog: {
50-
blogTitle: 'WiX Toolset News',
51-
blogDescription: 'Updates about the WiX Toolset',
52-
blogSidebarTitle: 'Recent news',
53-
path: 'news',
54-
routeBasePath: '/news',
55-
showReadingTime: false
56-
},
49+
// blog: {
50+
// blogTitle: 'WiX Toolset News',
51+
// blogDescription: 'Updates about the WiX Toolset',
52+
// blogSidebarTitle: 'Recent news',
53+
// path: 'news',
54+
// routeBasePath: '/news',
55+
// showReadingTime: false
56+
// },
5757
theme: {
5858
customCss: require.resolve('./src/css/custom.css'),
5959
},
@@ -64,59 +64,59 @@ const config = {
6464
themeConfig:
6565
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
6666
({
67-
announcementBar: {
68-
id: 'lifecycle',
69-
content: '<span style="font-size:16px">Did you know the WiX Lifecycle is changing soon? <a style="text-decoration-line:none;border-bottom:1px solid" href="https://github.com/orgs/wixtoolset/discussions/8864?utm_source=wixtoolset.org&utm_medium=Display&utm_campaign=lifecycle&utm_term=read_about_it&utm_content=announcement_bar">Read about it here.</a></span>',
70-
backgroundColor: '#FF5500',
71-
textColor: '#fff',
72-
isCloseable: false,
73-
},
67+
// announcementBar: {
68+
// id: 'lifecycle',
69+
// content: '<span style="font-size:16px">Did you know the WiX Lifecycle is changing soon? <a style="text-decoration-line:none;border-bottom:1px solid" href="https://github.com/orgs/wixtoolset/discussions/8864?utm_source=wixtoolset.org&utm_medium=Display&utm_campaign=lifecycle&utm_term=read_about_it&utm_content=announcement_bar">Read about it here.</a></span>',
70+
// backgroundColor: '#FF5500',
71+
// textColor: '#fff',
72+
// isCloseable: false,
73+
// },
7474
navbar: {
75-
title: 'WiX Toolset',
76-
logo: {
77-
alt: 'Logo',
78-
src: 'img/logo-white-hollow-xs.png',
79-
srcDark: 'img/logo-black-hollow-xs.png',
80-
},
75+
title: 'WiX v5 Docs',
76+
// logo: {
77+
// alt: 'Logo',
78+
// src: 'img/logo-white-hollow-xs.png',
79+
// srcDark: 'img/logo-black-hollow-xs.png',
80+
// },
8181
items: [
82-
{ to: '/news', label: 'News', position: 'right' },
82+
// { to: '/news', label: 'News', position: 'right' },
8383
{ type: 'doc', docId: 'intro', label: 'Docs', position: 'right' },
84-
{ href: 'https://github.com/wixtoolset/', label: 'GitHub', position: 'right' },
85-
{ href: 'https://www.firegiant.com/services/?utm_source=wixtoolset.org&utm_medium=Display&utm_term=enterprise+support&utm_content=header', label: 'Enterprise Support', position: 'right'},
84+
{ href: 'https://github.com/velopack/wix5', label: 'GitHub', position: 'right' },
85+
// { href: 'https://www.firegiant.com/services/?utm_source=wixtoolset.org&utm_medium=Display&utm_term=enterprise+support&utm_content=header', label: 'Enterprise Support', position: 'right'},
8686
],
8787
},
8888
footer: {
8989
style: 'dark',
90-
links: [
91-
{
92-
items: [
93-
{
94-
html: `
95-
<p class="footer_label">Support provided by</p>
96-
<a href="https://www.firegiant.com/?utm_source=wixtoolset.org&utm_medium=Display&utm_content=footer">
97-
<img src="/img/firegiant.png" alt="FireGiant" />
98-
</a>
99-
`
100-
}
101-
]
102-
},
103-
{
104-
title: 'Community',
105-
items: [
106-
{ href: 'https://stackoverflow.com/questions/tagged/wix', label: 'Stack Overflow' },
107-
{ href: 'https://www.youtube.com/wixtoolset', label: 'YouTube' },
108-
{ href: 'https://twitter.com/wixtoolset', label: 'Twitter' },
109-
],
110-
},
111-
{
112-
title: 'More',
113-
items: [
114-
{ to: '/news', label: 'News' },
115-
{ href: 'https://www.firegiant.com/services/', label: 'Enterprise' },
116-
{ href: 'https://github.com/wixtoolset/web', label: 'GitHub' },
117-
],
118-
},
119-
],
90+
// links: [
91+
// {
92+
// items: [
93+
// {
94+
// html: `
95+
// <p class="footer_label">Support provided by</p>
96+
// <a href="https://www.firegiant.com/?utm_source=wixtoolset.org&utm_medium=Display&utm_content=footer">
97+
// <img src="/img/firegiant.png" alt="FireGiant" />
98+
// </a>
99+
// `
100+
// }
101+
// ]
102+
// },
103+
// {
104+
// title: 'Community',
105+
// items: [
106+
// { href: 'https://stackoverflow.com/questions/tagged/wix', label: 'Stack Overflow' },
107+
// { href: 'https://www.youtube.com/wixtoolset', label: 'YouTube' },
108+
// { href: 'https://twitter.com/wixtoolset', label: 'Twitter' },
109+
// ],
110+
// },
111+
// {
112+
// title: 'More',
113+
// items: [
114+
// { to: '/news', label: 'News' },
115+
// { href: 'https://www.firegiant.com/services/', label: 'Enterprise' },
116+
// { href: 'https://github.com/wixtoolset/web', label: 'GitHub' },
117+
// ],
118+
// },
119+
// ],
120120
copyright: `Copyright © ${new Date().getFullYear()} .NET Foundation and contributors.`,
121121
},
122122
prism: {

src/Docusaurus/src/components/HomepageFeatures/index.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,28 @@ const FeatureList = [
1919
linkText: 'Read more',
2020
href: '/docs/intro'
2121
},
22-
{
23-
title: 'Download',
24-
Svg: DownloadSvg,
25-
description: (
26-
<>
27-
You can download the WiX toolset for free.
28-
</>
29-
),
30-
linkText: 'Latest releases',
31-
href: '/docs/intro'
32-
},
33-
{
34-
title: 'Bugs',
35-
Svg: BugSvg,
36-
description: (
37-
<>
38-
If you find a bug, let us know so we can fix it.
39-
</>
40-
),
41-
linkText: 'File a bug',
42-
href: '/docs/gethelp#bugs'
43-
},
22+
// {
23+
// title: 'Download',
24+
// Svg: DownloadSvg,
25+
// description: (
26+
// <>
27+
// You can download the WiX toolset for free.
28+
// </>
29+
// ),
30+
// linkText: 'Latest releases',
31+
// href: '/docs/intro'
32+
// },
33+
// {
34+
// title: 'Bugs',
35+
// Svg: BugSvg,
36+
// description: (
37+
// <>
38+
// If you find a bug, let us know so we can fix it.
39+
// </>
40+
// ),
41+
// linkText: 'File a bug',
42+
// href: '/docs/gethelp#bugs'
43+
// },
4444
];
4545

4646
function Feature({Svg, title, description, linkText, href}) {

src/Docusaurus/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,19 @@ export default function Home() {
6161
return (
6262
<Layout
6363
description={siteConfig.tagline}>
64-
<HomepageHeader />
64+
{/* <HomepageHeader /> */}
6565
<main>
6666
<HomepageFeatures />
6767

68-
<section className={styles.features}>
68+
{/* <section className={styles.features}>
6969
<div className="container">
7070
<div className="row">
7171
<MoreAbout />
7272
<RecentNews />
7373
<OtherNewsSources />
7474
</div>
7575
</div>
76-
</section>
76+
</section> */}
7777
</main>
7878
</Layout>
7979
);

0 commit comments

Comments
 (0)