DocManager is a tool to manage meta-information within DocBook 5
documents. You can add, delete, edit, and query meta information.
Each meta-information is stored in the info
element in the
DocManager namespace.
- Stable Repository: https://build.opensuse.org/package/show/Documentation:Tools/docmanager
- Unstable Repository: https://build.opensuse.org/package/show/Documentation:Tools:Develop/docmanager
-
Adding or editing meta-information
$ docmanager set -p maintainer=test_name -p version=test_version test_file1.xml test_file2.xml
-
Deleting meta-information
$ docmanager del -p maintainer,version test_file1.xml test_file2.xml
-
Get meta-information
$ docmanager get -p maintainer test_file1.xml value_of_property_maintainer
Do not provide properties if you want to get all information.
-
Analyze meta-information
$ docmanager analyze -qf "This file ({os.file}) is maintained by {maintainer} and has the priority {priority}." example1.xml example2.xml
Example output for each file:
This file (example1.xml) is maintained by mschnitzer and has the priority 10. This file (example2.xml) is maintained by toms and has the priority 5.
- Create a branch if you have access otherwise fork it.
- Make your changes.
- Create a pull request.
- Done! Your changes will be reviewed as soon as possible.