Skip to content

Instantly share code, notes, and snippets.

@dotemacs
Last active May 21, 2016 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dotemacs/5dfb44a6c491697f40e32633bf64c1d7 to your computer and use it in GitHub Desktop.
Save dotemacs/5dfb44a6c491697f40e32633bf64c1d7 to your computer and use it in GitHub Desktop.
Build CIDER's documentation into an ebook by copying these three files and running 'make epub'. Which will create 'cider.epub'
epub:
echo "cleaning up the paths to images"
perl -p -i -e 's/\.\.\/images/images/g' miscellaneous_features.md
echo "generating the ebook"
pandoc title.txt index.md installation.md up_and_running.md interactive_programming.md using_the_repl.md code_completion.md navigating_stacktraces.md running_tests.md debugging.md managing_connections.md miscellaneous_features.md configuration.md indent_spec.md additional_packages.md caveats.md troubleshooting.md additional_resources.md about/team.md about/support.md about/contributing.md about/release_policy.md about/changelog.md about/logo.md about/license.md --toc --epub-metadata=metadata.xml -o cider.epub
<dc:title>CIDER</dc:title>
<dc:language>en-US</dc:language>
<dc:creator opf:file-as="CIDER authors" opf:role="aut">Tim King, Phil Hagelberg, Bozhidar Batsov, Artur Malabarba and contributors</dc:creator>
<dc:publisher>Command line tools</dc:publisher>
<dc:date opf:event="publication">2016-05-21</dc:date>
<dc:rights>Copyright 2012-2016 by Tim King, Phil Hagelberg, Bozhidar Batsov, Artur Malabarba and contributors</dc:rights>
% CIDER
% CIDER authors & contributors
% Copyright (C) 2012-2016 Tim King, Phil Hagelberg, Bozhidar Batsov, Artur Malabarba and contributors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment