Skip to main content

Static site generator

Project description

Latest PyPI Version License Supported Python Versions Format Code Health Requirements Status

statico

A simple and extensible static site generator in Python

Install

pip install statico

Documentation

Check the wiki for the complete documentation.

Commands

Command Description
statico Creates a website
statico -c/–clear Clears the workspace (deletes the website)
statico -a/–article “My new article” Creates a new article
statico -p/–page “Projects” Creates a new page
statico -g/–generate Generate the site to the output directory
statico -P/–preview Preview your website on 127.0.0.1:8000
statico -w/–watch Watch for changes in the content directory
statico -r/-rss http://example.com/atom.xml Loads posts from a RSS feed
statico -s/–setup-gh-deploy Setup GitHub Pages details
statico -d/–gh-deploy Deploys to GitHub
statico -i/–isolate <partial_name> Isolate articles for fast rebuild times
statico -I/–integrate Integrates the isolated articles

Web site structure

  • atom.xml
  • content/
    • articles/
    • index.md
    • pages/
  • output/
  • settings.json
  • static/
    • css/
    • images/
    • js/
  • templates/
    • article.html
    • base.html
    • default.html
    • includes/
      • after_footer.html
      • asides/
      • footer.html
      • header.html
      • head.html
      • navigation.html
    • page.html

Changelog

See the CHANGES file.

License

MIT © Ossama Edbali.

Release history Release notifications

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.4

History Node

0.1.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
statico-0.2.1.tar.gz (26.6 kB) Copy SHA256 hash SHA256 Source None Sep 6, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page