This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
1,343 additions
and
79 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,10 @@ | ||
--- | ||
engines: | ||
duplications: | ||
exclude_paths: | ||
- "**/src/test/kotlin/**" | ||
|
||
exclude_paths: | ||
- ".github/ISSUE_TEMPLATE/**" | ||
- ".mvn/wrapper/**" | ||
- "docs/**" |
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,73 @@ | ||
name: Build the docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Upgrade pip | ||
run: | | ||
# install pip=>20.1 to use "pip cache dir" | ||
python3 -m pip install --upgrade pip | ||
- name: Get pip cache dir | ||
id: pip-cache | ||
run: echo "::set-output name=dir::$(pip cache dir)" | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.pip-cache.outputs.dir }} | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: python3 -m pip install -r ./docs/requirements.txt | ||
|
||
- name: Set git username and email | ||
run: | | ||
# | ||
git config --global user.email "${GH_USERNAME}@users.noreply.github.com" | ||
git config --global user.name "${GH_USERNAME}" | ||
env: | ||
GH_USERNAME: ${{ github.actor }} | ||
|
||
- name: Pre-fetch the gh-pages branch | ||
run: git fetch | ||
|
||
- name: Build docs with MkDocs | ||
run: mkdocs build | ||
|
||
- name: Read the tag name | ||
id: get_tag_name | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: echo ::set-output name=TAG_NAME::${GITHUB_REF/refs\/tags\//} | ||
|
||
# This is for a tagged version | ||
- name: Create a new version of documentation and push to GH pages. | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: mike deploy ${{ steps.get_tag_name.outputs.TAG_NAME }} stable --push --rebase | ||
|
||
- name: Make stable to default. | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: mike set-default stable --push --rebase | ||
|
||
# This is for develop | ||
- name: Deploy latest develop snapshot docs to GH pages. | ||
if: github.ref == 'refs/heads/develop' | ||
run: mike deploy snapshot --push --rebase |
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,26 @@ | ||
# | ||
# see https://github.com/arturbosch/detekt/blob/master/detekt-cli/src/main/resources/default-detekt-config.yml | ||
# | ||
comments: | ||
active: true | ||
excludes: "examples/**,lib/**,**/test/**,**/*Test.kt,*/src/test/kotlin/**/*.kt,**/*Stages.kt,**/*ITest.kt" | ||
CommentOverPrivateFunction: | ||
active: false | ||
CommentOverPrivateProperty: | ||
active: false | ||
EndOfSentenceFormat: | ||
active: false | ||
endOfSentenceFormat: ([.?!][ \t\n\r\f<])|([.?!:]$) | ||
UndocumentedPublicClass: | ||
active: true | ||
searchInNestedClass: true | ||
searchInInnerClass: true | ||
searchInInnerObject: true | ||
searchInInnerInterface: true | ||
UndocumentedPublicFunction: | ||
active: true | ||
|
||
performance: | ||
active: true | ||
SpreadOperator: | ||
active: false |
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 @@ | ||
www.holixon.io |
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,49 @@ | ||
/* | ||
* General customizations | ||
*/ | ||
/* Customize logo size */ | ||
.md-header__button.md-logo img, .md-header__button.md-logo svg { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
/* Disable title text*/ | ||
.md-header__title .md-ellipsis { | ||
position: absolute !important; | ||
width: 1px !important; | ||
height: 1px !important; | ||
padding: 0 !important; | ||
margin: -1px !important; /* Fix for https://github.com/twbs/bootstrap/issues/25686 */ | ||
overflow: hidden !important; | ||
clip: rect(0, 0, 0, 0) !important; | ||
white-space: nowrap !important; | ||
border: 0 !important; | ||
} | ||
|
||
[data-md-color-scheme="default"] { | ||
/* | ||
Polyflow color scheme | ||
*/ | ||
--monochrome-80: #3e3e3e; | ||
--background-white: #ffffff; | ||
--monochrome-70: #4c4c4c; | ||
--secondary-100: #ebf9fa; | ||
--background-blue: #0a0b31; | ||
--monochrome-20: #cccccc; | ||
--monochrome-50: #7f7f7f; | ||
--monochrome-5: #f2f2f2; | ||
--accent-success-100: #00cc75; | ||
--accent-error-100: #b3003e; | ||
--accent-error-10: #f2e0e6; | ||
--accent-1-100: #6bdce0; | ||
--accent-3-100: #830289; | ||
--accent-4-100: #016db3; | ||
--pumpkin-orange: #fb7b00; | ||
--royal: #0d0f7e; | ||
|
||
|
||
--md-primary-fg-color: var(--accent-4-100); | ||
--md-accent-fg-color: var(--pumpkin-orange); | ||
--md-footer-bg-color: var(--accent-4-100); | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
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,5 @@ | ||
mkdocs | ||
mkdocs-git-committers-plugin | ||
mkdocs-material | ||
mike | ||
mkdocs-git-revision-date-localized-plugin |
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.