roxy_cli

Crates.ioroxy_cli
lib.rsroxy_cli
version
sourcesrc
created_at2024-02-21 15:46:20.833534
updated_at2024-12-05 06:42:12.656991
descriptionA command-line static site generator
homepagehttps://roxy-docs.netlify.app
repositoryhttps://fem.mint.lgbt/kitsunecafe/roxy-cli
max_upload_size
id1148190
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
KitsuneCafe (kitsunecafe)

documentation

README

Roxy

this is a wip overhaul for my static site generator, roxy. it technically works but it's very rough around the edges.

Installation

cargo install roxy_cli

Usage

roxy_cli [INPUT] [OUTPUT]

Roxy will read each file from INPUT for valid files. It will look for toml for data and md, html, or tera for layout an content files. toml data is loaded into an object and given to content files (which can be used as variables with Tera placeholders). The content files will be processed first as Markdown, then as a Tera template. The output of this process will write to OUTPUT, preserving the original path (relative to INPUT).

Configuration

Currently, Roxy only has two configuration keys

# config.toml
[roxy]
slug_word_limit = 8 # the max word limit for a slug

[syntect]
theme = "base16-ocean.dark" # the name of the theme for syntax highlighting
theme_dir = "./themes" # directory to load themes into syntect
Commit count: 0

cargo fmt