forked from davidgfnet/opengx
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CMake files for building the documentation * dynamically generate PNG files from SGVs * add workflow for building the documentation * rename original opengx PDF file. This is to make it clear that it's from 2012.
- Loading branch information
Showing
19 changed files
with
2,218 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'doc/**' | ||
pull_request: | ||
paths: | ||
- 'doc/**' | ||
|
||
jobs: | ||
docs: | ||
name: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y \ | ||
cmake \ | ||
imagemagick \ | ||
texlive-latex-extra | ||
- name: Build | ||
run: | | ||
cmake -S. -Bbuild -DBUILD_DOCS=ON -DBUILD_OPENGX=OFF | ||
cd build | ||
make | ||
- name: Archive built documentation | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: opengx.pdf | ||
path: build/doc/src/opengx.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.