Giter VIP home page Giter VIP logo

asciidoc-splitter's Introduction

Asciidoc Splitter

A Java utility to split asciidoc files into a modular documentation layout. At some point it will also include a way to run this via maven, and possibly gradle, however, at this point in time it is CLI only.

Building and Running

Build using ./mvnw install -DskipTests (until it’s in a repo). The build will create a distribution directory in the target directory. This distribution directory will contain all the necessary jars and files needed to run the application.

Run as follows:

target/asciidoc-splitter-1.0-SNAPSHOT-bin/bin/asciidoc-splitter.sh

Note the name of the directory will change based on the version of the splitter.

The list of relevant options are:

  -a=<String=Object>[\|<String=Object>...]
                           Key=Value pairs to set as attributes to asciidoctor.
                             Multiples separated by '|': 'key1=v1|key2=v2'
  -h, --help               Show this help message and exit.
  -i=<ignoreFiles>[,<ignoreFiles>...]
                           Ignore file, multiples separated by ','
      -ob=<outputBranch>   Branch in output repository.
      -or=<outputRepo>     Git URL to the output repository.
      -sb=<sourceBranch>   Branch in source repository.
      -sr=<sourceRepo>     Git URL to the source repository.
  -v                       Verbose logging
  -V, --version            Print version information and exit.

Contributing

I’ll fill this out a bit more, but I’m going to be doing this all on GitHub. Please create an issue and send me a pull request.

asciidoc-splitter's People

Contributors

lightguard avatar manaswinidas avatar maxandersen avatar oranod avatar pmuir 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.