jekyll-theme-open-project-helpers 1.1.12 → 1.1.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e76e84f4472bd278ec8bd754cb902830941c55e19e5218628905f74193d93b
|
4
|
+
data.tar.gz: dc6c7dd65ab8fe018a015b3c6aa140613ccc1033553a7309281a3047102b7fff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15f1404db5dfec6930468190f7f8d72caf3b916611cc35897f908f5a9439d7c36b8c2226f83897a3d32e07412da1dcd15c3af28b9642043a833dc0ceac1d8e72
|
7
|
+
data.tar.gz: 4bcb3b8d178fd35b8b9645f0dfed1075880ecb7ff293a090c533b65930affe637295420ff9dedc12a5ae70a584c1627a2e8dcb8f9f56d4a42e3658c3769ebd91
|
@@ -94,17 +94,11 @@ module Jekyll
|
|
94
94
|
project_indexes.each do |project|
|
95
95
|
project_path = project.path.split('/')[0..-2].join('/')
|
96
96
|
|
97
|
-
|
97
|
+
git_shallow_checkout(
|
98
98
|
project_path,
|
99
99
|
project['site']['git_repo_url'],
|
100
100
|
['assets', '_posts', '_software', '_specs'])
|
101
101
|
|
102
|
-
if result[:newly_initialized]
|
103
|
-
CollectionDocReader.new(site).read(
|
104
|
-
project_path,
|
105
|
-
@site.collections['projects'])
|
106
|
-
end
|
107
|
-
|
108
102
|
fetch_and_read_docs_for_items('projects', 'software')
|
109
103
|
fetch_and_read_docs_for_items('projects', 'specs')
|
110
104
|
end
|
@@ -137,14 +131,14 @@ module Jekyll
|
|
137
131
|
|
138
132
|
begin
|
139
133
|
docs_checkout = git_shallow_checkout(docs_path, docs_repo, [docs_subtree])
|
134
|
+
rescue
|
135
|
+
docs_checkout = nil
|
136
|
+
end
|
140
137
|
|
138
|
+
if docs_checkout
|
141
139
|
CollectionDocReader.new(site).read(
|
142
|
-
|
140
|
+
docs_path,
|
143
141
|
@site.collections[collection_name])
|
144
|
-
|
145
|
-
rescue
|
146
|
-
docs_checkout = nil
|
147
|
-
|
148
142
|
end
|
149
143
|
|
150
144
|
# Get last repository modification timestamp.
|