Skip to content

Commit

Permalink
Fixed css and ignoration
Browse files Browse the repository at this point in the history
  • Loading branch information
samvasko committed Jan 26, 2014
1 parent 2d3ab9e commit 9c82856
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
cache
*.epub
*.mobi
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
require 'convert'

content, toc = Fetch.run
File.write('out.html', content)
File.write('cache/out.html', content)
Convert.run toc
1 change: 1 addition & 0 deletions header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="core.css" type="base.css"/>
</head>
<body>
4 changes: 2 additions & 2 deletions lib/convert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def self.run toc
identifier 'https://github.com/bliker/vala-tutorial-book', :scheme => 'URL'
uid 'https://github.com/bliker/vala-tutorial-book'

files ['out.html']
files ['cache/out.html', 'css/css/base.css']
nav toc
end
epub.save('sample.epub')
epub.save('Vala Tutorial.epub')
end

def self.parse_toc doc
Expand Down

0 comments on commit 9c82856

Please sign in to comment.