GithubHelp home page GithubHelp logo

tomob / hyde Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyde/hyde

1.0 2.0 0.0 2.18 MB

A Python Static Website Generator

Home Page: http://hyde.github.com

License: MIT License

JavaScript 0.01% Python 99.99%

hyde's Introduction

Version 0.8.3

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.

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. Right now only github is implemented. 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.

Examples

  1. Hyde Documentation Source
  2. Cloudpanic
  3. Ringce

A brief list of features

  1. Support for multiple templates (although only Jinja2 is currently implemented)
  2. The different processor modules in the previous version are now replaced by a plugin object. This allows plugins to listen to events that occur during different times in the lifecycle and respond accordingly.
  3. 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.
  4. Organization: The sorter, grouper and tagger plugins provide rich meta-data driven organizational capabilities to hyde sites.
  5. Syntactic Sugar: Because of the richness of the plugin infrastructure, hyde can now provide additional syntactic sugar to make the content more readable. See blockdown and syntext plugin for examples.

Next Steps

  1. Documentation
  2. Default Layouts ✓
  3. Django Support
  4. Plugins:
    • Tags ✓
    • Atom / RSS ✓
    • Text Compressor (CSS, JS, HTML) ✓
    • Image optimizer ✓

Links

  1. Changelog
  2. Authors

hyde's People

Contributors

merlinrebrovic avatar navilan avatar rfk avatar stiell avatar tinnet avatar vincentbernat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.