Skip to content

Commit

Permalink
init mkdocs example
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Oct 6, 2023
0 parents commit f19ddac
Show file tree
Hide file tree
Showing 14 changed files with 85 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish docs via GitHub Pages
on:
push

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- name: Checkout master
uses: actions/checkout@v3

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# EXTRA_PACKAGES:
# GITHUB_DOMAIN:
REQUIREMENTS: requirements-mkdocs.txt
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
propsfile
*.bak
*.log
__pycache__
.idea/
.vscode

node_modules
build
npm-debug.log
.env
.DS_Store
.vscode/
venv
site

debug
1 change: 1 addition & 0 deletions docs/cuahsi_base/cuahsi_base.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:::cuahsi_base.cuahsi_base
1 change: 1 addition & 0 deletions docs/cuahsi_base/site_element.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:::cuahsi_base.site_element
1 change: 1 addition & 0 deletions docs/cuahsi_base/utils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:::cuahsi_base.utils
1 change: 1 addition & 0 deletions docs/dsp/dsp_macros.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: dsp.dsp_macros
1 change: 1 addition & 0 deletions docs/dsp/dsp_tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: dsp.dsp
1 change: 1 addition & 0 deletions docs/hydroclient/hc_macros.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: hydroclient.hc_macros
1 change: 1 addition & 0 deletions docs/hydroclient/hydroclient_tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: hydroclient.hydroclient
1 change: 1 addition & 0 deletions docs/hydroshare/hs_macros.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: hydroshare.hs_macros
1 change: 1 addition & 0 deletions docs/hydroshare/hydroshare_tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: hydroshare.hydroshare
10 changes: 10 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# QA-AutomationEngine Test Documentation

### About
The QA-AutomationEngine contains:

> Automated test suites for multiple CUAHSI software systems, along with associated tools and infrastructure
The site you are currently viewing is meant to accompany the documentation available in the [repository's Readme](https://github.com/CUAHSI/QA-AutomationEngine#readme), which contains detailed information about the QA system design and configuration as well as development guides.

This static site provides detailed documentation of the tests run by the QA system, and is intended as a resource for both developers and product stakeholders, to create a clearer understanding of code coverage.
23 changes: 23 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
site_name: CUAHSI QA Documentation

theme:
name: "material"

plugins:
- mkdocstrings

nav:
- About: index.md
- Base:
- Cuahsi Base: cuahsi_base/cuahsi_base.md
- Site Element: cuahsi_base/site_element.md
- Utils: cuahsi_base/utils.md
- DSP:
- DSP Tests: dsp/dsp_tests.md
- DSP Macros: dsp/dsp_macros.md
- Hydroshare:
- Hydroshare Tests: hydroshare/hydroshare_tests.md
- Hydroshare Macros: hydroshare/hs_macros.md
- Hydroclient:
- Hydroclient Tests: hydroclient/hydroclient_tests.md
- Hydroclient Macros: hydroclient/hc_macros.md
4 changes: 4 additions & 0 deletions requirements-mkdocs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs>=1.3.0,<2.0.0
mkdocstrings>=0.19.0,<1.0.0
mkdocstrings-python>=0.7.1,<1.0.0
mkdocs-material>=8.3.7,<9.0.0

0 comments on commit f19ddac

Please sign in to comment.