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.

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

statico-0.2.1.tar.gz (26.6 kB view details)

Uploaded Source

File details

Details for the file statico-0.2.1.tar.gz.

File metadata

  • Download URL: statico-0.2.1.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for statico-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1636200b889707ef765011c1906ccdfc5a19a79e518749e113d8a2c56e68db00
MD5 3f31ec94f155e147070e8a84cc3ba028
BLAKE2b-256 596485b2049b332ae75cd3e27b9fe2fb0c2439950933b341c051519813cea530

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