A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

103 lines
5.3 KiB

  1. <!doctype html>
  2. <!-- https://github.com/paulirish/html5-boilerplate/blob/master/index.html -->
  3. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
  4. <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
  5. <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
  6. <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
  7. <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
  8. <head>
  9. <meta charset="utf-8">
  10. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
  11. Remove this if you use the .htaccess -->
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  13. <!-- encoding must be specified within the first 512 bytes
  14. www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#charset -->
  15. <!-- meta element for compatibility mode needs to be before
  16. all elements except title & meta
  17. msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx -->
  18. <!-- Chrome Frame is only invoked if meta element for
  19. compatibility mode is within the first 1K bytes
  20. code.google.com/p/chromium/issues/detail?id=23003 -->
  21. <title>Installation</title>
  22. <meta name="description" content="Awesome documentation for hyde - a python static website generator
  23. ">
  24. <meta name="author" content="Lakshmi Vyasarajan">
  25. <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  26. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  27. <!-- Place favicon.ico & apple-touch-icon.png
  28. in the root of your domain and delete these references -->
  29. <link rel="shortcut icon" href="/favicon.ico">
  30. <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  31. <script type="text/javascript" src="http://use.typekit.com/hyw1bsz.js"></script>
  32. <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
  33. <link rel="stylesheet" href="/media/css/site.css">
  34. <!-- All JavaScript at the bottom, except for Modernizr which
  35. enables HTML5 elements & feature detects -->
  36. <script src="/media/js/libs/modernizr-1.6.min.js"></script>
  37. </head>
  38. <body id="installation">
  39. <div id="container">
  40. <div id="main" role="main">
  41. <header class="banner clearfix">
  42. <img src="/media/img/hyde-logo-128.png">
  43. <h1>hyde 1.0</h1>
  44. <h3>static hotness</h3> </header>
  45. <article>
  46. <hgroup>
  47. <h1 class="title">Installation</h1>
  48. <h3 class="subtitle">PIPing hot hyde</h3>
  49. </hgroup>
  50. <p>Installing hyde is as simple as running the following&nbsp;command:</p>
  51. <div class="code"><div class="highlight"><pre>pip install -e https://github.com/hydepy/hyde#egg<span class="o">=</span>hyde<br /></pre></div><br /></div>
  52. <p>However, based on your choice and use of plugins you may need to install
  53. additional packages. The requirements for each plugin is outlined in the
  54. corresponding <a href="/plugins">plugin documentation</a>.</p>
  55. <h2 id="essential_requirements">Essential&nbsp;Requirements</h2>
  56. <p>While your mileage may vary, I consider the following to be essential for
  57. generating a static website with hyde. These are a part of the requirements
  58. file and the above command will download and install them as part of&nbsp;hyde.</p>
  59. <p>It is also recommended that you use <a href="http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/">virtualenv</a> to separate the hyde
  60. environment from other python projects. Note that installing hyde using
  61. pip would install all of the below. However, if you&#8217;d like finer grained
  62. control over the packages, you can install these&nbsp;individually:</p>
  63. <ol>
  64. <li><code>argparse</code>: argparse is required if you are on python&nbsp;2.6.</li>
  65. <li><code>commando</code>: commando is a wrapper on top of argparse to give better syntax and
  66. support for multi-command&nbsp;applications.</li>
  67. <li><code>Jinja2</code>: While hyde will support many more template languages in the future,
  68. currently, Jinja2 is wholly supported and&nbsp;recommended.</li>
  69. <li><code>Markdown</code>: While there are plans to add support for other markups (textile,
  70. restructured text, asciidoc etc..,), markdown is the one thats currently
  71. completely&nbsp;supported.</li>
  72. <li><code>Pyyaml</code>: Much of hyde&#8217;s [configuration] is done using&nbsp;yaml.</li>
  73. <li><code>Typogrify</code>: Typogrify automatically fixes and enhances the typographical
  74. accuracy of your content. While this is not a technical requirement for
  75. hyde, it is absolutely essential to create good looking&nbsp;content.</li>
  76. </ol>
  77. <div class="code"><div class="highlight"><pre>pip install argparse<br />pip install commando<br />pip install jinja2<br />pip install markdown<br />pip install pyyaml<br />pip install -e https://github.com/hydepy/typogrify#egg<span class="o">=</span>typogrify<br /></pre></div><br /></div>
  78. <p></article>
  79. <aside>
  80. </aside></p> </div>
  81. <footer>
  82. </footer>
  83. </div> <!--! end of #container -->
  84. <!-- Javascript at the bottom for fast page loading -->
  85. <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
  86. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
  87. <script>!window.jQuery && document.write(unescape('%3Cscript src="/media/js/libs/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
  88. </body>
  89. </html>