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:
27
.readthedocs.yml
Normal file
27
.readthedocs.yml
Normal 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
|
Reference in New Issue
Block a user