Skip to content

Commit dba2988

Browse files
committedApr 6, 2024
docs: Better header
1 parent 35dd40d commit dba2988

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The launcher for Flashpoint Archive (the non-profit web preservation project).
1111
[![Crowdin](https://badges.crowdin.net/flashpoint-launcher/localized.svg)](https://crowdin.com/project/flashpoint-launcher)
1212

1313
### Links
14-
* [Documentation](https://flashpointproject.github.io/launcher) - Documentation for Configuation, Launcher Development and Extension Development of the Flashpoint Launcher.
14+
* [Documentation](https://flashpointproject.github.io/launcher) - Documentation for Configuation, Development and Extensions information of the Flashpoint Launcher.
1515
* [Flashpoint Archive](https://flashpointarchive.org) - Download Flashpoint here (the launcher is bundled with it)
1616
* [Donate](https://opencollective.com/flashpointarchive) - Funds go towards the Flashpoint Archive non-profit to sustain archival efforts, not to fund developers of the launcher.
1717

‎website/docusaurus.config.ts

+26-5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const config: Config = {
4242
],
4343

4444
themeConfig: {
45+
colorMode: {
46+
defaultMode: 'dark'
47+
},
4548
// Replace with your project's social card
4649
image: 'img/meta.png',
4750
navbar: {
@@ -52,10 +55,28 @@ const config: Config = {
5255
},
5356
items: [
5457
{
55-
type: 'docSidebar',
56-
sidebarId: 'docs',
58+
type: 'doc',
59+
docId: 'introduction',
60+
position: 'left',
61+
label: 'Getting Started',
62+
},
63+
{
64+
type: 'doc',
65+
docId: 'configuration/introduction',
66+
position: 'left',
67+
label: 'Configuration',
68+
},
69+
{
70+
type: 'doc',
71+
docId: 'development/introduction',
72+
position: 'left',
73+
label: 'Development',
74+
},
75+
{
76+
type: 'doc',
77+
docId: 'extensions/overview',
5778
position: 'left',
58-
label: 'Usage Guide',
79+
label: 'Extensions',
5980
},
6081
{
6182
href: 'https://github.com/FlashpointProject/launcher',
@@ -78,10 +99,10 @@ const config: Config = {
7899
label: 'Configuration',
79100
to: '/docs/configuration/introduction'
80101
}, {
81-
label: 'Launcher Development',
102+
label: 'Development',
82103
to: '/docs/development/introduction'
83104
}, {
84-
label: 'Extension Development',
105+
label: 'Extensions',
85106
to: '/docs/extensions/overview'
86107
}
87108
],

‎website/src/pages/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ function HomepageHeader() {
3232
<Link
3333
className="button button--secondary button--lg"
3434
to="/docs/development/introduction">
35-
Launcher Development
35+
Development
3636
</Link>
3737
<br></br><br></br>
3838
<Link
3939
className="button button--secondary button--lg"
4040
to="/docs/extensions/overview">
41-
Extension Development
41+
Extensions
4242
</Link>
4343
</div>
4444
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.