utopia-project 0.25.0 → 0.26.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 415a85cb36320cacb5c06f947cf16d22cc83531a7b2159d581eea28985d35eb2
4
- data.tar.gz: ded7b92cddfe2956685e1af91daef04a15f196b8c499bee7cb20f9966c2a64ca
3
+ metadata.gz: 031a2fb7688d5c5e60678e60f0a216ea55039da6a5a4bf141e8386edf54514f3
4
+ data.tar.gz: 3736adf1368a145efad98b7328e5bc08d3ac379eaf54395f859abd10f40bbe58
5
5
  SHA512:
6
- metadata.gz: 8623fb0fe30715f9d5c0049c2d865b0b7a76f7061151acac172ab50cb7e5147142292415b625a055ca9b98f4d22ca45e8af1d9786e792e8387943993f3c01a9f
7
- data.tar.gz: dd75841d0306e83655628f7f9424435818327c30fb5bbf7848939839f9d3df73e8f9fc5c3d6bef185218aa067f8d78412258e085803afda591ca0fc9ae28bfea
6
+ metadata.gz: 6dd5cc41d3b475b025186b7b5bc00c00255b78f73e360e13a160e54e134af79091f40eb5661a6659bee524af8ed2b7c20f1dddf0c26fa545c4fa7dc3373f82e8
7
+ data.tar.gz: ab196b8b02a0bd98251c6b2d34e8076a991d2d9ab94efc8a563846dad4310418d05701d3335e53cfc4322fd1e73336e45755c55b7cd1cb43797916f2c395cee4
checksums.yaml.gz.sig CHANGED
Binary file
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Utopia
7
7
  module Project
8
- VERSION = "0.25.0"
8
+ VERSION = "0.26.1"
9
9
  end
10
10
  end
data/pages/_header.xnode CHANGED
@@ -7,8 +7,8 @@
7
7
  end
8
8
 
9
9
  if link = links(path.dirname, name: path.last, locale: localization.current_locale, indices: true).first
10
- if replace = link[:replace]&.to_sym
11
- ?> &rsaquo; #{link.to_href(content: controller[:base].public_send(replace))}<?r
10
+ if replace = link[:replace]&.to_sym and base = controller[:base]
11
+ ?> &rsaquo; #{link.to_href(content: base.public_send(replace))}<?r
12
12
  else
13
13
  ?> &rsaquo; #{link.to_href}<?r
14
14
  end
data/pages/controller.rb CHANGED
@@ -5,11 +5,12 @@
5
5
 
6
6
  prepend Actions
7
7
 
8
- on 'index' do
8
+ on '**' do
9
9
  @base = Utopia::Project::Base.instance
10
-
10
+ end
11
+
12
+ on 'index' do
11
13
  if @document = @base.readme_document
12
-
13
14
  @document.replace_section("Usage") do |header|
14
15
  header.insert_after(@document.html_node("<content:usage/>"))
15
16
  end
@@ -5,13 +5,7 @@
5
5
 
6
6
  prepend Actions
7
7
 
8
- on 'index' do
9
- @base = Utopia::Project::Base.instance
10
- end
11
-
12
8
  on '**/*/index' do |request, path|
13
- @base = Utopia::Project::Base.instance
14
-
15
9
  name = path.components[-2]
16
10
 
17
11
  @guide = @base.guides.find do |guide|
@@ -5,13 +5,7 @@
5
5
 
6
6
  prepend Actions
7
7
 
8
- on 'index' do
9
- @base = Utopia::Project::Base.instance
10
- end
11
-
12
8
  on '**/*/index' do |request, path|
13
- @base = Utopia::Project::Base.instance
14
-
15
9
  @lexical_path = path.components.dup
16
10
  # Remove the last "index" part:
17
11
  @lexical_path.pop
@@ -1,2 +1,2 @@
1
1
  // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
2
- Syntax.brushes.dependency("trenni","xml");Syntax.brushes.dependency("trenni","ruby");Syntax.register("trenni",function(a){a.push({pattern:/((<\?r)([\s\S]*?)(\?>))/gm,matches:Syntax.extractMatches({klass:"ruby-tag",allow:["keyword","ruby"]},{klass:"keyword"},{brush:"ruby"},{klass:"keyword"})});a.push({pattern:/((#{)([\s\S]*?)(}))/gm,matches:Syntax.extractMatches({klass:"ruby-tag",allow:["keyword","ruby"]},{klass:"keyword"},{brush:"ruby"},{klass:"keyword"})});a.derives("xml")});
2
+ Syntax.brushes.dependency("xrb","xml");Syntax.brushes.dependency("xrb","ruby");Syntax.register("xrb",function(a){a.push({pattern:/((<\?r)([\s\S]*?)(\?>))/gm,matches:Syntax.extractMatches({klass:"ruby-tag",allow:["keyword","ruby"]},{klass:"keyword"},{brush:"ruby"},{klass:"keyword"})});a.push({pattern:/((#{)([\s\S]*?)(}))/gm,matches:Syntax.extractMatches({klass:"ruby-tag",allow:["keyword","ruby"]},{klass:"keyword"},{brush:"ruby"},{klass:"keyword"})});a.derives("xml")});
@@ -37,10 +37,6 @@ p code:first-child, p code:last-child {
37
37
  padding: 0;
38
38
  }
39
39
 
40
- p img {
41
- max-width: 100%;
42
- }
43
-
44
40
  pre {
45
41
  /* -moz-tab-size is still required by Firefox */
46
42
  --tab-size: 2;
@@ -107,6 +103,10 @@ main {
107
103
  max-width: 48rem;
108
104
  }
109
105
 
106
+ main img {
107
+ max-width: 100%;
108
+ }
109
+
110
110
  :target {
111
111
  background-color: var(--header-color);
112
112
  }
data/readme.md CHANGED
@@ -42,11 +42,11 @@ We welcome contributions to this project.
42
42
 
43
43
  ### Developer Certificate of Origin
44
44
 
45
- This project uses the [Developer Certificate of Origin](https://developercertificate.org/). All contributors to this project must agree to this document to have their contributions accepted.
45
+ In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
46
46
 
47
- ### Contributor Covenant
47
+ ### Community Guidelines
48
48
 
49
- This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
49
+ This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
50
50
 
51
51
  ## See Also
52
52
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -40,7 +40,7 @@ cert_chain:
40
40
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
41
41
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
42
42
  -----END CERTIFICATE-----
43
- date: 2024-05-03 00:00:00.000000000 Z
43
+ date: 2024-07-22 00:00:00.000000000 Z
44
44
  dependencies:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: decode
@@ -166,7 +166,6 @@ files:
166
166
  - pages/source/index.xnode
167
167
  - pages/source/show.xnode
168
168
  - public/.DS_Store
169
- - public/.nojekyll
170
169
  - public/_components/.DS_Store
171
170
  - public/_components/jquery-litebox/jquery.litebox.css
172
171
  - public/_components/jquery-litebox/jquery.litebox.gallery.css
@@ -248,6 +247,7 @@ files:
248
247
  - public/_static/icon.png
249
248
  - public/_static/links.js
250
249
  - public/_static/site.css
250
+ - public/robots.txt
251
251
  - readme.md
252
252
  - template/Gemfile
253
253
  - template/config.ru
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
273
  - !ruby/object:Gem::Version
274
274
  version: '0'
275
275
  requirements: []
276
- rubygems_version: 3.5.3
276
+ rubygems_version: 3.5.11
277
277
  signing_key:
278
278
  specification_version: 4
279
279
  summary: A project documentation tool based on Utopia.
metadata.gz.sig CHANGED
Binary file
File without changes