python / python/typing

Document Structure and Wishlist

Aperta
#845 1 commento 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

topic: documentation
Lingua principale
Python
Stelle
1.8k
Fork
302
Merge medio
23h
PR unite (30g)
8

Descrizione

Here is how I envision the typing documentation to be structured:

Tutorials

User-facing basic and advanced introductions to the type system or particular aspects of it. Non-comprehensive.

  • Typing tutorial – from the ground up (#891)
  • Type stub tutorial – writing a type stub for an existing library, stubgen, contributing to typeshed

Howto Guides

Directory: /guides

User-facing guides to accomplish particular tasks.

  • How to add typing to an existing code base
  • How to annotate a library (#905)

Reference

Directory: /reference

User-facing, comprehensive reference of the type system.

  • Link to the typing module documentation
    • Probably needs a review
  • #851
  • Type stub syntax and supported constructs
  • Type stub style guide

Type System Specification

Directory: /spec

Territory of the Typing Council. Targeted at type checker developers. Here be dragons. 🐉

Links

Top level.

  • Links to all typing-related PEPs
  • Links to type checkers and other typing tools

Additions, corrections, criticism welcome!


2014-09-02: Updated to reflect the addition of the type system spec. Also, added explanations to the categories.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Direzione di ricerca

Esamina le sezioni proposte Tutorials, /guides, /reference, /spec e Links di primo livello, insieme alle issue collegate #891, #905 e #851. Determina quale lavoro di documentazione rimane e suddividi l’ampia lista dei desideri in attività specifiche e attuabili; per l’issue corrente non è stato definito il completamento.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.