fixup! fixup! fixup! Recursively scan directories for ZIM files

This commit is contained in:
Nikhil Tanwar
2025-11-30 14:36:54 +05:30
committed by Kelson
parent 5a3ec80771
commit 76a2564d70
3 changed files with 17 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ be provided as a semicolon (``;``) separated list.
``ZIM_FILE_PATH``: ZIM file path (multiple arguments are allowed).
``DIRECTORY_PATH``: Directory path containing ZIM files (multiple arguments are allowed).
Options
-------

View File

@@ -8,6 +8,10 @@ kiwix-serve \- Kiwix HTTP Server
.B kiwix-serve --library [OPTIONS] LIBRARY_FILE_PATH
.br
.B kiwix-serve [OPTIONS] ZIM_FILE_PATH ...
.br
.B kiwix-serve [OPTIONS] DIRECTORY_PATH ...
.br
.B kiwix-serve [OPTIONS] ZIM_FILE_PATH DIRECTORY_PATH ...
.SH DESCRIPTION
The \fBkiwix-serve\fR command is used to run a stand-alone HTTP server for serving ZIM contents over the network.
@@ -21,6 +25,10 @@ Path of an XML library file listing ZIM files to serve. To be used only with the
\fBZIM_FILE_PATH ...\fR
ZIM file path(s). Multiple arguments are allowed.
.TP
\fBDIRECTORY_PATH ...\fR
Path(s) of directories containing ZIM files. Multiple arguments are allowed.
.SH OPTIONS
.TP
\fB--library\fR
@@ -123,6 +131,11 @@ Serve multiple ZIM files:
.B kiwix-serve zim1.zim zim2.zim zim3.zim
.fi
Serve ZIM files within a directory or directories:
.sp
.nf
.B kiwix-serve zimDir1 zimDir2
Serve ZIM files from a library:
.sp
.nf

View File

@@ -52,6 +52,8 @@ R"(Deliver ZIM file(s) articles via HTTP
Usage:
kiwix-serve [options] ZIMPATH ...
kiwix-serve [options] DIRECTORYPATH ...
kiwix-serve [options] ZIMPATH DIRECTORYPATH ...
kiwix-serve [options] (-l | --library) LIBRARYPATH
kiwix-serve -h | --help
kiwix-serve -V | --version