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:
Iván Sánchez Ortega 2016-09-27 15:08:37 +02:00 committed by Vladimir Agafonkin
parent 8391bcece0
commit d1c3b45773
5 changed files with 16 additions and 26 deletions

View File

@ -9,8 +9,8 @@
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %} {% 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="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" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
<style> <style>
#map { #map {

View File

@ -34,8 +34,8 @@
<link rel="stylesheet" href="{{ root }}docs/highlight/styles/github-gist.css" /> <link rel="stylesheet" href="{{ root }}docs/highlight/styles/github-gist.css" />
<!-- Leaflet --> <!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.css" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
{% if page.css %}<style>{{ page.css }}</style>{% endif %} {% if page.css %}<style>{{ page.css }}</style>{% endif %}
@ -73,7 +73,7 @@
{% if page.title == 'Documentation' %} {% if page.title == 'Documentation' %}
<span>Docs</span> <span>Docs</span>
{% else %} {% else %}
<a href="{{ root }}reference.html">Docs</a> <a href="{{ root }}reference-1.0.0.html">Docs</a>
{% endif %} {% endif %}
</li> </li>
<li> <li>

View File

@ -12,17 +12,17 @@ bodyclass: download-page
<th>Description</th> <th>Description</th>
</tr> </tr>
<tr> <tr>
<td class="width100"><a href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.zip">Leaflet 0.7.7</a></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 November 18, 2013 and last updated on October 26, 2015.</td> <td>Stable version, released on September 27, 2016.</td>
</tr> </tr>
<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><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.1-dev</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>In-progress version, developed on the <code>master</code> branch.</td> <td>In-progress version, developed on the <code>master</code> branch.</td>
</tr> </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> </table>
[View Changelog](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md) [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 &mdash; to start using The latest stable Leaflet release is hosted on a CDN &mdash; to start using
it straight away, place this in the `head` of your HTML code: 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" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@0.7.7/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.0.0/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>
### Using a Downloaded Version of Leaflet ### Using a Downloaded Version of Leaflet

View File

@ -8,9 +8,7 @@ bodyclass: api-page
<p>This reference reflects <strong>Leaflet 1.0.0</strong>.</p> <p>This reference reflects <strong>Leaflet 1.0.0</strong>.</p>
<p>Docs for 0.7 are <a href='reference.html'>available here</a>. <p>Docs for the legacy 0.7.x versions 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>
<div id="toc" class="clearfix"> <div id="toc" class="clearfix">
<div class="toc-col map-col"> <div class="toc-col map-col">

View File

@ -6,13 +6,10 @@ bodyclass: api-page
<h2>API Reference</h2> <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>. <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 id="toc" class="clearfix">
<div class="toc-col map-col"> <div class="toc-col map-col">
<h4>Map</h4> <h4>Map</h4>