-
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.
feat: add mkdocs for generated static website
Add GitHub action to deploy static site.
- Loading branch information
Showing
53 changed files
with
8,011 additions
and
2 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,42 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: [ "main" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'site' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Welcome to MkDocs | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
|
||
## Commands | ||
|
||
* `mkdocs new [dir-name]` - Create a new project. | ||
* `mkdocs serve` - Start the live-reloading docs server. | ||
* `mkdocs build` - Build the documentation site. | ||
* `mkdocs -h` - Print help message and exit. | ||
|
||
## Project layout | ||
|
||
mkdocs.yml # The configuration file. | ||
docs/ | ||
index.md # The documentation homepage. | ||
... # Other markdown pages, images and other files. |
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 @@ | ||
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json | ||
|
||
site_name: Gather Vision | ||
site_url: https://www.anotherbyte.net/gather-vision | ||
site_dir: website | ||
|
||
theme: | ||
name: material |
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 |
---|---|---|
|
@@ -28,3 +28,8 @@ types-PyYAML | |
types-requests | ||
types-backports | ||
types-urllib3 | ||
|
||
# docs | ||
mkdocs | ||
mkdocs-material | ||
mkdocstrings |
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,265 @@ | ||
|
||
<!doctype html> | ||
<html lang="en" class="no-js"> | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<link rel="icon" href="/gather-vision/assets/images/favicon.png"> | ||
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.2"> | ||
|
||
|
||
|
||
<title>Gather Vision</title> | ||
|
||
|
||
|
||
<link rel="stylesheet" href="/gather-vision/assets/stylesheets/main.d451bc0e.min.css"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"> | ||
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style> | ||
|
||
|
||
|
||
<script>__md_scope=new URL("/gather-vision/",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
</head> | ||
|
||
|
||
<body dir="ltr"> | ||
|
||
|
||
|
||
<script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script> | ||
|
||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> | ||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off"> | ||
<label class="md-overlay" for="__drawer"></label> | ||
<div data-md-component="skip"> | ||
|
||
</div> | ||
<div data-md-component="announce"> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<header class="md-header md-header--shadow" data-md-component="header"> | ||
<nav class="md-header__inner md-grid" aria-label="Header"> | ||
<a href="/gather-vision/." title="Gather Vision" class="md-header__button md-logo" aria-label="Gather Vision" data-md-component="logo"> | ||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg> | ||
|
||
</a> | ||
<label class="md-header__button md-icon" for="__drawer"> | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg> | ||
</label> | ||
<div class="md-header__title" data-md-component="header-title"> | ||
<div class="md-header__ellipsis"> | ||
<div class="md-header__topic"> | ||
<span class="md-ellipsis"> | ||
Gather Vision | ||
</span> | ||
</div> | ||
<div class="md-header__topic" data-md-component="header-topic"> | ||
<span class="md-ellipsis"> | ||
|
||
|
||
|
||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<label class="md-header__button md-icon" for="__search"> | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> | ||
</label> | ||
<div class="md-search" data-md-component="search" role="dialog"> | ||
<label class="md-search__overlay" for="__search"></label> | ||
<div class="md-search__inner" role="search"> | ||
<form class="md-search__form" name="search"> | ||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required> | ||
<label class="md-search__icon md-icon" for="__search"> | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg> | ||
</label> | ||
<nav class="md-search__options" aria-label="Search"> | ||
|
||
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1"> | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg> | ||
</button> | ||
</nav> | ||
|
||
</form> | ||
<div class="md-search__output"> | ||
<div class="md-search__scrollwrap" data-md-scrollfix> | ||
<div class="md-search-result" data-md-component="search-result"> | ||
<div class="md-search-result__meta"> | ||
Initializing search | ||
</div> | ||
<ol class="md-search-result__list" role="presentation"></ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</nav> | ||
|
||
</header> | ||
|
||
<div class="md-container" data-md-component="container"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<main class="md-main" data-md-component="main"> | ||
<div class="md-main__inner md-grid"> | ||
|
||
|
||
|
||
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" > | ||
<div class="md-sidebar__scrollwrap"> | ||
<div class="md-sidebar__inner"> | ||
|
||
|
||
|
||
|
||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0"> | ||
<label class="md-nav__title" for="__drawer"> | ||
<a href="/gather-vision/." title="Gather Vision" class="md-nav__button md-logo" aria-label="Gather Vision" data-md-component="logo"> | ||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg> | ||
|
||
</a> | ||
Gather Vision | ||
</label> | ||
|
||
<ul class="md-nav__list" data-md-scrollfix> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="md-nav__item"> | ||
<a href="/gather-vision/." class="md-nav__link"> | ||
|
||
|
||
<span class="md-ellipsis"> | ||
Welcome to MkDocs | ||
</span> | ||
|
||
|
||
</a> | ||
</li> | ||
|
||
|
||
|
||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" > | ||
<div class="md-sidebar__scrollwrap"> | ||
<div class="md-sidebar__inner"> | ||
|
||
|
||
<nav class="md-nav md-nav--secondary" aria-label="Table of contents"> | ||
|
||
|
||
|
||
|
||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="md-content" data-md-component="content"> | ||
<article class="md-content__inner md-typeset"> | ||
|
||
<h1>404 - Not found</h1> | ||
|
||
</article> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
</main> | ||
|
||
<footer class="md-footer"> | ||
|
||
<div class="md-footer-meta md-typeset"> | ||
<div class="md-footer-meta__inner md-grid"> | ||
<div class="md-copyright"> | ||
|
||
|
||
Made with | ||
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> | ||
Material for MkDocs | ||
</a> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</footer> | ||
|
||
</div> | ||
<div class="md-dialog" data-md-component="dialog"> | ||
<div class="md-dialog__inner md-typeset"></div> | ||
</div> | ||
|
||
<script id="__config" type="application/json">{"base": "/gather-vision/", "features": [], "search": "/gather-vision/assets/javascripts/workers/search.a264c092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script> | ||
|
||
|
||
<script src="/gather-vision/assets/javascripts/bundle.726fbb30.min.js"></script> | ||
|
||
|
||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.