Fix man page formatting.
This commit is contained in:

committed by
Brenden Matthews

parent
731f3b41db
commit
4473af9ed4
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user