-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from LinuxForHealth/doc_updates
Doc updates
- Loading branch information
Showing
40 changed files
with
3,029 additions
and
1,387 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,36 @@ | ||
# This runs when either mkdocs.yml or anything in the docs directory | ||
# is changed, and the change is pushed to main. | ||
# | ||
# It will deploy the rendered HTML to a gh-pages branch. | ||
# | ||
# GitHub should be setup to use this branch's root dir as a source | ||
# for gh-pages. When changes are pushed to the branch, a GitHub action | ||
# will publish the changes to the pages environment. | ||
# | ||
# The gh-pages branch should never be modified, except by this action. | ||
# Part of the deploy is deleting existing files. | ||
name: Documentation | ||
|
||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "docs/**" | ||
- "mkdocs.yml" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v2 | ||
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files pymdown-extensions | ||
- run: git config user.name ${{ github.actor }} && git config user.email "${{ github.actor }}@users.noreply.github.com" | ||
- name: Publish docs | ||
run: mkdocs gh-deploy | ||
|
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,44 @@ | ||
# This workflow performs markdown processing as part of prepare release | ||
# It only runs if markdown files are changed. | ||
# | ||
# This uses the same name and job name as prepare-release.yml. | ||
# There is a branch protection status check that requires a workflow | ||
# with this name to pass. Since thes both only run under certain conditions, | ||
# they both have to share the same name so that at least one of them runs. | ||
# | ||
# Othewise the pull can never be merged because no status check runs. | ||
# This is described here: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | ||
name: Prepare to release nlp-insights | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, labeled, reopened] | ||
branches: | ||
- main | ||
paths: | ||
- 'docs/**.md' | ||
|
||
jobs: | ||
prepare-release: | ||
# Don't change this Name, must match prepare-release.yml and a status check | ||
name: Prepare release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Checkout branch | ||
run: | | ||
git fetch | ||
git checkout ${{ github.event.pull_request.head.ref }} | ||
- name: Validate Documentation | ||
run: | | ||
pip install --upgrade pip && pip install mkdocs mkdocs-gen-files pymdown-extensions | ||
mkdocs build -s | ||
- name: noop | ||
run: echo "No docker build for doc changes" | ||
|
||
|
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 |
---|---|---|
|
@@ -2,3 +2,8 @@ build | |
.gradle | ||
.project | ||
.pydevproject | ||
__pycache__/ | ||
docs/**/.*.md.html | ||
/.mypy_cache/ | ||
site | ||
**/*.swp |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_site | ||
.sass-cache | ||
.jekyll-cache | ||
.jekyll-metadata | ||
.*.md.html | ||
vendor |
This file was deleted.
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,8 @@ | ||
# Chart packages | ||
|
||
This directory contains chart information that | ||
was packaged and published by the CI pipeline. | ||
|
||
It is not used by documentation, but is published with | ||
the documentation. It is used by consumers to pull the | ||
helm charts for the service. |
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
Binary file not shown.
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,15 @@ | ||
.wy-nav-content { | ||
max-width: 95% !important; | ||
} | ||
|
||
table { | ||
width:95%; | ||
} | ||
|
||
.wy-table-responsive table td { | ||
white-space: normal !important; | ||
} | ||
.wy-table-responsive { | ||
overflow: visible !important; | ||
} | ||
|
Oops, something went wrong.