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

feat: start new structure #440

Closed
wants to merge 1 commit into from
Closed

Conversation

julietafrade97
Copy link
Contributor

@julietafrade97 julietafrade97 commented Dec 20, 2024

This branch works if you move the content of /[DO NOT DELETE] New Handbook Structure to /handbook.
For test reasons, this branch just considers the folders that have “new” in the name.

What needs to be done:

  • Add a configuration file to the handbook root to define the chapter order, as Storyblok doesn’t allow folder ordering. If this approach works, apply it within each chapter to manage section order too.
  • Redirect the old links (without chapters) to the new ones. Use a hardcoded list where the old paths are keys, and the new paths are values. For this, list all the new links as keys and values but omit the second-level directory from the keys.
  • Remove the numbers from chapter names and slugs, as they’re no longer needed with the configuration file.
  • Delete the “new” keyword from chapter names, slugs, and all filters in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant