fix last commit, remove spmenu logo from docs

This commit is contained in:
speedie 2023-06-07 01:28:21 +02:00
parent 1ac9211b02
commit 975d3564ed
3 changed files with 4 additions and 8 deletions

View file

@ -169,14 +169,10 @@
<h1 class="title">spmenu README</h1> <h1 class="title">spmenu README</h1>
</header> </header>
<figure> <figure>
<img src="docs/spmenu.svg" title="spmenu" alt="spmenu logo" />
<figcaption aria-hidden="true">spmenu logo</figcaption>
</figure>
<h1 id="spmenu">spmenu</h1>
<figure>
<img src="docs/spmenu-themes.gif" alt="preview" /> <img src="docs/spmenu-themes.gif" alt="preview" />
<figcaption aria-hidden="true">preview</figcaption> <figcaption aria-hidden="true">preview</figcaption>
</figure> </figure>
<h1 id="spmenu">spmenu</h1>
<p>spmenu is a simple X11 and Wayland menu application which takes <p>spmenu is a simple X11 and Wayland menu application which takes
standard input, parses it, lets the user choose an option and sends the standard input, parses it, lets the user choose an option and sends the
selected option to standard output.</p> selected option to standard output.</p>

View file

@ -1,10 +1,8 @@
![spmenu logo](docs/spmenu.svg "spmenu") ![preview](docs/spmenu-themes.gif)
spmenu spmenu
====== ======
![preview](docs/spmenu-themes.gif)
spmenu is a simple X11 and Wayland menu application which takes standard input, parses 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. it, lets the user choose an option and sends the selected option to standard output.

View file

@ -6,11 +6,13 @@
[ ! -f spmenu.c ] && printf "You're probably in the wrong directory.\n" && exit 1 [ ! -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")" version="$(grep "version : '" meson.build | awk '{ print $3 }' | sed "s/'\"//g; s/\"',//g")"
printf "%% spmenu(1) ${version} | fancy dynamic menu\n" > .man.md 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 --to man .man.md -o spmenu.1
pandoc --standalone .man.md -o spmenu.html --metadata title="spmenu man page" pandoc --standalone .man.md -o spmenu.html --metadata title="spmenu man page"
rm -f .man.md rm -f .man.md
printf "%% spmenu_run(1) ${version} | \$PATH/.desktop launcher and file manager\n" > .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 pandoc --standalone --to man .man.md -o spmenu_run.1
rm -f .man.md rm -f .man.md