Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the 'html-noplot' make target for docs #3766

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Fix the 'html-noplot' make target for docs #3766

merged 1 commit into from
Jan 12, 2025

Conversation

seisman
Copy link
Member

@seisman seisman commented Jan 11, 2025

make html-noplot started to fail after #3761.

$ make html-noplot

Generating rst source files of API documentation.

sphinx-autogen -i -t _templates -o api/generated api/*.rst
[autosummary] generating autosummary for: api/index.rst
[autosummary] writing to api/generated

Building HTML files without example plots.

sphinx-build -D plot_gallery=0 -M html -j auto "." "_build" -j auto
usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: unrecognized arguments: -M
make: *** [Makefile:42: html-noplot] Error 2

In sphinx-build make-mode, -M must be the first option flag, then the source directory and build directory. All other options should be put at the end.

This PR patches #3761.

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Jan 11, 2025
@seisman seisman modified the milestones: 0.14.1, 0.15.0 Jan 11, 2025
@seisman seisman enabled auto-merge (squash) January 11, 2025 13:46
@seisman seisman disabled auto-merge January 11, 2025 13:46
@seisman seisman merged commit 77a2d59 into main Jan 12, 2025
11 of 12 checks passed
@seisman seisman deleted the doc/html-noplot branch January 12, 2025 06:05
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant