Skip to content

Commit 95b27c6

Browse files
author
Meghan Jones
authored
Remove animation cmake target (#5945)
* Remove animation build from docs workflow * Remove animations cmake target * Update animations excluded in admin/remote_data_use.sh
1 parent c90cdda commit 95b27c6

File tree

8 files changed

+3
-77
lines changed

8 files changed

+3
-77
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ jobs:
129129
cd build
130130
cmake --build . --target docs_depends
131131
cmake --build . --target optimize_images
132-
if [ "$RUNNER_OS" != "Windows" ]; then
133-
cmake --build . --target animation
134-
fi
135132
cmake --build . --target docs_html
136133
# if html.log isn't empty (i.e., sphinx raise warnings), return 1
137134
! [ -s doc/rst/html.log ]

MAINTENANCE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ the following commands within the build directory:
2929
```
3030
cmake --build . --target docs_depends # Generate images included in the documentation
3131
cmake --build . --target optimize_images # Optimize PNG images for documentation [optional]
32-
cmake --build . --target animation # Generate animations included in the documentation [optional]
3332
cmake --build . --target docs_man # UNIX manual pages
3433
cmake --build . --target docs_html # HTML manual, tutorial, cookbook, and API reference
3534
```

admin/remote_data_use.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
# This script determines which remote data files are used across
77
# all the GMT example, doc, and test scripts and writes unique list to stdout.
88
#
9-
#NOTE: Currently, we exclude anim06-12. As new animations are added, please make adjustments
9+
#NOTE: Currently, we exclude anim01-15. As new animations are added, please make adjustments
1010

1111
if [ ! -d cmake ]; then
1212
echo "remote_data_use.sh: Must be run from top-level gmt directory" >&2
1313
exit 1
1414
fi
1515

16-
# 1. Find all occurrences of remote grids in all scripts except anim06-anim12 but skip mention in comments
17-
find doc test -name '*.sh' -exec egrep -H '@earth_relief|@earth_mask|@earth_day|@earth_night|@earth_age' {} \; | grep -v '\.sh:#' | grep -v 'anim1[0-2].sh' | grep -v 'anim[6-9].sh' > /tmp/t1.lis
16+
# 1. Find all occurrences of remote grids in all scripts except anim01-anim15 but skip mention in comments
17+
find doc test -name '*.sh' -exec egrep -H '@earth_relief|@earth_mask|@earth_day|@earth_night|@earth_age' {} \; | grep -v '\.sh:#' | grep -v 'anim1[0-5].sh' | grep -v 'anim[1-9].sh' > /tmp/t1.lis
1818
# 2. Find the individual words starting with "@" but skip anything that has a variable name.
1919
awk '{for (k = 1; k <= NF; k++) if (substr ($k, 1, 1) == "@") print $k}' /tmp/t1.lis | egrep -v '\$|cpt' > /tmp/t2.lis
2020
awk '{for (k = 1; k <= NF; k++) if (substr ($k, 3, 1) == "@") print substr ($k,3)}' /tmp/t1.lis | egrep -v '\$|cpt' >> /tmp/t2.lis

ci/config-gmt-unix.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ add_definitions(-DUSE_MODULE_LONG_OPTIONS)
3838
EOF
3939
fi
4040

41-
if [[ "$BUILD_DOCS" == "true" ]]; then
42-
cat >> cmake/ConfigUser.cmake << 'EOF'
43-
set (DO_ANIMATIONS TRUE)
44-
EOF
45-
fi
46-
4741
echo ""
4842
echo "Using the following cmake configuration:"
4943
cat cmake/ConfigUser.cmake

ci/config-gmt-windows.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ add_definitions(-DUSE_MODULE_LONG_OPTIONS)
2727
EOF
2828
fi
2929

30-
if [[ "$BUILD_DOCS" == "true" ]]; then
31-
cat >> cmake/ConfigUser.cmake << 'EOF'
32-
set (DO_ANIMATIONS TRUE)
33-
EOF
34-
fi
35-
3630
echo ""
3731
echo "Using the following cmake configuration:"
3832
cat cmake/ConfigUser.cmake

cmake/ConfigUserAdvancedTemplate.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@
185185
#enable_testing()
186186
#set (DO_EXAMPLES TRUE)
187187
#set (DO_TESTS TRUE)
188-
#set (DO_ANIMATIONS TRUE)
189188
# Number of parallel test jobs with "make check":
190189
#set (N_TEST_JOBS 4)
191190

doc/examples/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ if (SPHINX_FOUND)
5555
add_custom_target (_docs_html_examples_fig DEPENDS ${_examples_png})
5656
add_depend_to_target (docs_depends _docs_html_examples_fig _docs_examples_verbatim)
5757

58-
# Animations
59-
if (UNIX AND DO_ANIMATIONS)
60-
configure_file (animate.in animate @ONLY)
61-
endif (UNIX AND DO_ANIMATIONS)
62-
6358
endif (SPHINX_FOUND)
6459

6560
# run examples (test)

doc/examples/animate.in

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)