hedzr / sphinx-study

a notebook for studying sphinx documenter

Home Page:https://hz-sphinx-study.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sphinx study

Latest Documentation Status Stable Documentation Status

a notebook for studying sphinx documenter.

This repo is a expeiremental notebook for studying how to use sphinx to build a online docsite.

status admin

Build

The following command will install the packages according to the configuration file requirements.txt.

install

pip install -r requirements.txt

freeze

pip freeze > requirements.txt

list

pip list

How to Create Python Requirements File After Development

While it is possible to create it manually, it is a good practice to use the pipreqs module. It is used to scan your imports and build a Python requirements file for you.

According to THE DOCUMENTATION, once installed with the following command:

pip install pipreqs

running pipreqs in the command line generates a requirements.txt file automatically:

$ pipreqs /home/project/location
Successfully saved requirements file in   /home/project/location/requirements.txt

About

a notebook for studying sphinx documenter

https://hz-sphinx-study.readthedocs.io/


Languages

Language:JavaScript 80.8%Language:Jupyter Notebook 18.2%Language:Python 0.8%Language:Makefile 0.1%Language:HTML 0.0%Language:CSS 0.0%Language:Batchfile 0.0%