-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
9,194 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: "Deploy docs to GHPages" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['main', 'website'] | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
version: 1.3.340 | ||
|
||
- name: Setup R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: R Dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Render and publish to GitHub Pages (and render) | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
node_modules/ | ||
|
||
.Rproj.user | ||
|
||
/.quarto/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
project: | ||
type: website | ||
output-dir: docs | ||
render: | ||
- index.qmd | ||
|
||
website: | ||
title: "Maplibre GL JS Bindings for R and Python" | ||
description: "Build interactive maps using R and Python" | ||
open-graph: true | ||
repo-url: https://github.com/eodaGmbH/maplibre-bindings | ||
repo-actions: [edit, issue] | ||
page-navigation: true | ||
page-footer: | ||
right: | ||
- icon: github | ||
href: https://github.com/eodaGmbH/maplibre-bindings | ||
aria-label: Maplibre bindings site GitHub | ||
|
||
navbar: | ||
background: primary | ||
pinned: true | ||
left: | ||
- href: index.qmd | ||
text: Home | ||
|
||
format: | ||
html: | ||
theme: [sandstone] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"objectID": "index.html", | ||
"href": "index.html", | ||
"title": "Maplibre GL JS Bindings for R and Python", | ||
"section": "", | ||
"text": "MapLibre GL JS bindings for R and Python\n\nRPython\n\n\nMapLibre for R provides R bindings for MapLibre GL JS.\nIt integrates seamlessly into Shiny, Quarto and Jupyter.\n\nlibrary(maplibre)\n\nmaplibre(map_options = mapOptions(center=c(-123.1256, 49.24658), zoom = 9))\n\n\n\n\n\n\n\nMapLibre for Python provides Python bindings for MapLibre GL JS.\nIt integrates seamlessly into Shiny for Python, Quarto and Jupyter.\n\nfrom maplibre import Map, MapOptions\n\nMap(MapOptions(center=(-123.1256, 49.24658), zoom=9))\n\n\n\n\nMy Awesome Map" | ||
} | ||
] |
Oops, something went wrong.