Point download and CDN to 1.0.0 (final), point docs to 1.0.0, rm 0.6 doc stuff (#4948)
This commit is contained in:
parent
8391bcece0
commit
d1c3b45773
@ -9,8 +9,8 @@
|
||||
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ root }}docs/images/favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
|
||||
|
||||
<style>
|
||||
#map {
|
||||
|
@ -34,8 +34,8 @@
|
||||
<link rel="stylesheet" href="{{ root }}docs/highlight/styles/github-gist.css" />
|
||||
|
||||
<!-- Leaflet -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
|
||||
|
||||
{% if page.css %}<style>{{ page.css }}</style>{% endif %}
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
{% if page.title == 'Documentation' %}
|
||||
<span>Docs</span>
|
||||
{% else %}
|
||||
<a href="{{ root }}reference.html">Docs</a>
|
||||
<a href="{{ root }}reference-1.0.0.html">Docs</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li>
|
||||
|
@ -12,17 +12,17 @@ bodyclass: download-page
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="width100"><a href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.zip">Leaflet 0.7.7</a></td>
|
||||
<td>Stable version, released on November 18, 2013 and last updated on October 26, 2015.</td>
|
||||
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.0/leaflet.zip">Leaflet 1.0.0</a></td>
|
||||
<td>Stable version, released on September 27, 2016.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.3/leaflet.zip">Leaflet 1.0.0-rc3</a></td>
|
||||
<td>Last 1.0 release candidate, released on August 5, 2016.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.0-dev</a></td>
|
||||
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.1-dev</a></td>
|
||||
<td>In-progress version, developed on the <code>master</code> branch.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="width100"><a href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.zip">Leaflet 0.7.7</a></td>
|
||||
<td>Legacy version, released on November 18, 2013 and last updated on October 26, 2015.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[View Changelog](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md)
|
||||
@ -35,13 +35,8 @@ so please read the changelog carefully when upgrading to it.
|
||||
The latest stable Leaflet release is hosted on a CDN — to start using
|
||||
it straight away, place this in the `head` of your HTML code:
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@0.7.7/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@0.7.7/dist/leaflet.js"></script>
|
||||
|
||||
or
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
|
||||
|
||||
### Using a Downloaded Version of Leaflet
|
||||
|
||||
|
@ -8,9 +8,7 @@ bodyclass: api-page
|
||||
|
||||
<p>This reference reflects <strong>Leaflet 1.0.0</strong>.</p>
|
||||
|
||||
<p>Docs for 0.7 are <a href='reference.html'>available here</a>.
|
||||
|
||||
Docs for 0.6 are available <a href="https://github.com/Leaflet/Leaflet/archive/gh-pages-0.6.zip">in the source form</a> (see <a href="https://github.com/Leaflet/Leaflet/blob/master/CONTRIBUTING.md#improving-documentation">instructions for running docs</a>).</p>
|
||||
<p>Docs for the legacy 0.7.x versions are <a href='reference.html'>available here</a>.
|
||||
|
||||
<div id="toc" class="clearfix">
|
||||
<div class="toc-col map-col">
|
||||
|
@ -6,13 +6,10 @@ bodyclass: api-page
|
||||
|
||||
<h2>API Reference</h2>
|
||||
|
||||
<p>This reference reflects <strong>Leaflet 0.7</strong>.</p>
|
||||
<p>This reference reflects <strong>Leaflet 0.7.x</strong>.</p>
|
||||
|
||||
<p>Docs for 1.0 are <a href='reference-1.0.0.html'>available here</a>.
|
||||
|
||||
Docs for 0.6 are available <a href="https://github.com/Leaflet/Leaflet/archive/gh-pages-0.6.zip">in the source form</a> (see <a href="https://github.com/Leaflet/Leaflet/blob/master/CONTRIBUTING.md#improving-documentation">instructions for running docs</a>).</p>
|
||||
|
||||
|
||||
<div id="toc" class="clearfix">
|
||||
<div class="toc-col map-col">
|
||||
<h4>Map</h4>
|
||||
|
Loading…
Reference in New Issue
Block a user