Giter Site home page Giter Site logo

yard-mediawiki's Introduction

yard-mediawiki

Static Badge

This is a work-in-progress!

NO NOT USE YET!

Template for Yardoc to output files in (Semantic) Mediawiki syntax

Sumary

yard-mediawiki is a template for YARD derived from the default HTML output template. It writes the documentation into .mw files which can be exported into any MediaWiki instance.

As of now, the template still prints mostly HTML.

Usage

Download and store the template files somewhere on your system.

Add

gem 'yard-mediawiki', path: "<path_to>/yard-mediawiki/"

to the Gemfile of your project, and then run bundle update yard-mediawiki Then you can generate the documentation of your code with Mediawiki markup by using

bundle exec yard doc

with the repo's "yard-mediawiki.rb" as plugin (--plugin), "mediawiki" as template name (-t) and "mwtext" (-f) as output format, e.g.:

bundle exec yard doc --plugin <path_to>/yard-mediawiki/yard-mediawiki.rb -t mediawiki -f mwtext -o <path_to_output> <additional_options> <path_to_input>

Additional Options

  • --mw-namespace=<namespace> Namespace that is added to cross references and internal links (default: empty)
  • --[no-]mw_semantic Whether or not Semantic Mediawiki's properties are used (default: --no-ms-semantic)

License

see LICENSE file in the repo's base directory.

yard-mediawiki's People

Contributors

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