📚 Feature Request: Modernize Documentation Theme

Aperta
#386 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Inizia da conf.py, con la configurazione attuale di html_theme, e da requirements.txt o dal file delle dipendenze equivalente. Esamina le istruzioni esistenti per la build della documentazione e la configurazione CI/CD, quindi confronta Furo con le alternative elencate rispetto ai contenuti attuali e alle funzionalità richieste. Il lavoro è completato quando un tema selezionato viene compilato correttamente, le funzionalità esistenti funzionano e la documentazione sulle dipendenze e sulla build viene aggiornata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

Summary

Consider upgrading from the current sphinx_rtd_theme to a more modern and user-friendly documentation theme to improve the overall documentation experience.

Current Situation

PlatformIO documentation currently uses the sphinx_rtd_theme (Read The Docs theme) as configured in conf.py.

While this theme has served well, it's showing its age and lacks many modern UX improvements that newer themes provide.

Proposed Solution

Switch to a more modern Sphinx theme such as Furo, which offers:

Benefits of Furo Theme:
  • Modern Design: Clean, responsive design that works excellently on mobile devices
  • Better Navigation: Improved sidebar navigation with better visual hierarchy
  • Dark Mode: Built-in dark/light mode toggle
  • Better Typography: Enhanced readability with improved font choices and spacing
  • Accessibility: Better accessibility features and keyboard navigation
  • Performance: Faster loading times and better performance
  • Active Development: Actively maintained with regular updates
Visual Comparison

Implementation Details

Required Changes:
  1. Update conf.py to use Furo theme:

    # Replace current theme configuration
    html_theme = "furo"
    
  2. Install Furo dependency:

    pip install furo
    
  3. Update requirements.txt or equivalent dependency file

  4. Review and potentially update theme-specific configurations

Alternative Themes to Consider:

If Furo doesn't meet all requirements, other modern options include:

  • PyData Sphinx Theme: Used by NumPy, Pandas, and other major projects
  • Sphinx Material: Material Design inspired theme
  • Sphinx Book Theme: Modern theme used by Jupyter Book

Expected Impact

  • User Experience: Significantly improved reading experience, especially on mobile
  • Accessibility: Better compliance with accessibility standards
  • Maintenance: Easier maintenance with actively developed themes
  • Community: More attractive documentation may help with user adoption

Additional Context

Many major open-source projects have modernized their documentation themes:

  • NumPy, Pandas, Matplotlib (PyData theme)
  • FastAPI (custom modern theme)
  • Pydantic (Material theme)

The current RTD theme, while functional, gives the documentation a dated appearance that may not reflect the modern, active nature of the PlatformIO project.

Checklist

  • Evaluate theme options (Furo, PyData, others)
  • Test theme with existing content
  • Ensure all current features work with new theme
  • Update CI/CD pipeline if needed
  • Update documentation build instructions
  • Review mobile responsiveness
  • Test accessibility features

Priority: according maintainer's preferences
Effort: Low-Medium
Labels: enhancement, documentation, good first issue

Lingua principale
Python
Stelle
288
Fork
361
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di platformio/platformio-docs

Tutte le issue di platformio/platformio-docs

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.