mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
add docs build path for ci to check pdf and epub
This commit is contained in:
@ -84,10 +84,20 @@ windows-wheel-steps:
|
||||
paths:
|
||||
- .tox
|
||||
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
|
||||
|
||||
docs: &docs
|
||||
docker:
|
||||
- image: common
|
||||
steps:
|
||||
- run:
|
||||
name: install latexpdf dependencies
|
||||
command: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install latexmk tex-gyre texlive-fonts-extra
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
<<: *common
|
||||
<<: *docs
|
||||
docker:
|
||||
- image: cimg/python:3.8
|
||||
environment:
|
||||
|
||||
10
Makefile
10
Makefile
@ -38,12 +38,18 @@ build-docs:
|
||||
$(MAKE) -C docs clean
|
||||
$(MAKE) -C docs html
|
||||
$(MAKE) -C docs doctest
|
||||
|
||||
build-docs-ci:
|
||||
$(MAKE) -C docs latexpdf
|
||||
$(MAKE) -C docs epub
|
||||
|
||||
validate-docs:
|
||||
validate-newsfragments:
|
||||
python ./newsfragments/validate_files.py
|
||||
towncrier build --draft --version preview
|
||||
|
||||
check-docs: build-docs validate-docs
|
||||
check-docs: build-docs validate-newsfragments
|
||||
|
||||
check-docs-ci: build-docs build-docs-ci validate-newsfragments
|
||||
|
||||
docs: check-docs
|
||||
open docs/_build/html/index.html
|
||||
|
||||
Reference in New Issue
Block a user