Split out Android examples to separate documentation site (#2978)

This commit is contained in:
Bart Louwers
2024-11-13 18:19:42 +01:00
committed by GitHub
parent 0bac36d8f6
commit b4b779dd29
41 changed files with 2923 additions and 1085 deletions

View File

@@ -143,8 +143,11 @@ jobs:
- name: Build libmaplibre.so for arm-v8
run: make android-lib-arm-v8
- name: Build documentation
- name: Build API documentation
run: ./gradlew dokkaHtml
- name: Build Examples documentation
run: make mkdocs-build
- name: Copy developer config with API key for UI tests
if: github.ref == 'refs/heads/main'

View File

@@ -0,0 +1,30 @@
name: gh-pages-android-examples
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'platform/android/**'
jobs:
gh-pages-android-examples:
runs-on: ubuntu-latest
defaults:
run:
working-directory: platform/android
shell: bash
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Generate documentation
run: make mkdocs-build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
branch: gh-pages
folder: platform/android/site
target-folder: maplibre-native/android/examples/