mirror of
https://github.com/snachodog/just-the-docs.git
synced 2026-06-04 04:37:15 -06:00
fix rake task
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
,nit do
|
task :init do
|
||||||
touch search-data.json
|
touch search-data.json
|
||||||
|
|
||||||
File.open('search-data.json', 'w') do |f|
|
File.open('search-data.json', 'w') do |f|
|
||||||
@@ -13,9 +13,6 @@
|
|||||||
"url": "{{ page.url | xml_escape }}"
|
"url": "{{ page.url | xml_escape }}"
|
||||||
}{% if forloop.last %}{% else %},
|
}{% if forloop.last %}{% else %},
|
||||||
{% endif %}{% endfor %}
|
{% endif %}{% endfor %}
|
||||||
}
|
}'
|
||||||
|
|
||||||
end
|
|
||||||
end'
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user