1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

update read the docs config (#520)

* update read the docs config

* add hints on black code style

* add link to black

* fix path to requirements

* include submodules in build

* add submodule capabilities-data

* format as list

* post on execution on RTD

* use sphinx rtd theme 1.2.0

* add apt dependencies
This commit is contained in:
Patrick Kanzler
2023-05-18 16:33:20 +02:00
committed by GitHub
parent 66348ccc0a
commit 905e37e52e
5 changed files with 35 additions and 17 deletions

27
.readthedocs.yml Normal file
View File

@@ -0,0 +1,27 @@
version: 2
formats:
- pdf
- epub
build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- graphviz
- libenchant-2-2
- gcc
- libcups2-dev
- python3-dev
sphinx:
configuration: doc/conf.py
submodules:
include:
- capabilities-data
recursive: true
python:
install:
- requirements: doc/requirements.txt
- method: pip
path: .
system_packages: true