Giter Site home page Giter Site logo

mydocs's Introduction

DocBook solutions

Two documentation solutions are presented here. The first, uses AsciiDoc markup to create multiple text files that can be built into a book or website. The second is a collection of DocBook customizations that I have found useful. The folder structure is a possible method of organizing your files, customize it as needed.

Information about creating a free DocBook toolchain is available in the wiki of this project. The toolchain enables you to build documents from DocBook files. You can also use the software that comes with AsciiDoc or export your text from AsciiDoc to DocBook and then use your preferred DocBook tools to make the final document output.

Why use a markup langauge?

A markup language creates readable text files and avoids the complexity of learning DocBook XML tags. This enables you to use any text editor on any operating system to update and create documents. You can even use a web browser to edit the files if those files are stored on a server like GitHub.

What do I loose using a markup language?

Documents cannot be validated before you try to build a document and you do not have access to all of the DocBook tags. Both of these issues can be resolved to some extent. You can attempt building end documents at any time to check for errors. If you really need all of the structure offered by DocBook tags then you will need your authors trained in writing DocBook and they will typically need XML writing software. If you need to separate content for different output, you can do that with conditional markup in AsciiDoc. So, there are workarounds for these issues and I think that in many cases the use of markup text will prove valuable.

Why use AsciiDoc?

There are many other markup languages that allow users to edit and format files but AsciiDoc allows you to link multiple text files (such as chapters or sections) together when you export, and export using the DocBook format. You can also export text to HTML slideshows, HTML websites and documents in ePub and PDF formats. Using the DocBook files enables automatic indexes, table of contents, and exporting to custom PDFs and webhelp depending on your DocBook tools. AsciiDoc is free so any user can build final documents.

Where’s the power?

With AsciiDoc files stored in a server solution like GitHub, multiple users can edit documents online, edit documents using their preferred editor or submit change requests. Combine this with a continuous integration server like Jenkins, and you can script daily builds of the final document and immediate builds of a changed file to verify formatting and document structure. Using scripts to build the final document ensures that all documents have a consistent look and contain any necessary content like legal text or project introductions.

mydocs's People

Contributors

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