controls | ||
docs | ||
interpreters | ||
.gitignore | ||
Licence.txt | ||
pyproject.toml | ||
README.md | ||
requirements.txt |
advanced-python-homework-2023
Student:
Materials
Controls (1st homework)
Venv creation:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Documentation
Build
cd docs
make.bat
From scratch
- run sphinx initialization:
sphinx-quickstart docs
- add project packages:
sphinx-apidoc -o docs/source .
- edit
conf.py
import sys
import os
sys.path.insert(0, os.path.abspath("../../"))
extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
]
- add
modules
afterContents:
inindex.rst
- run
make.bat