Skip to content

Commit 7268dde

Browse files
authored
(#235) New docs site based on mkdocs (#267)
* (#144, #235) Mkdocs site with getting started guide * (#251) Fixed code sample on configuring entities to synchronize * (#235) GitHub Action for deploying gh-pages
1 parent bad7e1f commit 7268dde

File tree

706 files changed

+1502
-67795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

706 files changed

+1502
-67795
lines changed

.github/workflows/build-docs.yml

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy Hugo site to Pages
1+
name: Deploy documentation site to Pages
22

33
on:
44
push:
55
branches: [ main ]
6-
paths: [ 'docs/**' ]
6+
paths: [ 'docs/**', 'mkdocs.yml' ]
77
workflow_dispatch:
88

99
permissions:
@@ -22,45 +22,14 @@ defaults:
2222
jobs:
2323
build:
2424
runs-on: ubuntu-latest
25-
env:
26-
HUGO_VERSION: 0.132.0
2725
steps:
28-
- name: Install Hugo CLI
29-
run: |
30-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
31-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
32-
3326
- name: Checkout Repository
3427
uses: actions/checkout@v4
3528
with:
36-
submodules: recursive
3729
fetch-depth: 0
3830

39-
- name: Setup Pages
40-
id: pages
41-
uses: actions/configure-pages@v5
42-
43-
- name: Build with Hugo
44-
env:
45-
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
46-
HUGO_ENVIRONMENT: production
47-
TZ: America/Los_Angeles
48-
run: hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
49-
working-directory: ./docs
50-
51-
- name: Upload artifact
52-
uses: actions/upload-pages-artifact@v3
31+
- uses: actions/setup-python@v5
5332
with:
54-
path: ./docs/public
55-
56-
deploy:
57-
environment:
58-
name: github-pages
59-
url: ${{ steps.deployment.outputs.page_url }}
60-
runs-on: ubuntu-latest
61-
needs: build
62-
steps:
63-
- name: Deploy to GitHub Pages
64-
id: deployment
65-
uses: actions/deploy-pages@v4
66-
33+
python-version: 3.x
34+
- run: pip install mkdocs
35+
- run: mkdocs gh-deploy --clean --force --verbose
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)