Skip to content

Rake tasks helping to check LeanPub manuscripts

License

Notifications You must be signed in to change notification settings

s2k/leanpub_rake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leanpub_rake

Rake tasks helping to check LeanPub manuscripts

  • If you have a recent Ruby version (2.5.8, 2.6.6, 2.7.1 seem to work) installed, you're good to go.
  • Put the Rakefile into the root folder of your LeanPub book. (on the same level as the manuscript folder)
  • You can now run rake -T to get a list of the available (two) tasks.

Run

rake check_references

to find issues with cross references, i.e. references to other parts of the book (that should have IDs defined for them).

Run

rake check_book_file

to find files referenced in Book.txt that don't exist on the file system. (If the file Book.txt itself is missing, you'll get an exception telling you about this…)

About

Rake tasks helping to check LeanPub manuscripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages