Skip to content

Commit 2561c25

Browse files
authored
Merge pull request #1373 from Idclip/docs_to_website
Auto deploy doxygen to openvdb.org
2 parents 25acbfb + 2dd12bf commit 2561c25

33 files changed

+89
-60
lines changed

.github/workflows/docs.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,39 @@ jobs:
4949
./ci/build.sh -v
5050
--build-type=Release
5151
--components="core,python,doc"
52-
--cargs=\"-DUSE_BLOSC=OFF -DOPENVDB_CORE_STATIC=OFF -DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON -DDISABLE_DEPENDENCY_VERSION_CHECKS=ON\"
52+
--cargs=\"
53+
-DUSE_BLOSC=OFF
54+
-DOPENVDB_CORE_STATIC=OFF
55+
-DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON
56+
-DUSE_EXPLICIT_INSTANTIATION=OFF
57+
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON
58+
\"
5359
- name: epydoc
5460
run: |
5561
epydoc --html -o /usr/local/share/doc/OpenVDB/html/python pyopenvdb
62+
- name: pre_deploy
63+
# Overwrite global SSH configuration
64+
# https://github.com/peaceiris/actions-gh-pages/issues/719
65+
# https://linuxhint.com/ssh-stricthostkeychecking/
66+
run: >
67+
echo "Host *
68+
StrictHostKeyChecking no
69+
UserKnownHostsFile=/dev/null
70+
" > /etc/ssh/ssh_config
5671
- name: deploy
57-
# only deploy documentation to gh-pages on a manual workflow dispatch
72+
# only deploy documentation on a manual workflow dispatch
5873
if: |
5974
github.repository_owner == 'AcademySoftwareFoundation' &&
6075
github.event_name == 'workflow_dispatch' &&
6176
github.event.inputs.deploy == 'true'
6277
uses: peaceiris/actions-gh-pages@v3
6378
with:
64-
github_token: ${{ secrets.GITHUB_TOKEN }}
79+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
6580
publish_dir: /usr/local/share/doc/OpenVDB/html
81+
destination_dir: documentation/doxygen
82+
external_repository: AcademySoftwareFoundation/openvdb-website
83+
publish_branch: doxygen
84+
full_commit_message: "Automatic doxygen documentation update
85+
- Deployed from: AcademySoftwareFoundation/openvdb ${{ github.sha }}
86+
87+
Signed-off-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ Version 8.0.0 - December 23, 2020
422422
providing users with a new way of interacting with OpenVDB data. AX is
423423
tailored towards writing highly parallelizable and customizable OpenVDB
424424
volume and point kernel operations. See the documentation for more:
425-
https://academysoftwarefoundation.github.io/openvdb/openvdbax.html
425+
https://www.openvdb.org/documentation/openvdbax.html
426426

427427
New features:
428428
- Added tools::anyActiveVoxels and tools::anyActiveTiles that check

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
and required dependencies are expected. See the dependency documentation
1919
for more information:
2020
21-
https://academysoftwarefoundation.github.io/openvdb/dependencies.html
21+
https://www.openvdb.org/documentation/doxygen/dependencies.html
2222
2323
And the documentation on building OpenVDB for more in depth installation
2424
instructions:
2525
26-
https://academysoftwarefoundation.github.io/openvdb/build.html
26+
https://www.openvdb.org/documentation/doxygen/build.html
2727
2828
This CMakeLists file provides most available options for configuring the
2929
build and installation of all OpenVDB components. By default the core

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The contributor role is the starting role for anyone participating in the projec
1010

1111
### Process for becoming a contributor
1212

13-
* Review the [coding standards](https://academysoftwarefoundation.github.io/openvdb/codingStyle.html) to ensure your contribution is in line with the project's coding and styling guidelines.
13+
* Review the [coding standards](https://www.openvdb.org/documentation/doxygen/codingStyle.html) to ensure your contribution is in line with the project's coding and styling guidelines.
1414
* Have a signed CLA on file ( see [below](#contributor-license-agreements) )
1515
* Submit your code as a PR with the appropriate [DCO sign-off](#commit-sign-off).
1616
* Have your submission approved by the [committer(s)](#committer) and merged into the codebase.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[Website](https://www.openvdb.org) |
1313
[Discussion Forum](https://github.com/AcademySoftwareFoundation/openvdb/discussions) |
14-
[Documentation](https://academysoftwarefoundation.github.io/openvdb)
14+
[Documentation](https://www.openvdb.org/documentation/doxygen)
1515

1616
OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a large suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It was developed by DreamWorks Animation for use in volumetric applications typically encountered in feature film production.
1717

@@ -33,7 +33,7 @@ OpenVDB welcomes contributions to the OpenVDB project. Please refer to the [cont
3333

3434
### Developer Quick Start
3535

36-
The following provides basic installation examples for the core OpenVDB library. Other components, such as the python module, OpenVDB AX, NanoVDB and various executables, may require additional dependencies. See the [build documentation](https://academysoftwarefoundation.github.io/openvdb/build.html) for help with installations.
36+
The following provides basic installation examples for the core OpenVDB library. Other components, such as the python module, OpenVDB AX, NanoVDB and various executables, may require additional dependencies. See the [build documentation](https://www.openvdb.org/documentation/doxygen/build.html) for help with installations.
3737

3838
#### Linux
3939
##### Installing Dependencies (Boost, TBB, Blosc)
@@ -100,7 +100,7 @@ cmake --build . --parallel 4 --config Release --target install
100100

101101
#### Building OpenVDB AX
102102

103-
OpenVDB AX depends on the core OpenVDB library. See the [build documentation](https://academysoftwarefoundation.github.io/openvdb/build.html) for all available AX component options:
103+
OpenVDB AX depends on the core OpenVDB library. See the [build documentation](https://www.openvdb.org/documentation/doxygen/build.html) for all available AX component options:
104104

105105
```bash
106106
git clone [email protected]:AcademySoftwareFoundation/openvdb.git
@@ -114,7 +114,7 @@ make -j4 && make install
114114
#### Building NanoVDB
115115

116116
NanoVDB can be built with and without OpenVDB support. To see full build instructions
117-
see the [NanoVDB build documentation](https://academysoftwarefoundation.github.io/openvdb/NanoVDB_HowToBuild.html)
117+
see the [NanoVDB build documentation](https://www.openvdb.org/documentation/doxygen/NanoVDB_HowToBuild.html)
118118

119119
#### Building Without OpenVDB Support
120120

doc/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ set(DOXY_FILES
4141
openvdb/openvdb/io
4242
openvdb/openvdb/math
4343
openvdb/openvdb/points
44+
openvdb/openvdb/points/impl
4445
openvdb/openvdb/python/pyopenvdb.h
4546
openvdb/openvdb/tools
4647
openvdb/openvdb/tree
@@ -215,7 +216,6 @@ if(OPENVDB_DOXYGEN_AX)
215216
doc/ax/doc.txt
216217
openvdb_ax/openvdb_ax
217218
openvdb_ax/openvdb_ax/ast
218-
openvdb_ax/openvdb_ax/cmd
219219
openvdb_ax/openvdb_ax/codegen
220220
openvdb_ax/openvdb_ax/compiler
221221
openvdb_ax/openvdb_ax/grammar
@@ -235,9 +235,6 @@ if(OPENVDB_DOXYGEN_NANOVDB)
235235
doc/nanovdb/HelloWorld.md
236236
nanovdb/nanovdb
237237
nanovdb/nanovdb/util
238-
nanovdb/nanovdb/cmd/convert
239-
nanovdb/nanovdb/cmd/print
240-
nanovdb/nanovdb/cmd/validate
241238
nanovdb/nanovdb/examples/benchmark
242239
nanovdb/nanovdb/examples/ex_bump_pool_buffer
243240
nanovdb/nanovdb/examples/ex_collide_level_set

doc/ax/ax.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ returned, otherwise @b `c` is evaluated and returned. In this case, @b `a` and @
17931793
@anchor axvecmatinit
17941794
@par Vector/Matrix Initializer
17951795
@ref axvecmats "Vectors and matrices" can be represented as local variables (e.g.
1796-
@b `vec3f`), external attributes or parameters (e.g. @b `vec3f@attrib`) or as
1796+
@b `vec3f`), external attributes or parameters (e.g. @b `vec3f\@attrib`) or as
17971797
temporary values using the vector/matrix initializer syntax. This operator has
17981798
the form:
17991799
@par

doc/ax/axexamples.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ These examples demonstrate how to use AX on OpenVDB points grids.
3232
Below is a small example which demonstrates working with a few point attributes.
3333
The @ symbol is the identifier for an AX attribute. The type of each attribute
3434
is specified before the @ symbol and the name is specified afterwards. For
35-
example: @b `int@count` would imply an @b integer attribute called @b count.
35+
example: @b `int\@count` would imply an @b integer attribute called @b count.
3636
@par
3737
In this example there are three point attributes: a @b float attribute @b speed,
3838
a @b vec3f float attribute @b velocity and a @b vec3f float attribute @b colour.
@@ -114,7 +114,7 @@ v@P += v@v * dt;
114114
@endcode
115115
@par
116116
The final AX command, `v@P += v@v * dt;` writes to the position attribute of
117-
the points @b `v@P`. Whenever position is written to in this way, the AX
117+
the points @b `v\@P`. Whenever position is written to in this way, the AX
118118
`PointExecutable` will move (re-bucket) points in PointDataGrids.
119119

120120
@subsection axexamplepointcurlnoise Curl Noise
@@ -234,7 +234,7 @@ vec3f@vel += dt * massInverse * vec3f@force;
234234
@par
235235
Here we demonstrate how AX can be used to blend two volumes together. Note that
236236
only the volumes which are written to are executed over. In the below code,
237-
only @b `@surface_a` is written to. This means that the final blended result,
237+
only @b `\@surface_a` is written to. This means that the final blended result,
238238
stored in `surface_a`, will only be updated in `surface_a`'s topology. Should
239239
we want a combined blend of @b non @b overlapping areas of both surface a and b,
240240
we would need to activate a's topology with respect to b first.

doc/changes.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Bug Fixes:
1212
This could potentially be a problem on Windows debug builds (unconfirmed).
1313
- Minor fix to range in openvdb/tools/LevelSetSphere.h. This could result
1414
in data races for multi-threaded execution (unconfirmed) [Reported by Tommy Hinks]
15-
- Fixed a bug with Tree::combineExtended which wouldn't propagate the resulting active state when a destination tile overlapped a source child node. [Reported by @frapit]
15+
- Fixed a bug with Tree::combineExtended which wouldn't propagate the resulting active state when a destination tile overlapped a source child node. [Reported by \@frapit]
1616
- Fix unit tests failures with Blosc versions >= 1.19.0.
1717

1818
@par
@@ -56,7 +56,7 @@ preserve ABI compatibility it might be necessary to define the macro
5656
<BLOCKQUOTE>
5757
Official release of NanoVDB, which for the first time offers GPU support for
5858
static sparse volumes in OpenVDB. See the
59-
<A HREF="https://academysoftwarefoundation.github.io/openvdb/NanoVDB_MainPage.html">documentation</A>
59+
<A HREF="https://www.openvdb.org/documentation/doxygen/NanoVDB_MainPage.html">documentation</A>
6060
for details.
6161
</BLOCKQUOTE>
6262

@@ -488,7 +488,7 @@ a domain specific JIT (just-in-time) compiled expression language,
488488
providing users with a new way of interacting with OpenVDB data. AX is
489489
tailored towards writing highly parallelizable and customizable OpenVDB
490490
volume and point kernel operations. See the
491-
<A HREF="https://academysoftwarefoundation.github.io/openvdb/openvdbax.html">documentation</A>
491+
<A HREF="https://www.openvdb.org/documentation/openvdbax.html">documentation</A>
492492
for more.
493493
</BLOCKQUOTE>
494494

@@ -768,7 +768,7 @@ Improvements:
768768
- Removed Boost::thread as a dependency of vdb_view in favour of std::thread.
769769
- Removed usage of boost/integer.hpp and boost/math/constants/constants.hpp,
770770
the latter in favour of new openvdb math constants for pi
771-
- Removed usage of boost/mpl/*.hpp methods in favour of new template
771+
- Removed usage of boost/mpl/\*.hpp methods in favour of new template
772772
meta-programming methods on the @vdblink::TypeList TypeList@endlink struct.
773773
This now supports get, front, back, contains, index, unique, popback, popfront
774774
and range removal of types.
@@ -1234,7 +1234,7 @@ Bug fixes:
12341234
@par
12351235
API changes:
12361236
- Moved the @vdblink::CopyConstness CopyConstness@endlink metafunction from
1237-
@link tree/TreeIterator.h TreeIterator.h@endlink to @link Types.h@endlink.
1237+
@link tree/TreeIterator.h TreeIterator.h@endlink to @link Types.h Types.h@endlink.
12381238

12391239
@par
12401240
Houdini:
@@ -2199,8 +2199,8 @@ Bug fixes:
21992199
- Fixed memory leak in a @vdblink::tools::meshToVolume tools::meshToVolume@endlink
22002200
sub-tool (expandNarrowband).
22012201
<I>[Reported by K&eacute;vin&nbsp;Dietrich]</I>
2202-
- Fixed parameter type inconsistencies in @link math/Stencils.h@endlink and
2203-
@link tools/RayIntersector.h@endlink.
2202+
- Fixed parameter type inconsistencies in @link math/Stencils.h math/Stencils.h@endlink
2203+
and @link tools/RayIntersector.h tools/RayIntersector.h@endlink.
22042204
<I>[Contributed by K&eacute;vin&nbsp;Dietrich and Nick&nbsp;Avramoussis]</I>
22052205
- Fixed a bug in the @vdblink::tools::VolumeToMesh VolumeToMesh@endlink tool that
22062206
produced artifacts for adaptive surface extraction on clipped level sets.
@@ -2514,7 +2514,7 @@ Houdini:
25142514
for material color lookups.
25152515
- Added @vdblink::getLibraryVersionString()
25162516
getLibraryVersionString@endlink and
2517-
@link OPENVDB_LIBRARY_VERSION_STRING@endlink.
2517+
@link OPENVDB_LIBRARY_VERSION_STRING OPENVDB_LIBRARY_VERSION_STRING@endlink.
25182518
- Modified the mesh to volume converter to always set the grid background
25192519
value to the exterior narrow-band width, and added finite value checks
25202520
to narrow band parameters.

doc/nanovdb/doc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome to the NanoVDB documentation page.
44

5-
* @ref NanoVDB_HowToBuild
6-
* @ref NanoVDB_FAQ
7-
* @ref NanoVDB_SourceTree
8-
* @ref NanoVDB_HelloWorld
5+
* @subpage NanoVDB_HowToBuild
6+
* @subpage NanoVDB_FAQ
7+
* @subpage NanoVDB_SourceTree
8+
* @subpage NanoVDB_HelloWorld

0 commit comments

Comments
 (0)