Skip to content

Sphinx is a documentation generator or a tool that translates a set of plain text source files into various output formats, automatically producing cross-references, indices, etc. That is, if you have a directory containing a bunch of reStructuredText or Markdown documents, Sphinx can generate a series of HTML files, a PDF file (via LaTeX), man …

Notifications You must be signed in to change notification settings

nicksonthc/py-sphinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTRO

  1. Apply canonical approach to isolate project in src dir and docs dir

SETUP

  1. pip install virtualenv
  2. virtualenv venv

    window

  3. source venv/Scripts/activate

    linux / mac

  4. source venv/bin/activate
  5. pip install -r requirements.txt

Usage

build .html

  1. sphinx-build -b html ~/py-sphinx/docs/source docs/builddir

build .srt

  1. sphinx-apidoc -o docs/source ~/py-sphinx/src

Scripts for 1. and 2.

  1. ./build.sh

Reference

  1. https://www.sphinx-doc.org/en/master/index.html

Output Rendered doc

About

Sphinx is a documentation generator or a tool that translates a set of plain text source files into various output formats, automatically producing cross-references, indices, etc. That is, if you have a directory containing a bunch of reStructuredText or Markdown documents, Sphinx can generate a series of HTML files, a PDF file (via LaTeX), man …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published