Fix man page formatting.

This commit is contained in:
Gene Carlson
2022-10-12 21:37:44 +09:00
committed by Brenden Matthews
parent 731f3b41db
commit 4473af9ed4
3 changed files with 7 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ if(BUILD_DOCS)
) )
add_custom_target(conky.1 add_custom_target(conky.1
ALL ALL
COMMAND ${APP_PANDOC} -f markdown -t man ${CMAKE_CURRENT_BINARY_DIR}/man.md > ${CMAKE_CURRENT_BINARY_DIR}/conky.1 COMMAND ${APP_PANDOC} --standalone -f markdown -t man ${CMAKE_CURRENT_BINARY_DIR}/man.md > ${CMAKE_CURRENT_BINARY_DIR}/conky.1
SOURCES config_settings.yaml variables.yaml lua.yaml man.md.j2 SOURCES config_settings.yaml variables.yaml lua.yaml man.md.j2
) )
add_dependencies(conky.1 man.md) add_dependencies(conky.1 man.md)

View File

@@ -30,7 +30,7 @@ process:
``` ```
2. Run `pandoc` to convert the markdown into a man page: 2. Run `pandoc` to convert the markdown into a man page:
```console ```console
$ pandoc -f markdown -t man.md > conky.1 $ pandoc --standalone -f markdown -t man man.md > conky.1
``` ```
These steps are also part of the CMake build, and can be executed by configuring These steps are also part of the CMake build, and can be executed by configuring

View File

@@ -1,12 +1,14 @@
% conky(1)
%
% 2012-05-03
# NAME # NAME
conky - A system monitor for X conky - A system monitor for X
# SYNOPSIS # SYNOPSIS
**conky** **conky** \[ *options* \]
\[ *options* \]
# DESCRIPTION # DESCRIPTION