Skip to content

Commit

Permalink
feat: rewrite and complete the migration guide from custom arch (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
illright authored Sep 28, 2024
1 parent faa602a commit b68ece7
Show file tree
Hide file tree
Showing 14 changed files with 1,458 additions and 831 deletions.
18 changes: 15 additions & 3 deletions config/docusaurus/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const SECTIONS = {
},
MIGRATION: {
shortPath: "/docs/guides/migration",
fullPath: "/docs/guides/migration/from-legacy",
fullPath: "/docs/guides/migration/from-custom",
},
};

Expand Down Expand Up @@ -249,7 +249,7 @@ const LEGACY_ROUTES = [
{
title: "Migration from Legacy",
from: "/docs/guides/migration-from-legacy",
to: "/docs/guides/migration/from-legacy",
to: "/docs/guides/migration/from-custom",
},
],
},
Expand All @@ -264,6 +264,18 @@ const LEGACY_ROUTES = [
},
],
},
{
group: "Rename 'legacy' to 'custom'",
details:
"'Legacy' is derogatory, we don't get to call people's projects legacy",
children: [
{
title: "Rename 'legacy' to custom",
from: "/docs/guides/migration/from-legacy",
to: "/docs/guides/migration/from-custom",
},
],
},
];

// @returns { from, to }[]
Expand Down Expand Up @@ -314,7 +326,7 @@ const _TOTAL_ROUTES = [
"/docs/guides/examples/theme",
"/docs/guides/examples/types",
"/docs/guides/examples/white-labels",
"/docs/guides/migration/from-legacy",
"/docs/guides/migration/from-custom",
"/docs/guides/migration/from-v1",
"/docs/guides/tech/with-nextjs",
"/docs/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ It's advised to refrain from adding new large entities while refactoring or refa

[tutorial]: /docs/get-started/tutorial
[examples]: /examples
[migration]: /docs/guides/migration/from-legacy
[migration]: /docs/guides/migration/from-custom
[ext-steiger]: https://github.com/feature-sliced/steiger
[ext-tools]: https://github.com/feature-sliced/awesome?tab=readme-ov-file#tools
[ext-telegram]: https://t.me/feature_sliced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import { ToolOutlined, ImportOutlined, BugOutlined, FunctionOutlined } from "@an
/>
<NavCard
title="Migration"
description="Migration guides for legacy projects"
description="Migration guides from other architectures"
to="/docs/guides/migration/from-v1"
Icon={ImportOutlined}
tags={['From legacy', 'From FSv1']}
tags={['From custom architecture', 'From FSv1']}
/>
<NavCard
title="Tech"
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ FSD로 마이그레이션하고자 하는 기존 코드베이스가 있다면,

[tutorial]: /docs/get-started/tutorial
[examples]: /examples
[migration]: /docs/guides/migration/from-legacy
[migration]: /docs/guides/migration/from-custom
[ext-steiger]: https://github.com/feature-sliced/steiger
[ext-tools]: https://github.com/feature-sliced/awesome?tab=readme-ov-file#tools
[ext-telegram]: https://t.me/feature_sliced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ _\* — эти слои, App и Shared, в отличие от других сл

[tutorial]: /docs/get-started/tutorial
[examples]: /examples
[migration]: /docs/guides/migration/from-legacy
[migration]: /docs/guides/migration/from-custom
[ext-steiger]: https://github.com/feature-sliced/steiger
[ext-tools]: https://github.com/feature-sliced/awesome?tab=readme-ov-file#tools
[ext-telegram]: https://t.me/feature_sliced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import { ToolOutlined, ImportOutlined, BugOutlined, FunctionOutlined } from "@an
/>
<NavCard
title="Миграция"
description="Гайды по миграции с легаси проектов"
description="Гайды по миграции с других архитектур"
to="/docs/guides/migration/from-v1"
Icon={ImportOutlined}
tags={['Легаси', 'FSv1']}
tags={['Кастомная архитектура', 'FSv1']}
/>
<NavCard
title="Технологии"
Expand Down
Loading

0 comments on commit b68ece7

Please sign in to comment.