A fork of hyde, the static site generation. Some patches will be pushed upstream.

README.rst 4.1 KiB

13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. Version 0.8.5a14
  2. A brand new **hyde**
  3. ====================
  4. This is the new version of `hyde`_ under active development.
  5. `Hyde documentation`_ is a work in progress.
  6. `Hyde starter kit`_ by `merlinrebrovic`_ is a really nice way to get started
  7. with hyde.
  8. `Hyde layout for bootstrap`_ by `auzigog`_ is also a good alternative if you
  9. like Twitter's `bootstrap framework`_.
  10. You can also take a look at `Hyde Powered Websites`_ for inspiration and reference.
  11. Installation
  12. ------------
  13. To get the latest released version:
  14. ::
  15. pip install hyde
  16. For the current trunk:
  17. ::
  18. pip install -e git://github.com/hyde/hyde.git#egg=hyde
  19. Creating a new hyde site
  20. ------------------------
  21. The following command:
  22. ::
  23. hyde -s ~/test_site create
  24. will create a new hyde site using the test layout.
  25. Generating the hyde site
  26. ------------------------
  27. ::
  28. cd ~/test_site
  29. hyde gen
  30. Serving the website
  31. -------------------
  32. ::
  33. cd ~/test_site
  34. hyde serve
  35. open http://localhost:8080
  36. Publishing the website
  37. ----------------------
  38. ::
  39. cd ~/test_site
  40. hyde publish -p github
  41. Hyde supports extensible publishers.
  42. Github
  43. ~~~~~~~
  44. The hyde documentation is published to github pages using this command with
  45. the following configuration:
  46. ::
  47. publisher:
  48. github:
  49. type: hyde.ext.publishers.dvcs.Git
  50. path: ../hyde.github.com
  51. url: git@github.com:hyde/hyde.github.com.git
  52. .. Note:: Currently, the initial path must have clone of the repository
  53. already in place for this command to work.
  54. PyFS
  55. ~~~~~~~
  56. Hyde also has a publisher that acts as a frontend to the awesome
  57. `PyFS library`_ (thanks to `rfk`_). Here are a few configuration
  58. options for some PyFS backends:
  59. ::
  60. publisher:
  61. zip:
  62. type: hyde.ext.publishers.pyfs.PyFS
  63. url: zip://~/deploy/hyde/docs.zip
  64. s3:
  65. type: hyde.ext.publishers.pyfs.PyFS
  66. url: s3://hyde/docs
  67. sftp:
  68. type: hyde.ext.publishers.pyfs.PyFS
  69. url: sftp:hydeuser:hydepassword@hydedocs.org
  70. .. Note:: PyFS is not installed with hyde. In order to use the
  71. PyFS publisher, you need to install pyfs separately.
  72. Any PyFS dependencies (Example: `boto` for S3 publishing)
  73. need to be installed separately as well.
  74. ::
  75. pip install fs
  76. pip install boto
  77. To get additional help on PyFS backends, you can run the following
  78. command once PyFS is installed:
  79. ::
  80. fsls --listopeners
  81. Examples
  82. --------
  83. 1. `Hyde Documentation Source`_
  84. 2. `Cloudpanic`_
  85. 3. `Ringce`_
  86. A brief list of features
  87. --------------------------
  88. 1. Evented Plugins: The Plugin hooks allow plugins to listen to events
  89. that occur during different times in the lifecycle and respond
  90. accordingly.
  91. 2. Metadata: Hyde now supports hierarchical metadata. You can specify
  92. and override variables at the site, node or the page level and access
  93. them in the templates.
  94. 3. Organization: The sorter, grouper and tagger plugins provide rich
  95. meta-data driven organizational capabilities to hyde sites.
  96. 4. Publishing: Hyde sites can be published to variety of targets including
  97. github pages, Amazon S3 & SFTP.
  98. Links
  99. -----
  100. 1. `Changelog`_
  101. 2. `Authors`_
  102. .. _hyde: https://github.com/lakshmivyas/hyde
  103. .. _Hyde documentation: http://hyde.github.com
  104. .. _Hyde Documentation Source: https://github.com/hyde/docs
  105. .. _Cloudpanic: https://github.com/tipiirai/cloudpanic
  106. .. _Ringce: https://github.com/lakshmivyas/ringce/tree/v3.0
  107. .. _Authors: https://github.com/hyde/hyde/blob/master/AUTHORS.rst
  108. .. _Changelog: https://github.com/hyde/hyde/blob/master/CHANGELOG.rst
  109. .. _Hyde starter kit: http://merlin.rebrovic.net/hyde-starter-kit/about.html
  110. .. _merlinrebrovic: https://github.com/merlinrebrovic
  111. .. _rfk: https://github.com/rfk
  112. .. _PyFS library: http://packages.python.org/fs/
  113. .. _Hyde layout for bootstrap: https://github.com/auzigog/hyde-bootstrap
  114. .. _auzigog: https://github.com/auzigog
  115. .. _bootstrap framework: http://twitter.github.com/bootstrap/
  116. .. _Hyde Powered Websites: https://github.com/hyde/hyde/wiki/Hyde-Powered