Skip to main content

Ssite is not a static site generator. It is a collection of scripts to maintain a static site.

Project description

Ssite

Ssite is not a static site generator. It is a collection of scripts to maintain a static site. All build steps are optional; the source code for a static site that uses Ssite is hostable without any modifications.

PyPI

Installation

pip install --upgrade ssite

Principles

  • Enhance; don't generate.

Ssite works directly with the source and never creates separate build directories. The source of your static site is always publishable without ssite.

Usage

ssite index INDEXED_DIR generates an index file for a collection of timestamped HTML documents.

ssite clean INPUT_PATH removes style, class, and id, <span> and other messy markup from an HTML document.

Help text is rendered using the argparse library.

ssite --help displays the list of commands.

ssite COMMAND --help displays parameters for COMMAND.

Contributing

Contributions welcome. Fork and send a pull request to the GitHub repository.

  • Linter: flake8
  • Test harness: pytest

License

Licensed under Apache License, Version 2.0. See LICENSE.

Project details


Download files

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

Files for ssite, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size ssite-0.4.0-py2.py3-none-any.whl (19.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ssite-0.4.0.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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