Permalink
Browse files

started a todo list and added a style so I can easily see what chapte…

…rs I havent done yet
  • Loading branch information...
1 parent ec27d50 commit cf972b45b272f034fdd597c1a2f43421dc7e73e9 @schacon schacon committed Jul 29, 2008
Showing with 20 additions and 77 deletions.
  1. +12 −72 TODO.markdown
  2. +1 −0 assets/stylesheets/style.css
  3. +7 −5 script/html.rb
View
@@ -1,80 +1,20 @@
-=Maint Tasks
+# Maint Tasks #
* pre-processors:
- linkgit:(command)
-
-* Generate HTML only output - one page per chapter
+ - gitcasts links working (stripped from pdf)
+
+* link pdf to html page for downloading
+ - generate cover page for pdf
-=Content
+## Content To-Do ##
-===Introduction
-
-* Git Object DB Basics (Git vs SVN, what is a DAG)
-* The Git Index
-* Git directory and working directory
-
-===First Time
+* Clean up the intro (blobs, etc)
+* Link gitcasts everywhere
+* Terms Page
+* Git Directory and Working Directory
* Installing Git
-* Setup and Initialization
-
-===Basic Usage
-
-* Normal Workflow
-* Basic Branching and Merging
-* Reviewing History – Git Log
-* Comparing Commits – Git Diff
-* Distributed Workflows – clone, fetch, push
-* Git Tag
-
-===Intermediate Usage
-
-* Rebasing
-* Interactive Rebasing
-* Interactive Adding
-* Stashing
-* Git Treeishes
-* Tracking Branches
-* Finding in Git – git grep
-* Advanced Git Log
-* Re-doing – git reset and revert
-* Maintaining Git – gc and prune, fsck
-* Setting up a Public Repo – git, http/s, ssh, gitosis
-* Git Workflows
-
-===Advanced Git
-
-* Creating New Empty Branches
-* Advanced Branching and Merging
-* Finding Issues – Git Bisect
-* Finding Issues – Git Blame
-* Git and Email – git-am, git-format-patch
-* Customizing Git – git config
-* Git Hooks
-* Git Recovery – corrupted blob objects
-* Advanced Merging – multiway, merge subtree
-
-===Working With Git
-
-* Git on Windows
-* Stacked Git – stgit, guilt
-* Capistrano and Git
-* Subversion Integration
-* Subversion Migration
-* Graphical Git – gitgui
-* Hosting Git – Gitorious, GitHub
-* Alternative Uses of Git – TicGit
-* Alternative Uses of Git – Content Distribution
-* Ruby and Git – grit, gruby, Ruby/Git
-* Git and Editors (Textmate, Eclipse, etc)
-
-===Internals and Plumbing
-
-* How Git Stores Objects (loose and packed)
-* Browsing Git Objects - cat-file, ls-tree, gitk
-* Git References - update-ref
-* The Git Index – ls-files
-* Working with Packfiles unpack, listing pack contents
-* Raw Git git read-tree, write-tree
-
+* More on Diff
+*
@@ -54,6 +54,7 @@ img.book { border: 1px solid #666; }
#new-to-git h3 small { color: #eee; font-weight: normal; font-size: 70%;}
a.chapter-link { font-size: 120%; }
+a.todo { color: #888 !important; }
table tr td { vertical-align: top;}
View
@@ -54,7 +54,7 @@
puts "\t" + chtitle.strip
filename = count.to_s + '_' + chtitle.strip.downcase.gsub(' ', '_') + '.html'
body = "<h2>#{chtitle}</h2>" + chapter
- chlinks << [chtitle.strip, filename]
+ chlinks << [chtitle.strip, filename, body.size]
chapter_files << [chtitle.strip, filename, body]
end
links << [title.strip, chlinks]
@@ -85,9 +85,10 @@
links[0,4].each do |section_title, section_array|
toc.h3(:class => 'title') { toc << section_title }
toc.table do
- section_array.each do |chapter_title, chapter_file|
+ section_array.each do |chapter_title, chapter_file, chsize|
toc.tr { toc.td {
- toc.a(:href => chapter_file, :class => 'chapter-link') << chapter_title
+ (chsize > 300) ? extra = 'done' : extra = 'todo'
+ toc.a(:href => chapter_file, :class => "chapter-link #{extra}") << chapter_title
}}
end
end
@@ -97,9 +98,10 @@
links[4,3].each do |section_title, section_array|
toc.h3(:class => 'title') { toc << section_title }
toc.table do
- section_array.each do |chapter_title, chapter_file|
+ section_array.each do |chapter_title, chapter_file, chsize|
toc.tr { toc.td {
- toc.a(:href => chapter_file, :class => 'chapter-link') << chapter_title
+ (chsize > 300) ? extra = 'done' : extra = 'todo'
+ toc.a(:href => chapter_file, :class => "chapter-link #{extra}") << chapter_title
}}
end
end

0 comments on commit cf972b4

Please sign in to comment.