Version 0.8.5a6
This is the new version of hyde under active development. Hyde documentation is a work in progress.
Hyde starter kit by merlinrebrovic is a really nice way to get started with hyde.
Hyde layout for bootstrap by auzigog is also a good alternative if you like Twitter's bootstrap framework.
To get the latest released version:
pip install hyde
For the current trunk:
pip install -e git://github.com/hyde/hyde.git#egg=hyde
The following command:
hyde -s ~/test_site create
will create a new hyde site using the test layout.
cd ~/test_site hyde gen
cd ~/test_site hyde serve open http://localhost:8080
cd ~/test_site hyde publish -p github
Hyde supports extensible publishers.
The hyde documentation is published to github pages using this command with the following configuration:
publisher: github: type: hyde.ext.publishers.dvcs.Git path: ../hyde.github.com url: [email protected]:hyde/hyde.github.com.git
Note
Currently, the initial path must have clone of the repository already in place for this command to work.
Hyde also has a publisher that acts as a frontend to the awesome PyFS library (thanks to rfk). Here are a few configuration options for some PyFS backends:
publisher: zip: type: hyde.ext.publishers.pyfs.PyFS url: zip://~/deploy/hyde/docs.zip s3: type: hyde.ext.publishers.pyfs.PyFS url: s3://hyde/docs sftp: type: hyde.ext.publishers.pyfs.PyFS url: sftp:hydeuser:[email protected]
Note
PyFS is not installed with hyde. In order to use the PyFS publisher, you need to install pyfs seprately.
Any PyFS dependencies (Example: boto for S3 publishing) need to be installed seprately as well.
pip install fs pip install boto
To get additional help on PyFS backends, you can run the following command once PyFS is installed:
fsls --listopeners
- Evented Plugins: The Plugin hooks allow plugins to listen to events that occur during different times in the lifecycle and respond accordingly.
- Metadata: Hyde now supports hierarchical metadata. You can specify and override variables at the site, node or the page level and access them in the templates.
- Organization: The sorter, grouper and tagger plugins provide rich meta-data driven organizational capabilities to hyde sites.
- Publishing: Hyde sites can be published to variety of targets including github pages, Amazon S3 & SFTP.