1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Add make pdf

This commit is contained in:
Jakub Roztocil
2018-11-14 13:06:10 +01:00
parent d5032ca859
commit d1407baf76
2 changed files with 18 additions and 0 deletions

View File

@@ -124,6 +124,21 @@ uninstall-all: uninstall-httpie
- pip uninstall --yes -r $(REQUIREMENTS)
###############################################################################
# Docs
###############################################################################
pdf:
# NOTE: rst2pdf needs to be installed manually and against a Python 2
@echo "Converting README.rst to PDF…"
rst2pdf \
--strip-elements-with-class=no-pdf \
README.rst \
-o README.pdf
@echo "Done"
@echo
###############################################################################
# Utils
###############################################################################