Skip to content

Commit

Permalink
Merge ae2d795 into 6d46e4b
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmcmlxxvi committed Feb 5, 2022
2 parents 6d46e4b + ae2d795 commit bb01959
Show file tree
Hide file tree
Showing 71 changed files with 19,765 additions and 9,643 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build

on: ["push", "pull_request"]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: npm install, npm test
run: |
npm install
npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: release

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",
"ignoreFiles": ["docs/web/css/github.css"]
}
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/api/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/external-ol.control.Control.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/external-ol.control.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/external-ol.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/externals.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
7 changes: 3 additions & 4 deletions docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@
<article><h1>OpenLayers Turf</h1>
<p><a href="https://travis-ci.org/dpmcmlxxvi/olturf"><img src="https://travis-ci.org/dpmcmlxxvi/olturf.svg?branch=master" alt="build"></a>
<a href="https://coveralls.io/r/dpmcmlxxvi/olturf?branch=master"><img src="https://img.shields.io/coveralls/dpmcmlxxvi/olturf.svg" alt="coverage"></a>
<a href="https://www.codacy.com/app/dpmcmlxxvi/olturf?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dpmcmlxxvi/olturf&amp;utm_campaign=Badge_Grade"><img src="https://img.shields.io/codacy/grade/44810a70e6a34122818dfa31e4304c50.svg" alt="codacy"></a>
<a href="https://badge.fury.io/js/olturf"><img src="https://badge.fury.io/js/olturf.svg" alt="npm"></a>
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/dpmcmlxxvi/olturf.svg" alt="greenkeeper"></a></p>
<a href="https://www.codacy.com/gh/dpmcmlxxvi/olturf/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dpmcmlxxvi/olturf&amp;utm_campaign=Badge_Grade"><img src="https://app.codacy.com/project/badge/Grade/c8c1b0c8b3c842df96a08276fe3cb69a" alt="codacy"></a>
<a href="https://badge.fury.io/js/olturf"><img src="https://badge.fury.io/js/olturf.svg" alt="npm"></a></p>
<p><a href="https://github.com/dpmcmlxxvi/olturf">OpenLayers Turf</a> (olturf) is a
<a href="http://turfjs.org/">Turf</a> toolbar for <a href="http://openlayers.org/">OpenLayers</a>.
The toolbar provides the following features:</p>
Expand Down Expand Up @@ -201,7 +200,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/namespaces.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/olturf.Toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/olturf.html
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/olturf.toolbars.html
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ <h4 class="modal-title">Search results</h4>


<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/quicksearch.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body {
}

.intro-header {
padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
color: #f8f8f8;
Expand All @@ -40,7 +40,7 @@ body {
.intro-divider {
width: 100%;
border-top: 1px solid #f8f8f8;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(0 0 0 / 20%);
}

.intro-message > h3 {
Expand Down
8 changes: 2 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@ <h3>
<hr class="intro-divider" />
<ul class="list-inline intro-social-buttons">
<li>
<a href="./web/" class="btn btn-default btn-lg">
Home
</a>
<a href="./web/" class="btn btn-default btn-lg"> Home </a>
</li>
<li>
<a href="./api" class="btn btn-default btn-lg">
API
</a>
<a href="./api" class="btn btn-default btn-lg"> API </a>
</li>
</ul>
</div>
Expand Down
10 changes: 4 additions & 6 deletions docs/web/demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h2>Standard toolbar</h2>
const toolbar = new olturf.Toolbar();
map.addControl(toolbar);
&lt;/script&gt;</code></pre>
<div id="toolbar-standard" style="height: 350px; width: 100%;"></div>
<div id="toolbar-standard" style="height: 350px; width: 100%"></div>
</div>
</div>
<div class="row">
Expand Down Expand Up @@ -157,7 +157,7 @@ <h2>Multiple toolbars</h2>
});
map.addControl(toolfoo);
&lt;/script&gt;</code></pre>
<div id="toolbar-multiple" style="height: 350px; width: 100%;"></div>
<div id="toolbar-multiple" style="height: 350px; width: 100%"></div>
</div>
</div>
<div class="row">
Expand All @@ -182,7 +182,7 @@ <h2>Custom handler</h2>
});
map.addControl(toolbar);
&lt;/script&gt;</code></pre>
<div id="toolbar-options" style="height: 350px; width: 100%;"></div>
<div id="toolbar-options" style="height: 350px; width: 100%"></div>
</div>
</div>
</div>
Expand All @@ -199,9 +199,7 @@ <h2>Custom handler</h2>
CC BY 4.0
</a>
license. Icons are from
<a href="http://trac.osgeo.org/osgeo/wiki">
OSGeo
</a>
<a href="http://trac.osgeo.org/osgeo/wiki"> OSGeo </a>
and released under the
<a href="http://creativecommons.org/licenses/by-sa/3.0/">
CC BY 3.0
Expand Down
4 changes: 1 addition & 3 deletions docs/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ <h2>Example</h2>
CC BY 4.0
</a>
license. Icons are from
<a href="http://trac.osgeo.org/osgeo/wiki">
OSGeo
</a>
<a href="http://trac.osgeo.org/osgeo/wiki"> OSGeo </a>
and released under the
<a href="http://creativecommons.org/licenses/by-sa/3.0/">
CC BY 3.0
Expand Down
2 changes: 1 addition & 1 deletion docs/web/multiple.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</style>
</head>
<body>
<div id="map" style="height: 750px; width: 100%;"></div>
<div id="map" style="height: 750px; width: 100%"></div>

<script src="https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js"></script>
<script src="https://unpkg.com/@turf/turf@5.1.6/turf.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/web/standard.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/>
</head>
<body>
<div id="map" style="height: 750px; width: 100%;"></div>
<div id="map" style="height: 750px; width: 100%"></div>

<script src="https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js"></script>
<script src="https://unpkg.com/@turf/turf@5.1.6/turf.min.js"></script>
Expand Down
10 changes: 3 additions & 7 deletions docs/web/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h2>Example</h2>
const map = new ol.Map({...});
map.addControl(toolbar);
&lt;/script&gt;</code></pre>
<div id="map" style="height: 350px; width: 100%;"></div>
<div id="map" style="height: 350px; width: 100%"></div>
</div>
</div>
<div class="row">
Expand All @@ -137,9 +137,7 @@ <h2>Options</h2>
<code>options</code> argument is a
<code>ol.control.Control</code> options object with an additional
<code>olturf</code> property. For a complete description see the
<a href="../api/olturf.Toolbar.html">
olturf.Toolbar
</a>
<a href="../api/olturf.Toolbar.html"> olturf.Toolbar </a>
documentation.
<br />
<br />
Expand Down Expand Up @@ -170,9 +168,7 @@ <h2>Options</h2>
CC BY 4.0
</a>
license. Icons are from
<a href="http://trac.osgeo.org/osgeo/wiki">
OSGeo
</a>
<a href="http://trac.osgeo.org/osgeo/wiki"> OSGeo </a>
and released under the
<a href="http://creativecommons.org/licenses/by-sa/3.0/">
CC BY 3.0
Expand Down

0 comments on commit bb01959

Please sign in to comment.