Skip to content

Commit 624869c

Browse files
authored
Merge pull request #134 from Computer-Aided-Validation-Laboratory/dev
DIC merge
2 parents f2afe57 + 4ccafcd commit 624869c

File tree

491 files changed

+184029
-35456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

491 files changed

+184029
-35456
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,13 @@ dmypy.json
197197
# Cython debug symbols
198198
cython_debug/
199199

200+
# cmake and make scripts for developer install
201+
CMakeCache.txt
202+
CMakeFiles/
203+
Makefile
204+
cmake_install.cmake
205+
cpp/Makefile
206+
200207
# PyCharm
201208
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
202209
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
@@ -214,3 +221,7 @@ docs/source/examples/
214221

215222
# doxygen folder generated when compiling docs
216223
docs/source/doxygen
224+
225+
# rastercyth generated files
226+
src/pyvale/cython/rastercyth.c
227+
src/pyvale/cython/rastercyth.html

docs/apidoc.sh

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,41 @@
11
echo "=========================================="
22
echo " GENERATING PYTHON API DOCUMENTATION..."
33
echo "=========================================="
4+
45
#generate the python api documentation
56
sphinx-apidoc -f -o ./source --separate ../src/pyvale/ ../src/pyvale/data/* ../src/pyvale/examples/ --tocfile api_py
67

8+
#generate the c++ api documentation
9+
cd ./source && doxygen Doxyfile && cd ..
10+
711
if [ $? -ne 0 ]; then
812
echo "... sphinx-apidoc failed!"
913
exit 1
1014
fi
1115

1216
echo "Updating generated RST files..."
17+
18+
# change autogenerated title
1319
sed -i 's/^pyvale$/Detailed Python API/' source/api_py.rst
20+
21+
# make sure title is long enough for the 'detailed python api' page.
1422
sed -i 's/=/====/g' source/api_py.rst
23+
24+
# Remove redundant headers generated by sphinx-apidoc
1525
sed -i '/^pyvale package$/,+1d; /^Submodules$/,+1d' source/pyvale.rst
26+
27+
# remove any reference to 'module' in the headers for detailed python api page
1628
sed -i 's/^pyvale\.\(.*\) module$/\1/' source/pyvale.*.rst
17-
#sed -i '/^Module contents$/,/^ *:undoc-members:/d' source/pyvale.rst
29+
30+
# remove module contents and anything below in source/pyvale.rst otherwise we
31+
# get a pointless page in the detailed python API docs
32+
sed -i '/^Module contents$/,/^ *:undoc-members:/d' source/pyvale.rst
33+
34+
# Remove the dic2dcpp file. This is not needed for the python detailed api
35+
# documentation
36+
rm ./source/pyvale.dic2dcpp.rst
37+
38+
1839
echo "PYTHON API DOCUMENTATION GENERATED SUCCESSFULLY!"
40+
41+

docs/source/Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DOXYFILE_ENCODING = UTF-8
4242
# title of most generated pages and in a few other places.
4343
# The default value is: My Project.
4444

45-
PROJECT_NAME = "test"
45+
PROJECT_NAME = "pyvale"
4646

4747
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
4848
# could be handy for archiving the generated documentation or if some version
@@ -943,7 +943,7 @@ WARN_LOGFILE =
943943
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
944944
# Note: If this tag is empty the current directory is searched.
945945

946-
INPUT = ../../src/pyvale/dic/cpp/
946+
INPUT = ../../src/pyvale/dic/cpp
947947

948948
# This tag can be used to specify the character encoding of the source files
949949
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses

docs/source/_static/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33
border-bottom-style: solid;
44
border-bottom-width: 1px;
55
}
6+
7+
/* Override function name color in function signatures */
8+
.sig-name {
9+
color: #0066cc !important; /* Monokai-style cyan */
10+
}
11+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/dic_blender_plot.png
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/dic_challenge_plot.png
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/dic_challenge_roi.png
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/plate_with_hole.png
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/plate_with_hole_def_grad.png

docs/source/_static/rect_boundary.png

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images/rect_boundary.png

0 commit comments

Comments
 (0)