Skip to content

Commit

Permalink
Merge pull request #52 from gprt-org/docs
Browse files Browse the repository at this point in the history
Documentation for samples 0 and 1
  • Loading branch information
natevm authored Jun 8, 2023
2 parents 5271750 + 2ae734e commit c74d507
Show file tree
Hide file tree
Showing 25 changed files with 1,497 additions and 71 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ jobs:
- run: pip install -r ./docs/requirements.txt

- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.0
uses: humbletim/install-vulkan-sdk@v1.1.1
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
version: 1.3.231.1
cache: true

- name: Apt dependencies
shell: bash
Expand All @@ -46,21 +45,13 @@ jobs:
freeglut3-dev \
mesa-common-dev \
doxygen
- name: Setup environment
shell: bash
run: |
echo "PATH=$HOME/dxc-artifacts/bin:$PATH" >> $GITHUB_ENV
- name: Pull and unpack dxc compiler
shell: bash
run: |
./util/download-dxc.sh
- name: Build Documentation
shell: bash
run: |
mkdir bld
cd bld
cmake --version
cmake .. -DVulkan_BIN_DIR=$HOME/dxc-artifacts/bin -DBUILD_DOC=ON
cmake .. -DBUILD_DOC=ON
cmake --build . --target sphinx --config Release
- name: Setup Pages
uses: actions/configure-pages@v2
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
[![CI](https://github.com/natevm/vkrt/actions/workflows/ci.yml/badge.svg)](https://github.com/natevm/vkrt/actions/workflows/ci.yml)

# GPRT (General Purpose Raytracing Toolkit)

GPRT is a ray tracing API that wraps the Vulkan ray tracing interface.

![Sample "Attribute Aware RBFs" images](docs/source/images/papers/vis2023.jpg)

## Dependencies

- CMake
Expand Down
23 changes: 23 additions & 0 deletions docs/source/_static/css/epub_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* This stylesheet is applied after the theme's default one,
* and thus any overrides or additions can be added here.
*
* More info:
* https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_css_file
*/

/* Allow text to flow around right aligned images */
.align-right {
float: right;
margin: 0 0 24px 24px;
}

/* Prevent images from flowing into other headings */
h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
}
Loading

0 comments on commit c74d507

Please sign in to comment.