Coder Social home page Coder Social logo

haochenprophet / docmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensuse/docmanager

2.0 1.0 0.0 3.12 MB

Manage DocBook 5 Meta Information

Home Page: http://opensuse.github.io/docmanager/index.html

License: GNU General Public License v3.0

Shell 0.80% Python 99.20%

docmanager's Introduction

DocManager

Build Status codecov.io Code Health Scrutinizer Code Quality

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.

Repositories

  1. Stable Repository: https://build.opensuse.org/package/show/Documentation:Tools/docmanager
  2. Unstable Repository: https://build.opensuse.org/package/show/Documentation:Tools:Develop/docmanager

Usage

  1. Adding or editing meta-information

    $ docmanager set -p maintainer=test_name -p version=test_version test_file1.xml test_file2.xml
    
  2. Deleting meta-information

    $ docmanager del -p maintainer,version test_file1.xml test_file2.xml
    
  3. 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.

  1. 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.
    

Developers

Contribution

  1. Create a branch if you have access otherwise fork it.
  2. Make your changes.
  3. Create a pull request.
  4. Done! Your changes will be reviewed as soon as possible.

docmanager's People

Contributors

tomschr avatar rsalevsky avatar

Stargazers

Roman avatar dương hải avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.