Skip to main content

hyde is a static website generator

Project description

Version 0.8.6

A brand new hyde

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.

You can also take a look at Hyde Powered Websites for inspiration and reference.

Installation

To get the latest released version:

pip install hyde

For the current trunk:

pip install -e git://github.com/hyde/hyde.git#egg=hyde

Creating a new hyde site

The following command:

hyde -s ~/test_site create

will create a new hyde site using the test layout.

Generating the hyde site

cd ~/test_site
hyde gen

Serving the website

cd ~/test_site
hyde serve
open http://localhost:8080

Publishing the website

cd ~/test_site
hyde publish -p github

Hyde supports extensible publishers.

Github

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: git@github.com:hyde/hyde.github.com.git

PyFS

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:hydepassword@hydedocs.org

Any PyFS dependencies (Example: boto for S3 publishing) need to be installed separately 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

Examples

  1. Hyde Documentation Source

  2. Cloudpanic

  3. Ringce

A brief list of features

  1. Evented Plugins: The Plugin hooks allow plugins to listen to events that occur during different times in the lifecycle and respond accordingly.

  2. 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.

  3. Organization: The sorter, grouper and tagger plugins provide rich meta-data driven organizational capabilities to hyde sites.

  4. Publishing: Hyde sites can be published to variety of targets including github pages, Amazon S3 & SFTP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyde-0.8.6.tar.gz (1.3 MB view details)

Uploaded Source

File details

Details for the file hyde-0.8.6.tar.gz.

File metadata

  • Download URL: hyde-0.8.6.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hyde-0.8.6.tar.gz
Algorithm Hash digest
SHA256 b9dff6d1a5c86878f22f30ca99f758e84d17dc35936eae40064ca36bacf6f1ad
MD5 b3e6c5dd753b5a4bbee701ec737f2a20
BLAKE2b-256 3b5e56b9a54236947a2def2ca1ea6b0c7b797af8eca6a15b55278817d20f9753

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page