Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix client side routing, refactor pages and remove unnecessary code/assets #6

Merged
merged 4 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
id: index
title: Home Page
slug: /
sidebar_position: 1
---

# Welcome to the Vignette wiki!

This is the place that stores the cumulative knowledge of the Vignette community.

To get started with Vignette, you can go to [The Windows Installation Guide](install/install-win.md) or [The Linux Installation Guide](install/install-linux.md).
To get started, you can go on the [Installation Guide](install/install-methods.md).

Or, if you are looking for a specific page, you can use the sidebar instead.
Currently WIP.
Expand Down
9 changes: 9 additions & 0 deletions docs/install/install-aur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: aur
title: AUR (Linux)
sidebar_position: 4
---

# Installing Vignette using AUR

something
31 changes: 0 additions & 31 deletions docs/install/install-linux.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/install/install-methods.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
id: install-methods
title: Installation Methods
sidebar_position: 1
---

# Installation methods
You can choose which installation method you prefer.
- [Windows Store (Windows)](install-windows-store.md)
- [Steam](install-steam.md)
- [AUR (Linux)](install-aur.md)
- [Portable](install-portable.md)
9 changes: 9 additions & 0 deletions docs/install/install-portable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: portable
title: Portable
sidebar_position: 5
---

# Installing Vignette Portable

something
9 changes: 9 additions & 0 deletions docs/install/install-steam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: steam
title: Steam
sidebar_position: 3
---

# Installing Vignette using Steam

something
27 changes: 0 additions & 27 deletions docs/install/install-win.md

This file was deleted.

9 changes: 9 additions & 0 deletions docs/install/install-windows-store.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: windows-store
title: Windows Store (Windows)
sidebar_position: 2
---

# Installing Vignette using Windows Store

something
19 changes: 14 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/vignetteapp/docs/edit/master/website/',
routeBasePath: '/'
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand All @@ -43,9 +44,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
items: [
{
type: 'doc',
docId: 'index',
docId: 'install/install-methods',
position: 'left',
label: 'Home Page',
label: 'Installation Guide',
},
{
href: 'https://github.com/vignetteapp/vignette',
Expand All @@ -62,16 +63,20 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
items: [
{
label: 'Home Page',
to: '/docs/index',
to: '/',
},
{
label: 'Installation Guide',
to: '/install/install-methods',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/your-mom',
label: 'Open Collective',
href: 'https://opencollective.com/vignette',
},
{
label: 'Discord',
Expand All @@ -86,6 +91,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
{
title: 'More',
items: [
{
label: 'vignetteapp.org',
href: 'https://vignetteapp.org',
},
{
label: 'GitHub',
href: 'https://github.com/vignetteapp/vignette',
Expand Down
64 changes: 0 additions & 64 deletions src/components/HomepageFeatures.js

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/HomepageFeatures.module.css

This file was deleted.

23 changes: 0 additions & 23 deletions src/pages/index.module.cssa

This file was deleted.

7 changes: 0 additions & 7 deletions src/pages/markdown-page.mda

This file was deleted.

18 changes: 0 additions & 18 deletions static/index.html

This file was deleted.