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

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.1.3.tar.gz (25.4 kB view hashes)

Uploaded Source

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