1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +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
###############################################################################

View File

@ -134,6 +134,9 @@ You can also install the latest unreleased development version directly from
the ``master`` branch on GitHub. It is a work-in-progress of a future stable
release so the experience might be not as smooth.
.. class:: no-pdf
|unix_build|