Skip to content

Commit

Permalink
feat: Refresh docs (#416)
Browse files Browse the repository at this point in the history
* WIP, switch to mkdocs

* chore: upgrade node

* WIP: add example stubs

* doc: add arg type docs

* docs: finish first example in ts

* fix: example layout

* docs: add font awesome for icons on control btns

* docs: import wmts example

* fix: ts type warnings

* docs: reimport list storage

* feat: just examples is enough

* docs: add doc howto start examples

* chore: switch to main branch
  • Loading branch information
allartk authored Nov 28, 2024
1 parent 18242ec commit 554c867
Show file tree
Hide file tree
Showing 71 changed files with 3,432 additions and 17,644 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ updates:
directory: '/'
schedule:
interval: 'monthly'
target-branch: 'master'
target-branch: 'main'
versioning-strategy: increase-if-necessary
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: "direct"
commit-message:
prefix: fix
prefix-development: chore
include: scope
include: scope
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ on:
pull_request: ~
push:
branches:
- develop
- master
- main
jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -15,7 +14,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 20
check-latest: true

- name: Cache dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

This library can be used to create maps, which are still available when you are offline and are fast when your connection is not. It works in the browser or can be used in an mobile app based on html and in progressive webapps.

- [examples](http://allartk.github.io/leaflet.offline/)
- [api docs](docs/api.md)
- [examples](https://github.com/allartk/leaflet.offline/tree/main/examples)

## Dependencies

Expand Down Expand Up @@ -48,7 +47,7 @@ npm install && npm run start

**pull requests welcome**

* You MUST test your code with `npm test` and `npm run lint`.
* You MUST test your code with `npm test` and `npm run lint`.
* Please one feature at a time, if you can split your PR, please do so.
* Also, do not mix a feature with package updates.
* [Use commit message conventions](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#rules)
Expand Down
12 changes: 0 additions & 12 deletions docs/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs/.gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions docs/README.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/_config.dev.yml

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_config.yml

This file was deleted.

18 changes: 0 additions & 18 deletions docs/_includes/head.html

This file was deleted.

40 changes: 0 additions & 40 deletions docs/_includes/navbar.html

This file was deleted.

28 changes: 0 additions & 28 deletions docs/_layouts/default.html

This file was deleted.

34 changes: 0 additions & 34 deletions docs/_layouts/iife.html

This file was deleted.

3 changes: 0 additions & 3 deletions docs/_sass/_main.scss

This file was deleted.

Loading

0 comments on commit 554c867

Please sign in to comment.