[documentation] Update the examples section
This commit is contained in:
parent
14c503103f
commit
3695719f42
1 changed files with 20 additions and 20 deletions
|
@ -274,25 +274,25 @@ Examples
|
||||||
* fetch and extract the Python 3.7 documentation HTML archive: ::
|
* fetch and extract the Python 3.7 documentation HTML archive: ::
|
||||||
|
|
||||||
curl -s -S -f \
|
curl -s -S -f \
|
||||||
-o ./python-3.7.1-docs-html.tar.bz2 \
|
-o ./python-3.7.3-docs-html.tar.bz2 \
|
||||||
https://docs.python.org/3/archives/python-3.7.1-docs-html.tar.bz2 \
|
https://docs.python.org/3/archives/python-3.7.3-docs-html.tar.bz2 \
|
||||||
#
|
#
|
||||||
|
|
||||||
tar -x -j -v -f ./python-3.7.1-docs-html.tar.bz2
|
tar -x -j -v -f ./python-3.7.3-docs-html.tar.bz2
|
||||||
|
|
||||||
* create the CDB archive (without any compression): ::
|
* create the CDB archive (without any compression): ::
|
||||||
|
|
||||||
kawipiko-archiver \
|
kawipiko-archiver \
|
||||||
--archive ./python-3.7.1-docs-html.cdb \
|
--archive ./python-3.7.3-docs-html-nozip.cdb \
|
||||||
--sources ./python-3.7.1-docs-html \
|
--sources ./python-3.7.3-docs-html \
|
||||||
--debug \
|
--debug \
|
||||||
#
|
#
|
||||||
|
|
||||||
* create the CDB archive (with ``gzip`` compression): ::
|
* create the CDB archive (with ``gzip`` compression): ::
|
||||||
|
|
||||||
kawipiko-archiver \
|
kawipiko-archiver \
|
||||||
--archive ./python-3.7.1-docs-html-gzip.cdb \
|
--archive ./python-3.7.3-docs-html-gzip.cdb \
|
||||||
--sources ./python-3.7.1-docs-html \
|
--sources ./python-3.7.3-docs-html \
|
||||||
--compress gzip \
|
--compress gzip \
|
||||||
--debug \
|
--debug \
|
||||||
#
|
#
|
||||||
|
@ -300,8 +300,8 @@ Examples
|
||||||
* create the CDB archive (with ``brotli`` compression): ::
|
* create the CDB archive (with ``brotli`` compression): ::
|
||||||
|
|
||||||
kawipiko-archiver \
|
kawipiko-archiver \
|
||||||
--archive ./python-3.7.1-docs-html-brotli.cdb \
|
--archive ./python-3.7.3-docs-html-brotli.cdb \
|
||||||
--sources ./python-3.7.1-docs-html \
|
--sources ./python-3.7.3-docs-html \
|
||||||
--compress brotli \
|
--compress brotli \
|
||||||
--debug \
|
--debug \
|
||||||
#
|
#
|
||||||
|
@ -310,7 +310,7 @@ Examples
|
||||||
|
|
||||||
kawipiko-server \
|
kawipiko-server \
|
||||||
--bind 127.0.0.1:8080 \
|
--bind 127.0.0.1:8080 \
|
||||||
--archive ./python-3.7.1-docs-html-gzip.cdb \
|
--archive ./python-3.7.3-docs-html-gzip.cdb \
|
||||||
--archive-mmap \
|
--archive-mmap \
|
||||||
--archive-preload \
|
--archive-preload \
|
||||||
--debug \
|
--debug \
|
||||||
|
@ -320,20 +320,20 @@ Examples
|
||||||
|
|
||||||
du -h -s \
|
du -h -s \
|
||||||
\
|
\
|
||||||
./python-3.7.1-docs-html.cdb \
|
./python-3.7.3-docs-html-nozip.cdb \
|
||||||
./python-3.7.1-docs-html-gzip.cdb \
|
./python-3.7.3-docs-html-gzip.cdb \
|
||||||
./python-3.7.1-docs-html-brotli.cdb \
|
./python-3.7.3-docs-html-brotli.cdb \
|
||||||
\
|
\
|
||||||
./python-3.7.1-docs-html \
|
./python-3.7.3-docs-html \
|
||||||
./python-3.7.1-docs-html.tar.bz2 \
|
./python-3.7.3-docs-html.tar.bz2 \
|
||||||
#
|
#
|
||||||
|
|
||||||
45M ./python-3.7.1-docs-html.cdb
|
45M ./python-3.7.3-docs-html-nozip.cdb
|
||||||
9.9M ./python-3.7.1-docs-html-gzip.cdb
|
9.7M ./python-3.7.3-docs-html-gzip.cdb
|
||||||
8.0M ./python-3.7.1-docs-html-brotli.cdb
|
7.9M ./python-3.7.3-docs-html-brotli.cdb
|
||||||
|
|
||||||
46M ./python-3.7.1-docs-html
|
46M ./python-3.7.3-docs-html
|
||||||
6.0M ./python-3.7.1-docs-html.tar.bz2
|
6.0M ./python-3.7.3-docs-html.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue