mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 04:06:03 +00:00
Fix man page formatting.
This commit is contained in:
parent
731f3b41db
commit
4473af9ed4
@ -27,7 +27,7 @@ if(BUILD_DOCS)
|
||||
)
|
||||
add_custom_target(conky.1
|
||||
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
|
||||
)
|
||||
add_dependencies(conky.1 man.md)
|
||||
|
@ -30,7 +30,7 @@ process:
|
||||
```
|
||||
2. Run `pandoc` to convert the markdown into a man page:
|
||||
```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
|
||||
|
@ -1,12 +1,14 @@
|
||||
% conky(1)
|
||||
%
|
||||
% 2012-05-03
|
||||
|
||||
# NAME
|
||||
|
||||
conky - A system monitor for X
|
||||
|
||||
# SYNOPSIS
|
||||
|
||||
**conky**
|
||||
|
||||
\[ *options* \]
|
||||
**conky** \[ *options* \]
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user