Giter Site home page Giter Site logo

rake-tomdoc's Introduction

rake-tomdoc

Adds rake tomdoc to generate documentation for publishing to GitHub Pages.

Setup

Add this gem as a development dependency to your projects Gemfile or gemspec:

gem 'rake-tomdoc', group: :development

Gem::Specification.new do |s|
  ...
  s.add_development_dependency 'rake-tomdoc'
end

Create a gh-pages branch in your project. Make sure you have committed any changes and your repository contains no untracked files!

$ git checkout --orphan gh-pages
$ git rm -rf .
$ git commit --allow-empty -m "Created gh-pages branch"
$ git checkout -

Require the gem in your Rakefile:

require 'rake-tomdoc'

Usage

When you are ready to publish new documentation:

$ rake tomdoc [--trace]
$ git commit -am "Updating documentation"
$ git push origin gh-pages
$ git checkout -

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit, do not bump version.
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2018 Joshua Priddle. See LICENSE for details.

rake-tomdoc's People

Contributors

itspriddle avatar fabiokr avatar jmazzi avatar boone avatar

Stargazers

 avatar

Watchers

T. Floyd Wright avatar Newton Ramos Garcia avatar  avatar Ruy Rocha avatar Dan Richert avatar Rubem Nakamura avatar Joel Brown avatar  avatar James Cloos avatar  avatar  avatar  avatar

rake-tomdoc's Issues

Bad docs generated under ruby 2.0.0p451

It seems something changed between ruby 2.0.0p353 and p451. Running rake tomdoc from p353 properly parses TomDoc but on p451 it does not.

I'm thinking that one of these gems' behaviors has changed somehow with the newer Ruby version:

  • tomparse (0.4.2)
  • yard (0.8.7.3)
  • yard-tomdoc (0.7.1)

Yard was updated recently, but I have also verified that the older 0.8.7.1 release used at the time rake-tomdoc was published shows the same error on p451.

Here is the changelog between p353 and p451, nothing obvious stands out: https://gist.github.com/boone/8d9a0129121a114ffabe

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.