Skip to content
master
Switch branches/tags
mypy/docs/
mypy/docs/

Latest commit

The mypy logo wasn't loading on https://mypy.readthedocs.io/ because
it's referenced via an http:// (not https) URL. The logo's URL is
http://mypy-lang.org/static/mypy_light.svg; that server is not
accessible via https, so I've moved mypy_light.svg into docs/source and
referenced it from there.

The project README also referenced the logo via the same URL, so for
consistency, the README now points at the same logo file in docs/source.
(Although the README's logo did load because GitHub proxies external
resources referenced in markdown files).
9611e2d

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Mypy Documentation

What's this?

This directory contains the source code for Mypy documentation (under source/) and build scripts. The documentation uses Sphinx and reStructuredText. We use sphinx-rtd-theme as the documentation theme.

Building the documentation

Install Sphinx and other dependencies (i.e. theme) needed for the documentation. From the docs directory, use pip:

$ pip install -r requirements-docs.txt

Build the documentation like this:

$ make html

The built documentation will be placed in the docs/build directory. Open docs/build/index.html to view the documentation.

Helpful documentation build commands

Clean the documentation build:

$ make clean

Test and check the links found in the documentation:

$ make linkcheck

Documentation on Read The Docs

The mypy documentation is hosted on Read The Docs, and the latest version can be found at https://mypy.readthedocs.io/en/latest.