Skip to content

Commit

Permalink
meson: disable doc builds by default
Browse files Browse the repository at this point in the history
The only docs we build is the doxygen API and I reckon there's a near-zero
amount of users who actually want these built locally instead of just browsing
the online doc.

Let's not build this by default, dropping the requirement on doxygen and
speeding up the build by quite a fair bit.
  • Loading branch information
whot committed Mar 13, 2024
1 parent 737706f commit 96c1f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup
run: |
# -gdwarf-4 - see https://github.com/llvm/llvm-project/issues/56550.
CFLAGS='-gdwarf-4' meson setup build -Denable-cool-uris=true
CFLAGS='-gdwarf-4' meson setup build -Denable-docs -Denable-cool-uris=true
env:
CC: ${{ matrix.compiler }}
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ option(
option(
'enable-docs',
type: 'boolean',
value: true,
value: false,
description: 'Enable building the documentation',
)
option(
Expand Down

0 comments on commit 96c1f42

Please sign in to comment.