pinel-theme 0.1.0 → 0.2.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.
- checksums.yaml +4 -4
- data/exe/pinel-new +137 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0c13f8be074f5d05d5d4d7faea5e1bece6c0028c4ca33a066c4761edc69977b
|
|
4
|
+
data.tar.gz: dbe614ce7362430621b6ff3b88c0c42fa2ab47d842d6ba49baef2dd7e25f3b15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 607be59c0bb0a2c3a9fcab75589f06e21f44bf7da901d9f9ca7545e9770fb575517b6b724cfa869ad89bb4029582055dcf5d24d9b70fb6c45283a4617f34f52d
|
|
7
|
+
data.tar.gz: 5cb05405ad5e9ed2e8f2ab45a871d73f8fe193da66338086f959cf33e82a29178bfc7d858abe58af3434f9c3caaaf43f7e51f9facd4caaa508e0a0c560386412
|
data/exe/pinel-new
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require "fileutils"
|
|
5
|
+
|
|
6
|
+
if ARGV.empty?
|
|
7
|
+
puts "Usage: pinel-new <site-name>"
|
|
8
|
+
exit 1
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
name = ARGV[0]
|
|
12
|
+
|
|
13
|
+
if File.exist?(name)
|
|
14
|
+
puts "Error: '#{name}' already exists."
|
|
15
|
+
exit 1
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
FileUtils.mkdir_p("#{name}/_docs")
|
|
19
|
+
|
|
20
|
+
# _config.yml
|
|
21
|
+
File.write("#{name}/_config.yml", <<~YAML)
|
|
22
|
+
title: #{name}
|
|
23
|
+
description: "A short tagline for your product."
|
|
24
|
+
url: ""
|
|
25
|
+
baseurl: ""
|
|
26
|
+
|
|
27
|
+
theme: pinel-theme
|
|
28
|
+
|
|
29
|
+
collections:
|
|
30
|
+
docs:
|
|
31
|
+
output: true
|
|
32
|
+
permalink: /docs/:path/
|
|
33
|
+
|
|
34
|
+
defaults:
|
|
35
|
+
- scope:
|
|
36
|
+
path: ""
|
|
37
|
+
type: "docs"
|
|
38
|
+
values:
|
|
39
|
+
layout: "docs"
|
|
40
|
+
YAML
|
|
41
|
+
|
|
42
|
+
# Gemfile
|
|
43
|
+
File.write("#{name}/Gemfile", <<~RUBY)
|
|
44
|
+
source "https://rubygems.org"
|
|
45
|
+
|
|
46
|
+
gem "jekyll"
|
|
47
|
+
gem "pinel-theme"
|
|
48
|
+
RUBY
|
|
49
|
+
|
|
50
|
+
# index.md
|
|
51
|
+
File.write("#{name}/index.md", <<~HTML)
|
|
52
|
+
---
|
|
53
|
+
layout: home
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
<section class="hero">
|
|
57
|
+
<h1>Welcome to <span>#{name}</span></h1>
|
|
58
|
+
<div class="hero-buttons">
|
|
59
|
+
<a href="#" class="btn btn-primary" id="downloadBtn">Download Now</a>
|
|
60
|
+
<a href="{{ '/docs/getting-started/' | relative_url }}" class="btn btn-secondary">Documentation</a>
|
|
61
|
+
</div>
|
|
62
|
+
</section>
|
|
63
|
+
|
|
64
|
+
<script>
|
|
65
|
+
(function() {
|
|
66
|
+
var btn = document.getElementById('downloadBtn');
|
|
67
|
+
if (!btn) return;
|
|
68
|
+
var ua = navigator.userAgent;
|
|
69
|
+
if (/Mac/i.test(ua)) {
|
|
70
|
+
btn.textContent = 'Download for macOS';
|
|
71
|
+
btn.href = '#download-macos';
|
|
72
|
+
} else if (/Win/i.test(ua)) {
|
|
73
|
+
btn.textContent = 'Download for Windows';
|
|
74
|
+
btn.href = '#download-windows';
|
|
75
|
+
} else if (/Linux/i.test(ua)) {
|
|
76
|
+
btn.textContent = 'Download for Linux';
|
|
77
|
+
btn.href = '#download-linux';
|
|
78
|
+
}
|
|
79
|
+
})();
|
|
80
|
+
</script>
|
|
81
|
+
|
|
82
|
+
<section class="features">
|
|
83
|
+
<div class="features-col">
|
|
84
|
+
<h2>Features</h2>
|
|
85
|
+
|
|
86
|
+
<div class="feature-group">
|
|
87
|
+
<h3>Fast</h3>
|
|
88
|
+
<ul>
|
|
89
|
+
<li>Blazing fast performance out of the box</li>
|
|
90
|
+
<li>Zero-config setup to get started in seconds</li>
|
|
91
|
+
</ul>
|
|
92
|
+
</div>
|
|
93
|
+
|
|
94
|
+
<div class="feature-group">
|
|
95
|
+
<h3>Flexible</h3>
|
|
96
|
+
<ul>
|
|
97
|
+
<li>Works with your existing tools and workflows</li>
|
|
98
|
+
<li>Deploy anywhere you want</li>
|
|
99
|
+
</ul>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<div class="features-video">
|
|
104
|
+
<div class="video-placeholder" style="width:100%;aspect-ratio:16/9;background:#262637;border:2px dashed #3a3a52;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#9399b2;">
|
|
105
|
+
Replace with your video embed
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</section>
|
|
109
|
+
HTML
|
|
110
|
+
|
|
111
|
+
# _docs/getting-started.md
|
|
112
|
+
File.write("#{name}/_docs/getting-started.md", <<~MD)
|
|
113
|
+
---
|
|
114
|
+
title: Getting Started
|
|
115
|
+
description: Learn how to install and set up #{name}.
|
|
116
|
+
category: Basics
|
|
117
|
+
order: 1
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Installation
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Add your install instructions here
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Quick Start
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
# Add your quick start steps here
|
|
130
|
+
```
|
|
131
|
+
MD
|
|
132
|
+
|
|
133
|
+
puts "Created site at #{name}/"
|
|
134
|
+
puts ""
|
|
135
|
+
puts " cd #{name}"
|
|
136
|
+
puts " bundle install"
|
|
137
|
+
puts " bundle exec jekyll serve"
|
metadata
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pinel-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kashsuks
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
@@ -42,7 +42,8 @@ description: Dark themed Jekyll theme with docs support, search, and a clean lan
|
|
|
42
42
|
page.
|
|
43
43
|
email:
|
|
44
44
|
- ''
|
|
45
|
-
executables:
|
|
45
|
+
executables:
|
|
46
|
+
- pinel-new
|
|
46
47
|
extensions: []
|
|
47
48
|
extra_rdoc_files: []
|
|
48
49
|
files:
|
|
@@ -57,6 +58,7 @@ files:
|
|
|
57
58
|
- _layouts/home.html
|
|
58
59
|
- _sass/pinel.scss
|
|
59
60
|
- assets/css/style.scss
|
|
61
|
+
- exe/pinel-new
|
|
60
62
|
homepage: https://github.com/kashsuks/theme
|
|
61
63
|
licenses:
|
|
62
64
|
- MIT
|