Skip to content

Commit

Permalink
v5.0.0 - Now simpler
Browse files Browse the repository at this point in the history
- Cleanups
- Remove unused dependencies
- TODO: Redo tests
  • Loading branch information
ryanabx committed Dec 19, 2024
1 parent cc05fed commit cf9a3c8
Show file tree
Hide file tree
Showing 10 changed files with 183 additions and 2,090 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
run: sudo apt-get install cargo

- name: Install simple-ssg
run: cargo install simple-ssg
run: cargo install --git https://github.com/ryanabx/simple-ssg

- name: Generate static site
run: ~/.cargo/bin/simple-ssg --clean ./docs -o ./output -t github-markdown
run: ~/.cargo/bin/simple-ssg ./docs ./output

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
Expand Down
32 changes: 2 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@ repository = "https://github.com/ryanabx/simple-ssg"
website = "https://ryanabx.github.io/simple-ssg"
license = "MIT"
readme = "README.md"
version = "4.1.0"
version = "5.0.0"
edition = "2021"
description = "Plain and simple static site generator for Djot and Markdown light markup languages"
description = "Simplest static site generator for Markdown"

[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.16", features = ["derive"] }
env_logger = "0.11.5"
jotdown = "0.5.0"
log = "0.4.22"
pulldown-cmark = "0.12.1"
thiserror = "1.0.63"
walkdir = "2.5.0"

[dev-dependencies]
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SMPL Static Site Generator - Generate a website with the lowest effort!
# Simple Static Site Generator - Generate a website with the lowest effort!

## Usage

```shell
cargo install simple-ssg
cargo install --git https://github.com/ryanabx/simple-ssg

simple-ssg <TARGET_DIRECTORY> -o [OUTPUT_DIRECTORY]
simple-ssg <TARGET_DIRECTORY> <OUTPUT_DIRECTORY>
```

## Support Goals
Expand All @@ -14,5 +14,4 @@ This static site generator aims to support:

- [x] Plaintext HTML
- [x] Linking to pages within static site
- [x] Image resources
- [x] Templates (must be named template.html)
- [x] Miscellaneous resources in your site
15 changes: 0 additions & 15 deletions src/errors.rs

This file was deleted.

Loading

0 comments on commit cf9a3c8

Please sign in to comment.