Skip to content

Commit

Permalink
update for Leaflet 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
drewda committed Jan 30, 2019
1 parent 89b1ece commit 7046a79
Show file tree
Hide file tree
Showing 15 changed files with 28,230 additions and 81 deletions.
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>isDashDocset</key>
<true/>
<key>dashIndexFilePath</key>
<string>leafletjs.com/reference-1.0.0.html</string>
<string>leafletjs.com/reference-1.3.4.html</string>
<key>isJavaScriptEnabled</key>
<true/>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Leaflet.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<entry>
<version>1.0</version>
<url>https://github.com/drewda/leaflet-docset/raw/2016.11.02-1.0.0/dist/Leaflet.tgz</url>
<url>https://github.com/drewda/leaflet-docset/raw/2019.01.30-1.3.4/dist/Leaflet.tgz</url>
</entry>
7 changes: 4 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
require 'sqlite3'
require 'nokogiri'

DOC_URL = "http://leafletjs.com/reference-1.0.0.html"
FILE_NAME = "reference-1.3.4.html"
DOC_URL = "http://leafletjs.com/#{FILE_NAME}"

task :default => [
:fetch_docs,
Expand Down Expand Up @@ -55,7 +56,7 @@ private
end

def html_file_path
docset_contents_path + 'Resources/Documents/leafletjs.com/reference-1.0.0.html'
docset_contents_path + "Resources/Documents/leafletjs.com/#{FILE_NAME}"
end

def open_html_file
Expand All @@ -76,7 +77,7 @@ private
end

def parse_doc_into_db(doc, db)
file_name = './leafletjs.com/reference-1.0.0.html'
file_name = "./leafletjs.com/#{FILE_NAME}"
doc.css('h2').each do |heading2|
name = heading2.content
type = determine_type(heading2)
Expand Down
Binary file modified dist/Leaflet.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/leaflet.docset/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>isDashDocset</key>
<true/>
<key>dashIndexFilePath</key>
<string>leafletjs.com/reference-1.0.0.html</string>
<string>leafletjs.com/reference-1.3.4.html</string>
<key>isJavaScriptEnabled</key>
<true/>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ table td code b {
font-weight: normal;
}

iframe {
border: none;
}


/* headings */

Expand Down Expand Up @@ -388,6 +392,12 @@ h3.tagline {
background-size: 106px;
}

.logo-openstreetmap {
background-position: 50% -796px;
width: 160px;
height: 56px;
}

.features {
-webkit-column-count: 3;
-moz-column-count: 3;
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7046a79

Please sign in to comment.