-
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.
docs: add gh pages support (ci); update documentation for quarto;
- Loading branch information
Showing
15 changed files
with
972 additions
and
44 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
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,65 @@ | ||
name: Build and Deploy Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-24.04 | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Set up Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Set up uv | ||
uses: astral-sh/setup-uv@v5 | ||
with: | ||
pyproject-file: "pyproject.toml" | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version-file: "pyproject.toml" | ||
|
||
- name: Install the project | ||
run: uv sync --all-extras --group docs | ||
|
||
- name: Build documentation | ||
run: | | ||
uv run quartodoc build --config docs/_quarto.yml --verbose | ||
quarto render docs | ||
- name: Upload documentation artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: "docs/_build" | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,5 +1,7 @@ | ||
# Custom | ||
|
||
/.quarto/ | ||
|
||
# VS Code files | ||
.vscode | ||
|
||
|
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,8 @@ | ||
/.quarto/ | ||
/_build/ | ||
/objects.json | ||
/_sidebar.yml | ||
/reference | ||
/latest | ||
/stable | ||
/_environment |
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,66 @@ | ||
project: | ||
type: website | ||
output-dir: _build | ||
|
||
website: | ||
title: "BEAR" | ||
description: "An integrated building entity dataset" | ||
repo-url: https://github.com/owp-spatial/bear | ||
repo-actions: [issue] | ||
repo-subdir: docs | ||
page-navigation: true | ||
navbar: | ||
background: "#003087" | ||
foreground: "#ffffff" | ||
search: true | ||
left: | ||
- text: "Reference" | ||
href: reference/ | ||
tools: | ||
- icon: github | ||
href: https://github.com/owp-spatial/bear | ||
aria-label: BEAR GitHub Repository | ||
target: _blank | ||
|
||
sidebar: | ||
- id: reference | ||
contents: "_sidebar.yml" | ||
|
||
quartodoc: | ||
style: pkgdown | ||
title: "Built Environment Asset Registry" | ||
package: bear | ||
sidebar: _sidebar.yml | ||
renderer: | ||
style: markdown | ||
show_signature_annotations: true | ||
|
||
sections: | ||
- title: Providers | ||
desc: "" | ||
contents: | ||
- package: bear.typing | ||
name: Provider | ||
- package: bear.providers.registry | ||
name: ProviderRegistry | ||
- package: bear.providers.provider_microsoft | ||
name: MicrosoftProvider | ||
- package: bear.providers.provider_nad | ||
name: NADProvider | ||
- package: bear.providers.provider_openaddresses | ||
name: OpenAddressesProvider | ||
- package: bear.providers.provider_openstreetmap | ||
name: OpenStreetMapProvider | ||
- package: bear.providers.provider_usa_structures | ||
name: USAStructuresProvider | ||
|
||
metadata-files: | ||
- _sidebar.yml | ||
|
||
parser: numpy | ||
|
||
format: | ||
html: | ||
theme: cosmo | ||
toc: true | ||
smooth-scroll: true |
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,6 @@ | ||
--- | ||
title: Built Environment Asset Registry | ||
--- | ||
|
||
**BEAR** is an integrated contintental-scale geospatial dataset for building entities. | ||
This repository contains software for generating BEAR from known sources. |
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
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,4 +0,0 @@ | ||
from bear._core import hello_from_bin | ||
|
||
def main() -> None: | ||
print(hello_from_bin()) | ||
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
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
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
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
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
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
Oops, something went wrong.