Skip to content

docs: refactor 'Sections' to 'Section' in sections.yaml#1653

Open
zetareticoli wants to merge 1 commit into
mainfrom
fix/section-docs
Open

docs: refactor 'Sections' to 'Section' in sections.yaml#1653
zetareticoli wants to merge 1 commit into
mainfrom
fix/section-docs

Conversation

@zetareticoli

Copy link
Copy Markdown
Member

Updated terminology from 'Sections' to 'Section' for consistency.

Updated terminology from 'Sections' to 'Section' for consistency.
@github-actions

github-actions Bot commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

⚡ Lighthouse report for the home page 🏠

⚠️ Note: Performance scores are from development build and may not reflect production performance. Use PageSpeed Insights for accurate performance metrics.

Category Score
🟠 Performance 65
🟢 Accessibility 100
🟢 Best practices 100
🟢 SEO 100

See the full report...

Other pages

@Fupete

Fupete commented Nov 7, 2025

Copy link
Copy Markdown
Collaborator

@zetareticoli ottimo, va aggiornato il nome anche nel file dsnav.yaml https://github.com/italia/designers.italia.it/edit/fix/section-docs/src/data/dsnav.yaml

Proporrei anche di:

  • rinominare il file in section.yaml
    • correggere di conseguenza il campo pathname in questo file e poi l'url in dsnav.yaml
      • In questo caso aggiungere poi il redirect in modo che il vecchio url "/sections/" rimandi a questo. Basta aggiungere ai campi metadata di questo yaml una volta rinominato:
        redirect_from:
          - /design-system/componenti/sections/
      

⚠️ Se cambiamo nome file (e quindi url) c'è solo da fare mente locale se va cambiato anche altrove:

  • Sicuramente nella board Component Census.
  • Da capire se anche in qualche automatismo delle API di Bootstrap italia.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants