Compare commits
8 Commits
fix/docs-c
...
fix/book-t
| Author | SHA1 | Date | |
|---|---|---|---|
| 4186626a05 | |||
| 362fe8dc3e | |||
| a0cff5102d | |||
| 539ab7cc51 | |||
| 40bf0e4ae6 | |||
| 9bd5a7def1 | |||
| ccc372b2d1 | |||
| 23fd2593af |
@@ -13,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
REPO_URL="http://localhost:3000/kindred/create.git"
|
||||
REPO_URL="http://gitea:3000/kindred/create.git"
|
||||
if [ -d .git ]; then
|
||||
git fetch "$REPO_URL" main
|
||||
git checkout -f FETCH_HEAD
|
||||
@@ -21,6 +21,15 @@ jobs:
|
||||
git clone --depth 1 --branch main "$REPO_URL" .
|
||||
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
|
||||
run: mdbook build docs/
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
title = "Kindred Create Documentation"
|
||||
authors = ["Kindred Systems LLC"]
|
||||
language = "en"
|
||||
multilingual = false
|
||||
src = "src"
|
||||
|
||||
[build]
|
||||
@@ -12,6 +11,6 @@ build-dir = "book"
|
||||
default-theme = "coal"
|
||||
preferred-dark-theme = "coal"
|
||||
git-repository-url = "https://git.kindred-systems.com/kindred/create"
|
||||
git-repository-icon = "fa-code-branch"
|
||||
git-repository-icon = "fas-code-fork"
|
||||
additional-css = ["theme/kindred.css"]
|
||||
no-section-label = false
|
||||
|
||||
Reference in New Issue
Block a user