Giter Club home page Giter Club logo

db2rst's Introduction

db2rst - Convert DocBook to reStructuredText

This script was originally written by [email protected].

This version was forked from https://github.com/kurtmckee/db2rst, which was forked from the original Google Code sources at https://code.google.com/p/db2rst/.

There is also another fork of the original script by wojdyr here: https://github.com/gerv/bzdocs/blob/master/db2rst.py

Installing the script

There are two ways to install db2rst:

  • Use pip or easy_install. For example:

      pip install db2rst
    
  • Download the source, unpack it, and run the setup script:

      python setup.py install
    

Note: depending on your system setup, you may need to run these commands as the super-user. If you're on Linux or Mac OS X, add sudo before the install command. If you are installing via pip, for example, use:

sudo pip install db2rst

Using the script

The basic syntax for using the script is:

db2rst *file1.xml* > *file1.rst*

Where file1.xml is the name of the DocBook file that you want to convert, and file2 is the name of the file you want to save the ReStructuredText in. If you leave off the > file1.rst bit, it'll just send the output to stdout, which may be what you want...

db2rst's People

Contributors

eronhennessey avatar kurtmckee avatar

Watchers

 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.