Improve docstring templates

Aperta
#789 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Start with the templates in docs/source/_templates and compare how ScopeSim and ScopeSim_Templates use them. Check whether functions need templates, what improvements are useful, and whether a shared Sphinx extension or an existing package can provide a common location. Done means agreeing on and documenting a maintainable approach that avoids keeping separate copies across repositories.

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

Descrizione

documentation refactor

We're currently using docstring templates for classes and modules in ScopeSim and ScopeSim_Templates. These work fine as a first step, but could be improved. Specifically:

  • Check if we also need a docstring template for functions
  • See if the docstring templates can be improved in any way
  • Extract the docstring templates to a common location
    We don't need to keep copies of them in 10 different repos, only to then have to update each copy in case we ever decide to change something. Maybe they could become part of our own sphinx extension (contribution?) package. Or maybe there is already a useful package the has templates of that kind that we could use as-is...
Lingua principale
Python
Stelle
42
Fork
30
Merge medio
2g 22h
PR unite (30g)
7

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 AstarVienna/ScopeSim

Tutte le issue di AstarVienna/ScopeSim

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.