doc_pages 0.1.3 → 0.1.4

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: 441b0c00b4ebca369d2cafd705670f4b4e306b643ab44576ff1aa3ed2f6b32c2
4
- data.tar.gz: 1fb16f6b491d17502e83f2ea2e23bf7439d66759da8aeb8aa0bbebb1f0c79636
3
+ metadata.gz: eab0ae09a7ba3a053cc168b6d40e2eddd8e803f41f28d268f97a9baa7fc18cfa
4
+ data.tar.gz: 1c2600838411eba3348d81d86f66fa24872d2b38ee45c381e55db043e73053f8
5
5
  SHA512:
6
- metadata.gz: 28873beaaa711bb88c6fe6d0ae2bba0a1e0faa08d94dabcfa9c85ff5223367a386c025c437dc67882262354b4e3c04345dfd85f73fbd947ca5144f5b7f482feb
7
- data.tar.gz: 0fa3c5a6e57a83f3402e5a54de1350287d6bb0230bb095d9fff7ca6c0e9bb5973d967f2e4900c31aa60e8bcaa7cda3b1253db885ecd2a2c308d5577fd74969e9
6
+ metadata.gz: d53a47d0dc17d8d588fdb40758956321a304ba8111098aee518ba4d85298de0ca8c09043d62c28ffc8ad4168145d32efa12f316288d47549ac83aae16a02aa4e
7
+ data.tar.gz: 92eb42b2adf40fd99f53d619fd8a4995de392af44fcedaa6beddd3264e62e92e4ac772f897a9b991330ab18ddc53ead3185c60387fe2a626232b7a77d06b4a2a
@@ -1,7 +1,7 @@
1
1
  <!-- Static sidebar for desktop -->
2
2
  <div class="hidden md:fixed md:inset-y-0 md:z-50 md:flex md:w-72 md:flex-col">
3
3
  <!-- Sidebar component, swap this element with another sidebar if you like -->
4
- <div class="flex grow flex-col gap-y-5 overflow-y-auto bg-gray-900 px-6">
4
+ <div class="flex grow flex-col gap-y-5 -auto bg-gray-900 px-6">
5
5
  <div class="flex h-16 shrink-0 items-center">
6
6
  <h2 class="text-2xl text-white">DocPages</h2>
7
7
  </div>
@@ -42,7 +42,7 @@
42
42
  </button>
43
43
  </div>
44
44
  <!-- Sidebar component, swap this element with another sidebar if you like -->
45
- <div class="flex grow flex-col gap-y-5 overflow-y-auto bg-gray-900 px-6 pb-2 ring-1 ring-white/10">
45
+ <div class="flex grow flex-col gap-y-5 -auto bg-gray-900 px-6 pb-2 ring-1 ring-white/10">
46
46
  <div class="flex h-16 shrink-0 items-center">
47
47
  <h2 class="text-2xl text-white">Docs</h2>
48
48
  </div>
@@ -1,4 +1,4 @@
1
- <div class="overflow-y-scroll">
1
+ <div class="">
2
2
  <%= render_grouped %>
3
3
  <%= render_orphans %>
4
4
  </div>
@@ -1,3 +1,3 @@
1
1
  module DocPages
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -26,17 +26,14 @@ class DocsGenerator < Rails::Generators::NamedBase
26
26
  end
27
27
 
28
28
  def mount_engine
29
- puts "Mounting Docs::Engine at \"/docs\" in config/routes.rb"
30
29
  route "mount DocPages::Engine, at: \"/docs\""
31
30
  end
32
31
 
33
32
  def copy_home_page
34
- puts "Copying home page to app/views/docs/home.html.md"
35
33
  copy_file "home.html.md", "app/views/docs/home.html.md"
36
34
  end
37
35
 
38
36
  def append_to_manifest
39
- puts "Appending to app/assets/config/manifest.js"
40
37
  append_to_file "app/assets/config/manifest.js" do
41
38
  "//= link doc_pages/application.css\n"
42
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - lbp