python / python/typing

Document Structure and Wishlist

Open
#845 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic: documentation
Dominant language
Python
Stars
1.8k
Forks
302
Avg merge
23h
Merged PRs (30d)
8

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the proposed Tutorials, /guides, /reference, /spec, and top-level Links sections, along with linked issues #891, #905, and #851. Determine which documentation work remains and split the broad wishlist into specific, actionable tasks; completion is not defined for the current issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.