sib-sphinx/delfi
dancingCycle 73ec59e7a6 feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
..
source feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
.gitignore feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
Makefile feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
make.bat feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
readme.md feat(delfi): initial commit 2023-05-17 12:05:57 +02:00
requirements.txt feat(delfi): initial commit 2023-05-17 12:05:57 +02:00

readme.md

Introduction

  • setup the project
sphinx-quickstart
  • install Sphinx
https://www.sphinx-doc.org/en/master/usage/installation.html
  • get started with Sphinx
https://www.sphinx-doc.org/en/master/usage/quickstart.html#

Build Documentation

Python Dependencies

In order to generate the documentation, first create a Python virtual environment using the venv module included in Python like this.

  • Create a virtual Python environment in the directory venv.
python3 -m venv venv
  • Activate the virtual Python environment.
source venv/bin/activate
pip install -r requirements.txt

Running Generator via Make

Execute make without an argument to see which targets are available

make

The top level directory contains a Makefile. Generate HTML output

make html

Generate PDF output

make latexpdf

The output files can be found in the subfolder ./build.

All generated intermediate artifacts and the final output files can be found in the ./build subfolder.

Generate all output

make bundle

Clean up

  1. Deactivate the virtual Python environment
deactivate
  1. Clean up the build sources:
make clean

File System

  • build: build directory
  • Makefile: build configuration
  • readme.md: this file
  • source: source directory

Links