wytch 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +23 -1
  4. data/exe/wytch +6 -0
  5. data/lib/wytch/builder.rb +75 -0
  6. data/lib/wytch/cli.rb +127 -0
  7. data/lib/wytch/content_loader.rb +54 -0
  8. data/lib/wytch/once.rb +40 -0
  9. data/lib/wytch/page.rb +136 -0
  10. data/lib/wytch/reload_coordinator.rb +68 -0
  11. data/lib/wytch/server.rb +93 -0
  12. data/lib/wytch/site.rb +97 -0
  13. data/lib/wytch/site_code_loader_middleware.rb +37 -0
  14. data/lib/wytch/templates/Gemfile.tt +12 -0
  15. data/lib/wytch/templates/config.rb.tt +6 -0
  16. data/lib/wytch/templates/content/feed.rb.tt +4 -0
  17. data/lib/wytch/templates/content/index.rb.tt +6 -0
  18. data/lib/wytch/templates/content/posts/hello-world.rb.tt +12 -0
  19. data/lib/wytch/templates/content/sitemap.rb.tt +4 -0
  20. data/lib/wytch/templates/frontend/Main.res.tt +2 -0
  21. data/lib/wytch/templates/frontend/main.css.tt +1 -0
  22. data/lib/wytch/templates/gitignore.tt +4 -0
  23. data/lib/wytch/templates/package.json.tt +19 -0
  24. data/lib/wytch/templates/public/robots.txt.tt +2 -0
  25. data/lib/wytch/templates/rescript.json.tt +18 -0
  26. data/lib/wytch/templates/src/site/feed_helper.rb.tt +17 -0
  27. data/lib/wytch/templates/src/site/feed_view.rb.tt +42 -0
  28. data/lib/wytch/templates/src/site/home_view.rb.tt +29 -0
  29. data/lib/wytch/templates/src/site/layout.rb.tt +34 -0
  30. data/lib/wytch/templates/src/site/page.rb.tt +9 -0
  31. data/lib/wytch/templates/src/site/post_helpers.rb.tt +18 -0
  32. data/lib/wytch/templates/src/site/post_view.rb.tt +21 -0
  33. data/lib/wytch/templates/src/site/sitemap_helper.rb.tt +17 -0
  34. data/lib/wytch/templates/src/site/sitemap_view.rb.tt +27 -0
  35. data/lib/wytch/templates/vite.config.js.tt +26 -0
  36. data/lib/wytch/version.rb +2 -1
  37. data/lib/wytch.rb +52 -2
  38. data/website/.gitignore +4 -0
  39. data/website/Gemfile +8 -0
  40. data/website/Gemfile.lock +63 -0
  41. data/website/assets/Main.res +2 -0
  42. data/website/assets/main.css +1 -0
  43. data/website/bin/generate_api_docs +44 -0
  44. data/website/config.rb +6 -0
  45. data/website/content/api/wytch/builder.rb +6 -0
  46. data/website/content/api/wytch/cli.rb +6 -0
  47. data/website/content/api/wytch/contentloader.rb +6 -0
  48. data/website/content/api/wytch/error.rb +6 -0
  49. data/website/content/api/wytch/once.rb +6 -0
  50. data/website/content/api/wytch/page.rb +6 -0
  51. data/website/content/api/wytch/reloadcoordinator.rb +6 -0
  52. data/website/content/api/wytch/server.rb +6 -0
  53. data/website/content/api/wytch/site.rb +6 -0
  54. data/website/content/api/wytch/sitecodeloadermiddleware.rb +6 -0
  55. data/website/content/index.rb +6 -0
  56. data/website/content/sitemap.rb +4 -0
  57. data/website/package.json +19 -0
  58. data/website/public/robots.txt +2 -0
  59. data/website/rescript.json +18 -0
  60. data/website/src/wytch_site/api_class_view.rb +90 -0
  61. data/website/src/wytch_site/home_view.rb +33 -0
  62. data/website/src/wytch_site/layout.rb +34 -0
  63. data/website/src/wytch_site/page.rb +18 -0
  64. data/website/src/wytch_site/sitemap_helper.rb +17 -0
  65. data/website/src/wytch_site/sitemap_view.rb +27 -0
  66. data/website/vite.config.js +26 -0
  67. metadata +164 -4
@@ -0,0 +1,44 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'yard'
6
+ require 'fileutils'
7
+
8
+ # Path to the wytch gem lib directory
9
+ WYTCH_LIB_PATH = File.expand_path('../../lib', __dir__)
10
+ API_CONTENT_DIR = File.expand_path('../content/api', __dir__)
11
+
12
+ puts "Cleaning existing API documentation..."
13
+ FileUtils.rm_rf(API_CONTENT_DIR)
14
+ FileUtils.mkdir_p(API_CONTENT_DIR)
15
+
16
+ puts "Parsing YARD documentation from #{WYTCH_LIB_PATH}..."
17
+ YARD.parse("#{WYTCH_LIB_PATH}/**/*.rb")
18
+
19
+ puts "Generating API content files..."
20
+ YARD::Registry.all(:class).each do |klass|
21
+ # Convert Wytch::Page to wytch/page
22
+ path_segments = klass.path.split('::').map(&:downcase)
23
+
24
+ # Create directory structure
25
+ dir_path = File.join(API_CONTENT_DIR, *path_segments[0..-2])
26
+ FileUtils.mkdir_p(dir_path) if path_segments.length > 1
27
+
28
+ # Create content file
29
+ file_path = File.join(API_CONTENT_DIR, *path_segments) + '.rb'
30
+
31
+ File.write(file_path, <<~RUBY)
32
+ # frozen_string_literal: true
33
+
34
+ view WytchSite::ApiClassView
35
+
36
+ @metadata[:title] = "#{klass.path}"
37
+ @metadata[:yard_path] = "#{klass.path}"
38
+ RUBY
39
+
40
+ puts " Created #{file_path.sub(API_CONTENT_DIR + '/', '')}"
41
+ end
42
+
43
+ puts "\nGenerated #{YARD::Registry.all(:class).count} API documentation pages"
44
+ puts "Run 'wytch build' to build the site"
data/website/config.rb ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ Wytch.configure do |site|
4
+ site.page_class = "WytchSite::Page"
5
+ # site.base_url = "https://example.com"
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Builder"
6
+ @metadata[:yard_path] = "Wytch::Builder"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::CLI"
6
+ @metadata[:yard_path] = "Wytch::CLI"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::ContentLoader"
6
+ @metadata[:yard_path] = "Wytch::ContentLoader"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Error"
6
+ @metadata[:yard_path] = "Wytch::Error"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Once"
6
+ @metadata[:yard_path] = "Wytch::Once"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Page"
6
+ @metadata[:yard_path] = "Wytch::Page"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::ReloadCoordinator"
6
+ @metadata[:yard_path] = "Wytch::ReloadCoordinator"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Server"
6
+ @metadata[:yard_path] = "Wytch::Server"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::Site"
6
+ @metadata[:yard_path] = "Wytch::Site"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::ApiClassView
4
+
5
+ @metadata[:title] = "Wytch::SiteCodeLoaderMiddleware"
6
+ @metadata[:yard_path] = "Wytch::SiteCodeLoaderMiddleware"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ view WytchSite::HomeView
4
+
5
+ @metadata[:title] = "Wytch"
6
+ @metadata[:description] = "A minimal static site generator"
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ add WytchSite::SitemapHelper
4
+ view WytchSite::SitemapView
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "wytch-site",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "vite build"
9
+ },
10
+ "devDependencies": {
11
+ "@jihchi/vite-plugin-rescript": "^7.1.0",
12
+ "rescript": "^11.1.4",
13
+ "tailwindcss": "^4.1.0",
14
+ "vite": "^7.2.2"
15
+ },
16
+ "dependencies": {
17
+ "@rescript/core": "^1.6.1"
18
+ }
19
+ }
@@ -0,0 +1,2 @@
1
+ User-agent: *
2
+ Allow: /
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "wytch-site",
3
+ "sources": [
4
+ {
5
+ "dir": "assets",
6
+ "subdirs": true
7
+ }
8
+ ],
9
+ "package-specs": [
10
+ {
11
+ "module": "esmodule",
12
+ "in-source": false
13
+ }
14
+ ],
15
+ "suffix": ".res.js",
16
+ "bs-dependencies": ["@rescript/core"],
17
+ "bsc-flags": ["-open RescriptCore"]
18
+ }
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WytchSite
4
+ class ApiClassView < Phlex::HTML
5
+ def initialize(page)
6
+ @page = page
7
+ @klass = @page.yard_object
8
+ end
9
+
10
+ def view_template
11
+ render Layout.new(@page) do
12
+ article do
13
+ header do
14
+ h1 { @klass.path }
15
+ p(class: "summary") { @klass.docstring.summary } unless @klass.docstring.summary.empty?
16
+ end
17
+
18
+ unless @klass.docstring.to_s.empty?
19
+ section(class: "description") do
20
+ h2 { "Description" }
21
+ div { unsafe_raw markdown_to_html(@klass.docstring.to_s) }
22
+ end
23
+ end
24
+
25
+ # Public methods
26
+ public_methods = @klass.meths(visibility: :public).reject { |m| m.name == :initialize }
27
+ if public_methods.any?
28
+ section(class: "methods") do
29
+ h2 { "Methods" }
30
+ public_methods.each do |method|
31
+ render_method(method)
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ private
40
+
41
+ def render_method(method)
42
+ article(class: "method", id: method.name) do
43
+ h3 { code { method.signature } }
44
+
45
+ unless method.docstring.to_s.empty?
46
+ div(class: "method-description") do
47
+ unsafe_raw markdown_to_html(method.docstring.to_s)
48
+ end
49
+ end
50
+
51
+ # Parameters
52
+ param_tags = method.tags.select { |t| t.tag_name == "param" }
53
+ if param_tags.any?
54
+ dl(class: "parameters") do
55
+ dt { "Parameters:" }
56
+ param_tags.each do |tag|
57
+ dd do
58
+ code { tag.name }
59
+ span { " (#{tag.types.join(', ')})" } if tag.types
60
+ plain " — #{tag.text}" if tag.text
61
+ end
62
+ end
63
+ end
64
+ end
65
+
66
+ # Returns
67
+ return_tags = method.tags.select { |t| t.tag_name == "return" }
68
+ if return_tags.any?
69
+ dl(class: "returns") do
70
+ dt { "Returns:" }
71
+ return_tags.each do |tag|
72
+ dd do
73
+ span { "(#{tag.types.join(', ')})" } if tag.types
74
+ plain " — #{tag.text}" if tag.text
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
80
+ end
81
+
82
+ def markdown_to_html(text)
83
+ # Simple markdown rendering - just handle basic formatting
84
+ text.gsub(/`([^`]+)`/, '<code>\1</code>')
85
+ .gsub(/\*\*([^*]+)\*\*/, '<strong>\1</strong>')
86
+ .gsub(/\n\n/, '</p><p>')
87
+ .then { |s| "<p>#{s}</p>" }
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WytchSite
4
+ class HomeView < Phlex::HTML
5
+ def initialize(page)
6
+ @page = page
7
+ end
8
+
9
+ def view_template
10
+ render Layout.new(@page) do
11
+ h1 { @page.metadata[:title] }
12
+ p { @page.metadata[:description] }
13
+
14
+ section do
15
+ h2 { "API Documentation" }
16
+ ul do
17
+ api_pages.each do |page|
18
+ li { a(href: page.path) { page.metadata[:title] } }
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ private
26
+
27
+ def api_pages
28
+ Wytch.site.pages.values
29
+ .select { |p| p.path.start_with?('/api/') }
30
+ .sort_by { |p| p.metadata[:title] }
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WytchSite
4
+ class Layout < Phlex::HTML
5
+ def initialize(page)
6
+ @page = page
7
+ end
8
+
9
+ def view_template(&block)
10
+ doctype
11
+
12
+ html do
13
+ head do
14
+ meta charset: "utf-8"
15
+ title { @page.metadata[:title] }
16
+ meta name: "description", content: @page.metadata[:description] if @page.metadata[:description]
17
+ meta name: "viewport", content: "width=device-width, initial-scale=1.0"
18
+
19
+ # Vite assets
20
+ if ENV["RACK_ENV"] == "development"
21
+ script src: "http://localhost:6970/@vite/client", type: "module"
22
+ link rel: "stylesheet", href: "http://localhost:6970/assets/main.css"
23
+ script src: "http://localhost:6970/assets/Main.res", type: "module"
24
+ else
25
+ link rel: "stylesheet", href: "/assets/main.css"
26
+ script src: "/assets/app.js", type: "module"
27
+ end
28
+ end
29
+
30
+ body(&block)
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'yard'
4
+
5
+ module WytchSite
6
+ class Page < Wytch::Page
7
+ def yard_object
8
+ return nil unless @metadata[:yard_path]
9
+
10
+ # Parse YARD if registry is empty
11
+ if YARD::Registry.all.empty?
12
+ YARD.parse(File.expand_path('../../../lib/**/*.rb', __dir__))
13
+ end
14
+
15
+ YARD::Registry.at(@metadata[:yard_path])
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WytchSite
4
+ module SitemapHelper
5
+ def path
6
+ "/sitemap.xml"
7
+ end
8
+
9
+ def build_path
10
+ "sitemap.xml"
11
+ end
12
+
13
+ def include_in_sitemap?
14
+ false
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WytchSite
4
+ class SitemapView
5
+ def initialize(page)
6
+ @page = page
7
+ end
8
+
9
+ def call
10
+ require "builder"
11
+
12
+ xml = Builder::XmlMarkup.new(indent: 2)
13
+ xml.instruct! :xml, version: "1.0", encoding: "UTF-8"
14
+ xml.urlset xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9" do
15
+ Wytch.site.pages.values.each do |page|
16
+ next unless page.include_in_sitemap?
17
+ xml.url do
18
+ xml.loc "#{Wytch.site.base_url}#{page.path}"
19
+ xml.lastmod page.last_modified if page.last_modified
20
+ xml.changefreq page.change_frequency if page.change_frequency
21
+ xml.priority page.priority if page.priority
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ import { defineConfig } from "vite";
2
+ import createReScriptPlugin from "@jihchi/vite-plugin-rescript";
3
+
4
+ export default defineConfig({
5
+ plugins: [
6
+ createReScriptPlugin({
7
+ loader: {
8
+ suffix: ".res.js",
9
+ },
10
+ }),
11
+ ],
12
+ build: {
13
+ outDir: "build/assets",
14
+ manifest: true,
15
+ rollupOptions: {
16
+ input: {
17
+ main: "./assets/main.css",
18
+ app: "./assets/Main.res",
19
+ },
20
+ },
21
+ },
22
+ server: {
23
+ port: 6970,
24
+ strictPort: false,
25
+ },
26
+ });
metadata CHANGED
@@ -1,18 +1,117 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wytch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Norman
8
8
  bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
- dependencies: []
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: concurrent-ruby
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.3'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '1.3'
26
+ - !ruby/object:Gem::Dependency
27
+ name: listen
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.9'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.9'
40
+ - !ruby/object:Gem::Dependency
41
+ name: phlex
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.11'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.11'
54
+ - !ruby/object:Gem::Dependency
55
+ name: puma
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '6.4'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '6.4'
68
+ - !ruby/object:Gem::Dependency
69
+ name: rack
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.1'
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.1'
82
+ - !ruby/object:Gem::Dependency
83
+ name: thor
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.4'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '1.4'
96
+ - !ruby/object:Gem::Dependency
97
+ name: zeitwerk
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.6'
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.6'
12
110
  description: A minimal static site generator
13
111
  email:
14
112
  - jared@super.gd
15
- executables: []
113
+ executables:
114
+ - wytch
16
115
  extensions: []
17
116
  extra_rdoc_files: []
18
117
  files:
@@ -21,9 +120,70 @@ files:
21
120
  - LICENSE.txt
22
121
  - README.md
23
122
  - Rakefile
123
+ - exe/wytch
24
124
  - lib/wytch.rb
125
+ - lib/wytch/builder.rb
126
+ - lib/wytch/cli.rb
127
+ - lib/wytch/content_loader.rb
128
+ - lib/wytch/once.rb
129
+ - lib/wytch/page.rb
130
+ - lib/wytch/reload_coordinator.rb
131
+ - lib/wytch/server.rb
132
+ - lib/wytch/site.rb
133
+ - lib/wytch/site_code_loader_middleware.rb
134
+ - lib/wytch/templates/Gemfile.tt
135
+ - lib/wytch/templates/config.rb.tt
136
+ - lib/wytch/templates/content/feed.rb.tt
137
+ - lib/wytch/templates/content/index.rb.tt
138
+ - lib/wytch/templates/content/posts/hello-world.rb.tt
139
+ - lib/wytch/templates/content/sitemap.rb.tt
140
+ - lib/wytch/templates/frontend/Main.res.tt
141
+ - lib/wytch/templates/frontend/main.css.tt
142
+ - lib/wytch/templates/gitignore.tt
143
+ - lib/wytch/templates/package.json.tt
144
+ - lib/wytch/templates/public/robots.txt.tt
145
+ - lib/wytch/templates/rescript.json.tt
146
+ - lib/wytch/templates/src/site/feed_helper.rb.tt
147
+ - lib/wytch/templates/src/site/feed_view.rb.tt
148
+ - lib/wytch/templates/src/site/home_view.rb.tt
149
+ - lib/wytch/templates/src/site/layout.rb.tt
150
+ - lib/wytch/templates/src/site/page.rb.tt
151
+ - lib/wytch/templates/src/site/post_helpers.rb.tt
152
+ - lib/wytch/templates/src/site/post_view.rb.tt
153
+ - lib/wytch/templates/src/site/sitemap_helper.rb.tt
154
+ - lib/wytch/templates/src/site/sitemap_view.rb.tt
155
+ - lib/wytch/templates/vite.config.js.tt
25
156
  - lib/wytch/version.rb
26
157
  - sig/wytch.rbs
158
+ - website/.gitignore
159
+ - website/Gemfile
160
+ - website/Gemfile.lock
161
+ - website/assets/Main.res
162
+ - website/assets/main.css
163
+ - website/bin/generate_api_docs
164
+ - website/config.rb
165
+ - website/content/api/wytch/builder.rb
166
+ - website/content/api/wytch/cli.rb
167
+ - website/content/api/wytch/contentloader.rb
168
+ - website/content/api/wytch/error.rb
169
+ - website/content/api/wytch/once.rb
170
+ - website/content/api/wytch/page.rb
171
+ - website/content/api/wytch/reloadcoordinator.rb
172
+ - website/content/api/wytch/server.rb
173
+ - website/content/api/wytch/site.rb
174
+ - website/content/api/wytch/sitecodeloadermiddleware.rb
175
+ - website/content/index.rb
176
+ - website/content/sitemap.rb
177
+ - website/package.json
178
+ - website/public/robots.txt
179
+ - website/rescript.json
180
+ - website/src/wytch_site/api_class_view.rb
181
+ - website/src/wytch_site/home_view.rb
182
+ - website/src/wytch_site/layout.rb
183
+ - website/src/wytch_site/page.rb
184
+ - website/src/wytch_site/sitemap_helper.rb
185
+ - website/src/wytch_site/sitemap_view.rb
186
+ - website/vite.config.js
27
187
  homepage: https://github.com/SuperGoodSoft/wytch
28
188
  licenses:
29
189
  - MIT
@@ -45,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
205
  - !ruby/object:Gem::Version
46
206
  version: '0'
47
207
  requirements: []
48
- rubygems_version: 3.7.0
208
+ rubygems_version: 3.6.9
49
209
  specification_version: 4
50
210
  summary: A minimal static site generator
51
211
  test_files: []