docs: update docusaurus configuration and documentation structure

- Revised the tagline in `docusaurus.config.js` for improved clarity on the documentation's focus.
- Removed German localization support from the configuration to streamline the user experience.
- Updated navigation items in the sidebar to better reflect the current structure, emphasizing player and developer resources.
- Enhanced the README and various documentation files to clarify the repository layout and improve accessibility for users.
- Adjusted links and descriptions throughout the documentation to ensure consistency and accuracy.

This commit aims to enhance the overall clarity and usability of the documentation.
This commit is contained in:
Marvin
2026-04-10 02:26:32 +02:00
parent 8d8fda49c4
commit 331847013d
50 changed files with 634 additions and 1070 deletions

View File

@@ -1,25 +1,8 @@
import { de } from './de';
import { en } from './en';
import type { HomepageContent, LocaleKey } from './types';
import {en} from './en';
import type {HomepageContent} from './types';
const homepageByLocale: Record<LocaleKey, HomepageContent> = {
en,
de,
};
export type {HomepageContent, LocaleKey} from './types';
export type { HomepageContent, LocaleKey } from './types';
export function getHomepageContent(locale: string): HomepageContent {
const normalizedLocale = (locale || 'en').toLowerCase();
const languageOnly = normalizedLocale.split('-')[0] as LocaleKey;
if (normalizedLocale in homepageByLocale) {
return homepageByLocale[normalizedLocale as LocaleKey];
}
if (languageOnly in homepageByLocale) {
return homepageByLocale[languageOnly];
}
return homepageByLocale.en;
export function getHomepageContent(_locale: string): HomepageContent {
return en;
}