diff --git a/README.html b/README.html index 4911440..787d618 100644 --- a/README.html +++ b/README.html @@ -169,14 +169,10 @@

spmenu README

-spmenu logo - -
-

spmenu

-
preview
+

spmenu

spmenu is a simple X11 and Wayland menu application which takes standard input, parses it, lets the user choose an option and sends the selected option to standard output.

diff --git a/README.md b/README.md index dadd06e..3d2ef04 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ -![spmenu logo](docs/spmenu.svg "spmenu") +![preview](docs/spmenu-themes.gif) spmenu ====== -![preview](docs/spmenu-themes.gif) - spmenu is a simple X11 and Wayland menu application which takes standard input, parses it, lets the user choose an option and sends the selected option to standard output. diff --git a/scripts/make/generate-docs.sh b/scripts/make/generate-docs.sh index 6ce91bf..b24b589 100755 --- a/scripts/make/generate-docs.sh +++ b/scripts/make/generate-docs.sh @@ -6,11 +6,13 @@ [ ! -f spmenu.c ] && printf "You're probably in the wrong directory.\n" && exit 1 version="$(grep "version : '" meson.build | awk '{ print $3 }' | sed "s/'\"//g; s/\"',//g")" printf "%% spmenu(1) ${version} | fancy dynamic menu\n" > .man.md +cat docs/docs.md >> .man.md pandoc --standalone --to man .man.md -o spmenu.1 pandoc --standalone .man.md -o spmenu.html --metadata title="spmenu man page" rm -f .man.md printf "%% spmenu_run(1) ${version} | \$PATH/.desktop launcher and file manager\n" > .man.md +cat docs/run-docs.md >> .man.md pandoc --standalone --to man .man.md -o spmenu_run.1 rm -f .man.md