Skip to content

Commit

Permalink
removed the HTML/PDF generation code
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Oct 29, 2011
1 parent 64ce870 commit 59a8349
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 418 deletions.
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions Gemfile

This file was deleted.

14 changes: 0 additions & 14 deletions Guardfile

This file was deleted.

36 changes: 2 additions & 34 deletions README.md
Expand Up @@ -71,40 +71,8 @@ examples, some rules don't have examples that illustrate them clearly
enough. In due time these issues will be addressed - just keep them in
mind for now.

You can generate a PDF or an HTML copy of this guide using *rake*

To generate an HTML version

```bash
$ rake generate:html
```
You should have a README.html file generated

To generate an PDF version

```bash
$ rake generate:pdf
```
You should have a README.pdf file generated

To use these tasks you must have installed pygments and wkhtmltopdf

pygments can be installed using Python's easy_install command

```bash
sudo easy_install pygments
```

wkhtmltopdf can be installed in one of two methods

1. Install by hand (recommended):

<https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF>

2. Try using the wkhtmltopdf-binary gem (mac + linux i386)

gem install wkhtmltopdf-binary

You can generate a PDF or an HTML copy of this guide using
[Transmuter](https://github.com/TechnoGate/transmuter).

<a name="formatting">
## Formatting
Expand Down
5 changes: 0 additions & 5 deletions Rakefile

This file was deleted.

2 changes: 0 additions & 2 deletions lib/ruby_style_guide.rb

This file was deleted.

63 changes: 0 additions & 63 deletions lib/ruby_style_guide/html_generator.rb

This file was deleted.

30 changes: 0 additions & 30 deletions lib/ruby_style_guide/pdf_generator.rb

This file was deleted.

44 changes: 0 additions & 44 deletions lib/tasks/generate.rake

This file was deleted.

6 changes: 0 additions & 6 deletions lib/tasks/rspec.rake

This file was deleted.

56 changes: 0 additions & 56 deletions spec/ruby_style_guide/html_generator_spec.rb

This file was deleted.

37 changes: 0 additions & 37 deletions spec/ruby_style_guide/pdf_generator_spec.rb

This file was deleted.

25 changes: 0 additions & 25 deletions spec/spec_helper.rb

This file was deleted.

0 comments on commit 59a8349

Please sign in to comment.