doc_pages 0.1.3 → 0.1.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eab0ae09a7ba3a053cc168b6d40e2eddd8e803f41f28d268f97a9baa7fc18cfa
|
|
4
|
+
data.tar.gz: 1c2600838411eba3348d81d86f66fa24872d2b38ee45c381e55db043e73053f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
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>
|
data/lib/doc_pages/version.rb
CHANGED
|
@@ -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
|