mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
fix(docs): update documentation for clarity and structure
- Revised the `getting-started.md` and `documentation-layout.md` files to improve clarity and organization of content. - Enhanced descriptions and added tables for better readability in the `getting-started.md` file. - Updated the `greg-hooks-registry.md` to reflect changes in the hook mapping and clarify the role of `greg_hooks.json`. - Adjusted the `fmf-hook-naming.md` and `fmf-hooks-catalog.md` to emphasize the transition from legacy naming conventions to the new `greg.*` format. This commit aims to improve the overall clarity and usability of the documentation, ensuring users have a better understanding of the framework and its components.
This commit is contained in:
@@ -77,8 +77,12 @@ const config = {
|
||||
return [`/wiki/mods/extensions/${slug}`, `/wiki/mods/mods/${slug}`];
|
||||
}
|
||||
|
||||
if (existingPath.startsWith('/wiki/')) {
|
||||
const legacyPath = existingPath.replace('/wiki', '');
|
||||
if (existingPath.startsWith('/wiki')) {
|
||||
const legacyPath = existingPath.slice('/wiki'.length) || '/';
|
||||
// Never map site root (/) onto /wiki — that would override the homepage.
|
||||
if (legacyPath === '/' || legacyPath === '') {
|
||||
return undefined;
|
||||
}
|
||||
// Avoid shadowing static pages and explicit redirects in `redirects` below
|
||||
if (
|
||||
legacyPath === '/mods' ||
|
||||
|
||||
Reference in New Issue
Block a user