Skip to content

EDoc extension for generating HTML or Github-flavored Markdown from AsciiDoc sources

License

Notifications You must be signed in to change notification settings

hibari/asciiedoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsciiEDoc - EDoc extension for generating HTML or Github-flavored Markdown from AsciiDoc sources

Copyright (c) 2011-2013 by Joseph Wayne Norton

Authors: Joseph Wayne Norton ([email protected]).

AsciiEdoc is an Erlang application that integrates AsciiDoc with EDoc or EDoc with EDown. This may sound a little crazy at first but the primary reasons are:

  • Dislike EDoc's primitive wiki support.

  • Really dislike having to use XHTML for EDoc purposes.

  • Not crazy about Markdown either. Markdown is helpful only in one sense - GitHub integration.

  • AsciiDoc is simple, easy to use, friendly to humans, and yet expressive "enough" to produce high-quality documentation.

This documentation flow is a work-in-progress and the error reporting is fragile when something breaks. Nevertheless, this documentation flow may be of interest to others.

For sample AsciiDoc-annotated overview.edoc and Erlang source files, see UBF and UBF-related repositories on GitHub (https://github.com/ubf/ubf) for details.

This repository is experimental in nature - use at your own risk and please contribute if you find AsciiEDoc useful.

Quick Start Recipe

To download, build, and test the asciiedoc application in one shot, please follow this recipe:

$ mkdir working-directory-name
$ cd working-directory-name
$ git clone https://github.com/norton/asciiedoc.git asciiedoc
$ cd asciiedoc
$ make deps clean compile doc

Documentation

Where should I start?

This README is the only bit of documentation right now.

What is EDoc?

EDoc is the Erlang program documentation generator. Inspired by the Javadoc tool for the Java programming language, EDoc is adapted to the conventions of the Erlang world, and has several features not found in Javadoc.

See http://www.erlang.org/doc/apps/edoc/index.html for further details.

What is EDown?

EDown is an Erlang application that generates "More-or-less readable" Markdown from Erlang program documentation.

See https://github.com/esl/edown for further details.

What is AsciiDoc?

AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.

AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user.

AsciiDoc is free software and is licenced under the terms of the GNU General Public License version 2 (GPLv2).

See http://www.methods.co.nz/asciidoc/index.html for further details.

Modules

asciiedoc_doclet
asciiedoc_lib
asciiedown_doclet

About

EDoc extension for generating HTML or Github-flavored Markdown from AsciiDoc sources

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 91.2%
  • Makefile 8.8%