mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 17:26:01 +02:00
daps: add page (#7299)
This commit is contained in:
parent
9eb2443ad4
commit
fde599b0ef
1 changed files with 24 additions and 0 deletions
24
pages/common/daps.md
Normal file
24
pages/common/daps.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# daps
|
||||
|
||||
> DAPS is an open source program for transforming DocBook XML into output formats such as HTML or PDF.
|
||||
> More information: <https://opensuse.github.io/daps/doc/index.html>.
|
||||
|
||||
- Check if a DocBook XML file is valid:
|
||||
|
||||
`daps -d {{path/to/file.xml}} validate`
|
||||
|
||||
- Convert a DocBook XML file into PDF:
|
||||
|
||||
`daps -d {{path/to/file.xml}} pdf`
|
||||
|
||||
- Convert a DocBook XML file into a single HTML file:
|
||||
|
||||
`daps -d {{path/to/file.xml}} html --single`
|
||||
|
||||
- Display help:
|
||||
|
||||
`daps --help`
|
||||
|
||||
- Display version:
|
||||
|
||||
`daps --version`
|
Loading…
Add table
Reference in a new issue