mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Replace the Swift site generator with a Ruby and Phlex implementation. Loads site and projects from TOML, derive site metadata from posts. Migrate from make to bake and add standardrb and code coverage tasks. Update CI and docs to match the new workflow, and remove unused assets/dependencies plus obsolete tooling.
11 lines
278 B
Ruby
11 lines
278 B
Ruby
module Pressa
|
|
class Plugin
|
|
def setup(site:, source_path:)
|
|
raise NotImplementedError, "#{self.class}#setup must be implemented"
|
|
end
|
|
|
|
def render(site:, target_path:)
|
|
raise NotImplementedError, "#{self.class}#render must be implemented"
|
|
end
|
|
end
|
|
end
|