.emacs.d/auto-insert/manpage.adoc

40 lines
872 B
Plaintext

= ${1:`(file-name-nondirectory (file-name-sans-extension (file-name-sans-extension (buffer-file-name))))`}(`(file-name-extension (file-name-sans-extension (buffer-file-name)))`)
:project: $1
:doctype: manpage
:author: `user-full-name`
:email: `user-mail-address`
:date: `(format-time-string "%Y-%m-%d")`
:revision: 0.0.0
:man source: {project}
:man version: {revision}
:man manual: General Commands Manual
== NAME
{project} - [DESCRIPTION]
== SYNOPSIS
*{project}* [_file_|_--version_] [_arguments_]
== DESCRIPTION
== OPTIONS
*--version*::
Print version, copyright and license.
== EXAMPLES
== FILES
* *Configuration file*: \`\${XDG_CONFIG_HOME}/{project}.cfg\`
\`\${XDG_CONFIG_HOME}\` is usually \`~/.config\`.
== REPORTING BUGS
Bugtracker: https://schlomp.space/tastytea/{project}/issues
E-mail: {email}