Skip to content

Commit a8871a9

Browse files
authored
Merge pull request OSGeo#13036 from rouault/ci_win_doc
CI: test building HTML documentation on Windows
2 parents cf2fd14 + d002cea commit a8871a9

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

.github/workflows/cmake_builds.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ jobs:
436436
sqlite tiledb zstd cryptopp cgal doxygen librttopo openssl liblzma-devel \
437437
openjdk ant qhull armadillo blas blas-devel libblas libcblas liblapack liblapacke blosc libarchive \
438438
libarrow pyarrow libaec libheif libavif muparser cmake fsspec
439+
pip install -r doc/requirements.txt
439440
- name: Check CMake version
440441
shell: bash -l {0}
441442
run: |
@@ -468,14 +469,18 @@ jobs:
468469
run: cmake --build $GITHUB_WORKSPACE/build --config Release -j 2
469470
env:
470471
GIT_LFS_SKIP_SMUDGE: 1 # for PublicDecompWT github repository clone
472+
- name: Build HTML pages
473+
shell: bash -l {0}
474+
run: cmake --build $GITHUB_WORKSPACE/build --config Release -j 2 --target html
471475
- name: test
472476
shell: bash -l {0}
473477
run: |
474478
cmake --build $GITHUB_WORKSPACE/build --config Release --target quicktest
475479
- name: test (with ctest)
476480
shell: bash -l {0}
477481
run: |
478-
ctest --test-dir $GITHUB_WORKSPACE/build -C Release -V -j 3
482+
# Exclude doc spellcheck as it crashes
483+
ctest --test-dir $GITHUB_WORKSPACE/build -C Release -V -j 3 -E spelling
479484
env:
480485
SKIP_OGR_GMLAS_HUGE_PROCESSING_TIME: YES
481486
SKIP_OGR_GMLAS_HTTP_RELATED: YES

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ def check_python_bindings():
310310
(".*", "classPythonPluginLayer"),
311311
(".*", "classPythonPluginDriver"),
312312
(".*", "classGDALSubsetGroup"),
313+
(".*", "structOGRwkbExportOptions"), # only emitted by Windows CI
313314
# FIXME We ignore everything python related for now...
314315
("py:.*", ".*"),
315316
# TODO: To examine
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _raster.Idrisi:
1+
.. _raster.idrisi:
22

33
================================================================================
44
RST -- Idrisi Raster Format

doc/source/drivers/raster/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Raster drivers
8585
heif
8686
hf2
8787
hfa
88-
Idrisi
88+
idrisi
8989
ilwis
9090
iris
9191
isce

doc/source/spelling_wordlist.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ buildbot
297297
Buildbot
298298
BuildVRT
299299
BuildVRTOptions
300+
bulleted
301+
Bulleted
300302
bumpmap
301303
BUnits
302304
bUnlinkAndSeize
@@ -1206,6 +1208,7 @@ gnot
12061208
Gohlke
12071209
Golang
12081210
Golomb
1211+
Goode
12091212
goog
12101213
googleapis
12111214
gpkg
@@ -1256,6 +1259,7 @@ gz
12561259
gzip
12571260
GZip
12581261
gzipped
1262+
Hadoop
12591263
Haff
12601264
Halasz
12611265
hana
@@ -1847,6 +1851,7 @@ Mollweide
18471851
Mongo
18481852
MONGOCXX
18491853
mongocxxv
1854+
MongoDB
18501855
monoblock
18511856
Monospace
18521857
Morissette
@@ -1892,6 +1897,7 @@ multilines
18921897
multilinestring
18931898
multilinestrings
18941899
Multipage
1900+
multipart
18951901
multipatch
18961902
Multiplatform
18971903
multipoint
@@ -2591,6 +2597,7 @@ precompiled
25912597
precompute
25922598
predefine
25932599
predelete
2600+
preinstalled
25942601
prelimenary
25952602
preload
25962603
premultiplication
@@ -2760,8 +2767,8 @@ rasterization
27602767
rasterize
27612768
Rasterize
27622769
rasterized
2763-
rasterizes
27642770
RasterizeOptions
2771+
rasterizes
27652772
rasterizing
27662773
rasterlite
27672774
Rasterlite

0 commit comments

Comments
 (0)