Git Product home page Git Product logo

dita-ot's Introduction

DITA Open Toolkit Build Status Slack

The DITA Open Toolkit, or DITA-OT for short, is an open-source publishing engine for XML content authored in the Darwin Information Typing Architecture.

See dita-ot.org for documentation, information about releases, and download packages.

For information on additional DITA and DITA-OT resources, see SUPPORT.

Prerequisites

To build and use DITA-OT, you’ll need:

  • Java Development Kit 8 or newer

Building

  1. Clone the DITA-OT Git repository:

     git clone git://github.com/dita-ot/dita-ot.git
    
  2. Move to the DITA-OT directory:

     cd dita-ot
    
  3. Fetch the submodules:

     git submodule update --init --recursive
    
  4. In the root directory, run Gradle to compile the Java code and install plugins:

     ./gradlew
    

Usage

  1. Run the dita command to generate output:

     src/main/bin/dita [options]
    

    See the documentation for arguments and options.

Distribution

  1. In the root directory, set up build environment:

     ./gradlew
    
  2. Build distribution packages:

     ./gradlew dist
    

    Distribution packages are built in the build/distributions directory.

    If Gradle throws an error like java.lang.OutOfMemoryError: Java heap space, you probably need to increase the maximum Java heap size. One way to do this is to set the GRADLE_OPTS environment variable to a value like -Xmx1024m.

    For more information on the -Xmx option, see the Java SE Documentation.

License

The DITA Open Toolkit is licensed for use under the Apache License 2.0.

dita-ot's People

Contributors

jelovirt avatar infotexture avatar keberlein avatar raducoravu avatar easirois avatar dorthyn avatar contrext avatar shaneataylor avatar mironovalexey avatar drmacro avatar georgebina avatar 1yuanshuang avatar bbg3 avatar tg73 avatar ctnitchie avatar nakohdo avatar liujason avatar queshaw avatar simonbate avatar howlger avatar lionelmoi avatar robertnthomas avatar vdanylyuk 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.