Repository navigation
Renommage des _dir.yml en .navigation.yml pour Nuxt Content v3 - #395
Open
DraftProducts wants to merge 2 commits into
Open
DraftProducts wants to merge 2 commits into
DraftProducts wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nuxt Content v3 ne reconnaît plus
_dir.ymlcomme configuration de dossier, seulement.navigation.yml. Cette PR prépare le passage du site (DraftBot/DraftBot.fr#631).Changements
_dir.yml(fr et en) deviennent.navigation.yml. Leurslugsuit le nom du fichier :/engagement/_dirdevient/engagement/.navigation, ce queslugFromPathproduit déjà.scripts/lib/pages.mjset ses tests : la vérification des slugs (chaque page commence par le slug de son dossier, sans le suffixe) lit.navigation.yml.traduiremis à jour,sourceHashde la page anglaise rafraîchi (elle était à jour avant).À savoir avant de fusionner
pnpm build:doc) : la version actuelle du site lit encore_dir.ymlet perdrait les titres de catégories à sa prochaine reconstruction.mainaprès coup pour que l'éditeur retrouve leurs dossiers.Vérifications
node --test 'scripts/lib/*.test.mjs': 57/57check-translationsetcheck-links: sans nouvelle erreur