Skip to content

Commit 5582374

Browse files
author
Release Manager
committed
sagemathgh-41191: Warn on meson target generation when doc-build is enabled fix sagemath#41070 Some time ago it was not enabled by default. Not everyone needs building the docs. This avoid wasting 5 minutes of developers' time when they upgrade a version or add/delete a file. (and maybe some hours of figuring what has changed) ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41191 Reported by: user202729 Reviewer(s): Dima Pasechnik
2 parents 8420122 + 29e8dd1 commit 5582374

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ if not get_option('build-docs')
22
subdir_done()
33
endif
44

5+
warning('Documentation building enabled, generating targets may be slow. To disable this, pass -Dbuild-docs=false.')
6+
57
sphinx_check = py_module.find_installation(required: false, modules: ['sphinx'])
68
if not sphinx_check.found()
79
warning(

0 commit comments

Comments
 (0)