Skip to content

Commit

Permalink
try to build PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
chabErch committed Mar 7, 2022
1 parent 1dc3f23 commit 8305247
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2

build:
os: ubuntu-20.04
tools:
python: "3.9"
apt_packages:
- python3-cffi
- python3-brotli
- libpango-1.0-0
- libharfbuzz0b
- libpangoft2-1.0-0

mkdocs:
configuration: mkdocs.ym
fail_on_warning: false

python:
install:
- requirements: docs/requirements.txt
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js

plugins:
- with-pdf:
#author: chabErch
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
mkdocs-material
weasyprint
mkdocs-with-pdf

0 comments on commit 8305247

Please sign in to comment.