Skip to content

Commit

Permalink
add sphinx CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq committed Dec 7, 2024
1 parent 593f161 commit 3c58ffe
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 21 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
- 'sphinx/**'
- 'Cargo.lock'
- 'Cargo.toml'
branches:
Expand All @@ -17,9 +15,7 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
- 'sphinx/**'
- 'Cargo.lock'
- 'Cargo.toml'
branches:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'sphinx/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'lts/**'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'sphinx/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'lts/**'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'sphinx/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'lts/**'
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sphinx-Doc

on:
push:
paths:
- 'sphinx/**'
pull_request:
paths:
- 'sphinx/**'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
component:
- g3proxy
- g3tiles
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "sphinx/${{ matrix.component }}"
4 changes: 1 addition & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'sphinx/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'lts/**'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
- 'sphinx/**'
branches:
- 'master'
- 'lts/**'
Expand Down
2 changes: 2 additions & 0 deletions sphinx/g3proxy/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx
sphinx-rtd-theme
2 changes: 2 additions & 0 deletions sphinx/g3tiles/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx
sphinx-rtd-theme

0 comments on commit 3c58ffe

Please sign in to comment.