Skip to content

s311354/Sphinx-Python-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx Python Practice

Documentation Status

Introduction

This repository would be useful as a reference for documentation with Python 3 and Sphinx. There is also a short blog post on this on my website.

It is strongly recommended to watch Brandon Rhodes's Sphinx tutorial session at PyCon 2013 and leimao's blog post.

Files

.
├── Makefile
├── README.md
├── build
├── doc
│   ├── Makefile
│   ├── README.md
│   ├── __init__.py
│   ├── build
│   ├── make.bat
│   └── source
│       ├── _static
│       ├── _templates
│       ├── api.rst
│       ├── conf.py
│       ├── guide.rst
│       └── index.rst
├── leetcode
│   ├── __init__.py
│   ├── impl
│   │   └── solution.py
│   └── mocktest.py
├── make.bat
├── requirements.txt
└── source
    ├── _static
    ├── _templates
    ├── conf.py
    └── index.rst

Installation

The leetcode folder used for the tutorial has no dependency. But for completeness, we added setuptools and sphinx to our requirements.txt.

To install the dependencies, please run the following command in the terminal.

$ pip install -r requirements.txt

To install the leetcode, which we would not probably do, please run the following command in the terminal.

$ pip install .

Build Documentations

Please check the README in docs for details.

Tips to Improve Skills

When being stuck, there are a few things you can do to give yourself hints: 1. Look at the tag for the problem and see what kind of algorithm or data structure is needed for solving 2. Look at the hints provided by Leetcode 3. Quickly look at the discussion title to see what the expected complexity is or the algorithm. 4. Estimate the Time Complexity of the problem based on the input constraints.

References

About

Using Sphinx to Document Python project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages