|
| 1 | +//phaedrusflow/build.zig |
1 | 2 | const std = @import("std"); |
2 | 3 | const zine = @import("zine"); |
3 | 4 |
|
4 | | -pub fn build(b: *std.Build) !void { |
5 | | - // Define configuration values directly (no options object needed) |
6 | | - const host_url = "https://phaedrusflow.github.io"; |
7 | | - const layouts_dir = "layouts"; |
8 | | - const content_dir = "content"; |
9 | | - const output_dir = "public"; |
10 | | - const assets_dir = "assets"; |
11 | | - const site_title = "The Deep Pursuit of Quality AI"; |
12 | | - |
13 | | - // Configure Zine website |
14 | | - try zine.website(b, .{ |
15 | | - // Required core configuration |
16 | | - .host_url = host_url, |
17 | | - .layouts_dir_path = layouts_dir, |
18 | | - .content_dir_path = content_dir, |
19 | | - .output_dir_path = output_dir, |
20 | | - .assets_dir_path = assets_dir, |
21 | | - |
22 | | - // Metadata |
23 | | - .site_title = site_title, |
24 | | - .site_description = "Quality AI Adoption Solutions as a Service", |
25 | | - .author = "Matthew A. Porter", |
26 | | - .language = "en-US", |
27 | | - .generate_rss = true, |
28 | | - .rss_title = "Quantum AI Research and Developments", |
29 | | - |
30 | | - // Features |
31 | | - .features = .{ |
32 | | - .math = true, |
33 | | - .mermaid = true, |
34 | | - .code_highlighting = true, |
35 | | - }, |
36 | | - |
37 | | - // Social links |
38 | | - .social_links = .{ |
39 | | - .youtube = "https://www.youtube.com/@QompassAI", |
40 | | - .twitter = "https://twitter.com/PhaedrusFlow", |
41 | | - .github = "https://github.com/phaedrusflow", |
42 | | - }, |
43 | | - |
44 | | - // Optional configurations |
45 | | - .youtube_integration = .{ |
46 | | - .channel = "@QompassAI", |
47 | | - .show_latest = 3, |
48 | | - }, |
49 | | - .tooltips = .{ |
50 | | - .enable = true, |
51 | | - .tech_version_info = true, |
52 | | - }, |
53 | | - .theme = .{ |
54 | | - .primary_color = "#76B900", |
55 | | - .secondary_color = "#0668E1", |
56 | | - .dark_mode = true, |
57 | | - }, |
58 | | - }); |
| 5 | +pub fn build(b: *std.Build) void { |
| 6 | + _ = zine.website(b, .{}); |
59 | 7 | } |
0 commit comments