diff --git a/Makefile.am b/Makefile.am index 9951119..0b77c4c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,7 +43,11 @@ DISTCLEANFILES = \ intltool-merge \ intltool-update -.PHONY: upload +.PHONY: man upload + +man: + mandoc -man -Thtml -Ostyle=style.css man/spek.1 > web/man-@VERSION@.html + sed -e 's#\(http://[^<]*\)#\1#g' -i '' web/man-@VERSION@.html upload: rsync -avhz web/nginx.conf server:spek diff --git a/man/spek.1.in b/man/spek.1.in index 5df078e..1b3d32b 100644 --- a/man/spek.1.in +++ b/man/spek.1.in @@ -1,4 +1,4 @@ -.\" Copyright (C) 2011 Alexander Kojevnikov +.\" Copyright (C) 2011-2012 Alexander Kojevnikov .\" .\" Spek is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -13,30 +13,24 @@ .\" You should have received a copy of the GNU General Public License .\" along with Spek. If not, see . .\" -.TH SPEK "1" "" "Spek @VERSION@" +.TH SPEK "1" "2012-09-19" "Spek @VERSION@" "" .SH NAME Spek \- Acoustic Spectrum Analyser .SH SYNOPSIS .B spek -[OPTION...] " " [FILE] +[OPTION...] [FILE] .SH DESCRIPTION .B Spek -helps to analyse your audio files by showing their spectrogram. -It uses -.B FFmpeg -to decode audio files and as such supports all popular lossy -and lossless file formats. +generates a spectrogram for the input audio file. .SH OPTIONS .TP .BR \-h , " --help" -Output a longer help message then quit. (Any discrepancies -between this man page and the output of -.B spek --help -should be reported as a documentation bug.) +Output the help message then quit. .TP .BR \-V , " --version" Output version information then quit. .SH KEYBINDINGS +.SS Menu .TP .B Ctrl-O Open a new file. @@ -52,6 +46,7 @@ Quit. .TP .B F1 Show the about dialog. +.SS Spectrogram .TP .BR Ctrl-up , " Ctrl-down" Change the lower limit of the dynamic range in dBFS. @@ -62,10 +57,11 @@ Change the upper limit of the dynamic range in dBFS. .TP .I ~/.config/spek/preferences The configuration file for Spek, stored in a simple INI format. -.SH AUTHOR -Alexander Kojevnikov +.SH AUTHORS +Alexander Kojevnikov . Other contributors are listed +in the AUTHORS.md file distributed with the source code. .SH DISTRIBUTION The latest version of .B Spek may be downloaded from -.IR http://spek\-project.org/ . +.IR http://spek\-project.org . diff --git a/web/index.html b/web/index.html index 3430ae4..2f1944b 100644 --- a/web/index.html +++ b/web/index.html @@ -5,18 +5,7 @@ Spek – Free Acoustic Spectrum Analyzer / Spectrogram Viewer - +

Spek – Acoustic Spectrum AnalyserSpek logo

diff --git a/web/man-0.8.0.html b/web/man-0.8.0.html new file mode 100644 index 0000000..b29080b --- /dev/null +++ b/web/man-0.8.0.html @@ -0,0 +1,120 @@ + + + + + + + +SPEK(1) + + +
+ ++++ + + + + + + +
+SPEK(1) + +SPEK(1)
+
+

NAME

Spek - Acoustic Spectrum Analyser
+
+

SYNOPSIS

spek [OPTION...] [FILE]
+
+

DESCRIPTION

Spek generates a spectrogram for the input audio file.
+
+

OPTIONS

+
+-h, --help
+
+Output the help message then quit.
+
+
+
+-V, --version
+
+Output version information then quit.
+
+
+
+

KEYBINDINGS

+

Menu

+
+Ctrl-O
+
+Open a new file.
+
+
+
+Ctrl-S
+
+Save the spectrogram as an image file.
+
+
+
+Ctrl-E
+
+Show the preferences dialog.
+
+
+
+Ctrl-Q
+
+Quit.
+
+
+
+F1
+
+Show the about dialog.
+
+
+
+

Spectrogram

+
+Ctrl-up, Ctrl-down
+
+Change the lower limit of the dynamic range in dBFS.
+
+
+
+Ctrl-Shift-up, Ctrl-Shift-down
+
+Change the upper limit of the dynamic range in dBFS.
+
+
+
+
+

FILES

+
+~/.config/spek/preferences
+
+The configuration file for Spek, stored in a simple INI format.
+
+
+
+

AUTHORS

Alexander Kojevnikov <alexander@kojevnikov.com>. Other contributors are listed in the AUTHORS.md file distributed with the source code.
+
+

DISTRIBUTION

The latest version of Spek may be downloaded from http://spek-project.org.
+ +++ + + + +
+2012-09-19 +Spek 0.8.0
+
+ + + diff --git a/web/style.css b/web/style.css new file mode 100644 index 0000000..28d1008 --- /dev/null +++ b/web/style.css @@ -0,0 +1,10 @@ +body {font-family: sans-serif; font-size: 11pt; width: 760px; margin: 20px auto; padding: 0;} +h1, h2 {font-weight: bold;} +h1 {font-size: 16pt;} +h2 {font-size: 12pt;} +img {border-style: none; outline: none;} +#screenshots {width: 100%;} +#screenshots td {width: 33%;} +#download {width: 100%;} +.dld_col {width: 33%; font-size: smaller;} +.dld_link {vertical-align: top; padding-left: 0.5em; line-height: 1.4;}