Compare commits
1 Commits
fix/book-t
...
fix/docs-w
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d23ceeede |
@@ -13,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
REPO_URL="http://gitea:3000/kindred/create.git"
|
REPO_URL="http://localhost:3000/kindred/create.git"
|
||||||
if [ -d .git ]; then
|
if [ -d .git ]; then
|
||||||
git fetch "$REPO_URL" main
|
git fetch "$REPO_URL" main
|
||||||
git checkout -f FETCH_HEAD
|
git checkout -f FETCH_HEAD
|
||||||
@@ -21,15 +21,6 @@ jobs:
|
|||||||
git clone --depth 1 --branch main "$REPO_URL" .
|
git clone --depth 1 --branch main "$REPO_URL" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install mdBook
|
|
||||||
run: |
|
|
||||||
if ! command -v mdbook &>/dev/null; then
|
|
||||||
MDBOOK_VERSION="v0.5.2"
|
|
||||||
wget -q -O mdbook.tar.gz "https://github.com/rust-lang/mdBook/releases/download/${MDBOOK_VERSION}/mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
|
||||||
tar -xzf mdbook.tar.gz -C /usr/local/bin
|
|
||||||
rm mdbook.tar.gz
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Build mdBook
|
- name: Build mdBook
|
||||||
run: mdbook build docs/
|
run: mdbook build docs/
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title = "Kindred Create Documentation"
|
title = "Kindred Create Documentation"
|
||||||
authors = ["Kindred Systems LLC"]
|
authors = ["Kindred Systems LLC"]
|
||||||
language = "en"
|
language = "en"
|
||||||
|
multilingual = false
|
||||||
src = "src"
|
src = "src"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
@@ -11,6 +12,6 @@ build-dir = "book"
|
|||||||
default-theme = "coal"
|
default-theme = "coal"
|
||||||
preferred-dark-theme = "coal"
|
preferred-dark-theme = "coal"
|
||||||
git-repository-url = "https://git.kindred-systems.com/kindred/create"
|
git-repository-url = "https://git.kindred-systems.com/kindred/create"
|
||||||
git-repository-icon = "fas-code-fork"
|
git-repository-icon = "fa-code-branch"
|
||||||
additional-css = ["theme/kindred.css"]
|
additional-css = ["theme/kindred.css"]
|
||||||
no-section-label = false
|
no-section-label = false
|
||||||
|
|||||||
Reference in New Issue
Block a user