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.
 
 
 

106 lines
5.4 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="install">
  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 git://github.com/hydepy/hyde.git#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 most of them as part
  59. of&nbsp;hyde.</p>
  60. <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
  61. environment from other python projects. Note that installing hyde using
  62. pip would install all of the below. However, if you&#8217;d like finer grained
  63. control over the packages, you can install these&nbsp;individually:</p>
  64. <ol>
  65. <li><code>argparse</code>: argparse is required if you are on python&nbsp;2.6.</li>
  66. <li><code>commando</code>: commando is a wrapper on top of argparse to give better syntax and
  67. support for multi-command&nbsp;applications.</li>
  68. <li><code>Jinja2</code>: While hyde will support many more template languages in the future,
  69. currently, Jinja2 is wholly supported and&nbsp;recommended.</li>
  70. <li><code>Markdown</code>: While there are plans to add support for other markups (textile,
  71. restructured text, asciidoc etc..,), markdown is the one thats currently
  72. completely&nbsp;supported.</li>
  73. <li><code>Pyyaml</code>: Much of hyde&#8217;s [configuration] is done using&nbsp;yaml.</li>
  74. <li><code>Typogrify</code>: Typogrify automatically fixes and enhances the typographical
  75. accuracy of your content. While this is not a technical requirement for
  76. hyde, it is absolutely essential to create good looking content. Note that
  77. this is not installed as part of the above package and must be installed
  78. separately. This will be rectified in the&nbsp;future.</li>
  79. </ol>
  80. <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>
  81. <p></article>
  82. <aside>
  83. </aside></p> </div>
  84. <footer>
  85. </footer>
  86. </div> <!--! end of #container -->
  87. <!-- Javascript at the bottom for fast page loading -->
  88. <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
  89. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
  90. <script>!window.jQuery && document.write(unescape('%3Cscript src="/media/js/libs/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
  91. </body>
  92. </html>