Document every Sass mixin and function with SassDoc and drop the unused ones
Each @mixin and @function now has a /// block: what it draws and when to use it, its parameters with their accepted values, and the mixin that goes with it. VS Code shows it on hover with SCSS IntelliSense. Ten mixins that nothing included are removed; the built CSS is byte-identical. tests/static-styles now requires the block, and website/AGENTS.md gives the template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
64a1ad2835
commit
db93420daf
20 changed files with 333 additions and 108 deletions
|
|
@ -139,7 +139,8 @@ Chaque fichier source ou test commence par un en-tête : un bloc JSDoc
|
|||
`/** @file … */` en JavaScript, des lignes `// Rôle : …` en Sass. Son niveau
|
||||
de détail dépend du fichier : la description seule pour un fichier simple, un
|
||||
en-tête complet (contexte, appelants, pièges, `@see`) pour un fichier central.
|
||||
Pas de `@author`, `@version` ni `@since` : Git garde déjà cet historique. Le
|
||||
Pas de `@author`, `@version` ni `@since` : Git garde déjà cet historique. Les fonctions
|
||||
partagées ont un bloc JSDoc, et les mixins et fonctions Sass un bloc SassDoc `///`. Le
|
||||
gabarit et les règles sont dans
|
||||
[website/AGENTS.md](website/AGENTS.md#en-têtes-de-fichiers).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue