Skip to content

Commit

Permalink
Ported docs from vs.fltk
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 19, 2024
1 parent 92f9fdc commit d860050
Show file tree
Hide file tree
Showing 8 changed files with 3,129 additions and 26 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy Docs

on:
push:
branches:
- master

jobs:
build-deploy:
permissions:
contents: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Build
run: |
sudo apt install -y \
doxygen \
graphviz \
python3-pip \
python3-setuptools
python3 -m pip install mkdocs mkdocs-github-admonitions-plugin mkdocs-get-deps pymdown-extensions
doxygen
mkdocs build
bun install -g gh-pages
- name: Deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
gh-pages -d dist/website -e . -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ subprojects/*
!subprojects/packagefiles/
/wraps/cfltk
*.autogen.*
/dist/
/dist/*
!/dist/website/
/dist/website/doxygen/*
/dist/website/docs/*
/node_modules/
/bun.lockb
/private
Loading

0 comments on commit d860050

Please sign in to comment.