mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Add make pdf
This commit is contained in:
parent
d5032ca859
commit
d1407baf76
15
Makefile
15
Makefile
@ -124,6 +124,21 @@ uninstall-all: uninstall-httpie
|
|||||||
- pip uninstall --yes -r $(REQUIREMENTS)
|
- 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
|
# Utils
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -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
|
the ``master`` branch on GitHub. It is a work-in-progress of a future stable
|
||||||
release so the experience might be not as smooth.
|
release so the experience might be not as smooth.
|
||||||
|
|
||||||
|
|
||||||
|
.. class:: no-pdf
|
||||||
|
|
||||||
|unix_build|
|
|unix_build|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user