Giter VIP home page Giter VIP logo

lpn-doc-sphinx-primer's Introduction

Documentation Status Build Status

Li-Pro.Net Sphinx Primer

This is about how to write Li-Pro.Net documentation with Sphinx.

Howto build the documentation

The documentation is written using Sphinx documentation system. To install it in a Python 3.x virtual environment, please do:

Python 3.8 virtual environment:

$: python3.8 -m venv --copies --promp="$(basename $(pwd))[$(python3.8 --version)]" .py38env
$: source .py38env/bin/activate
$: pip install --upgrade pip
$: pip install --upgrade setuptools
$: pip install --upgrade --requirement tools/requirements.txt

Get help:

$: make help

Documentation tests:

$: make doctest
$: make coverage
$: make linkcheck
$: make spelling

Documentation builds:

$: make html
$: make latexpdf

Clean-up:

$: make clean
$: deactivate
$: rm -rf .py38env

System packages on Ubuntu (>= 16.04):

$: sudo apt-get install build-essential python3.8-dev
$: sudo apt-get install curl tar bzip2 woff2 eot-utils
$: sudo apt-get install fontconfig fontforge-nox
$: sudo apt-get install libfreetype6-dev librsvg2-bin icoutils
$: sudo apt-get install poppler-utils imagemagick pdf2svg
$: sudo apt-get install latexmk xindy unifont fonts-dejavu
$: sudo apt-get install fonts-wqy-microhei fonts-font-awesome
$: sudo apt-get install texlive-xetex texlive-pictures texlive-science
$: sudo apt-get install texlive-fonts-recommended texlive-fonts-extra
$: sudo apt-get install texlive-lang-european texlive-lang-english
$: sudo apt-get install enchant aspell aspell-en aspell-de
$: sudo apt-get install wamerican-huge wngerman wgerman-medical

Sphinx bootstrap

For the purpose of later comprehension, the steps for setting up this document with the help of sphinx-quickstart were recorded here:

$: sphinx-quickstart					\
       --sep --dot _                                    \
       --project "Li-Pro.Net Sphinx Primer"             \
       --author  "The LP/N Documentation Team"          \
       -v 0.0 --release 0.0.1                           \
       --language "en"                                  \
       --suffix ".rst"                                  \
       --master "index"                                 \
       --extensions "sphinx.ext.autosectionlabel"       \
       --ext-doctest                                    \
       --ext-coverage                                   \
       --ext-todo                                       \
       --ext-ifconfig                                   \
       --ext-intersphinx                                \
       --extensions "sphinx.ext.extlinks"               \
       --ext-mathjax                                    \
       --makefile                                       \
       --batchfile                                      \
       .

lpn-doc-sphinx-primer's People

Contributors

rexut avatar

Stargazers

Alexander Mann-Wahrenberg avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.