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

Multiple builder support in sphinx-build #10096

Closed
kasium opened this issue Jan 13, 2022 · 5 comments
Closed

Multiple builder support in sphinx-build #10096

kasium opened this issue Jan 13, 2022 · 5 comments
Labels
type:enhancement enhance or introduce a new feature

Comments

@kasium
Copy link

kasium commented Jan 13, 2022

Is your feature request related to a problem? Please describe.
The setuptools integration allows the definition of multiple builders, e.g. builder = html,linkcheck,doctest. However, the same is not possible over sphinx-builder. If I use -b with a comma/space separated list, the command fails. Specifying -b multiple times also doesn't work.

Describe the solution you'd like
Allow -b to get a comma/space separated list or to be specified multiple times

Describe alternatives you've considered
Running the command multiple times, which is not very nice...

@kasium kasium added the type:enhancement enhance or introduce a new feature label Jan 13, 2022
@kasium kasium changed the title Multiple builder support in sphinx-builder Multiple builder support in sphinx-build Jan 13, 2022
@tk0miya
Copy link
Member

tk0miya commented Jan 13, 2022

How about using make html linkcheck doctest instead? I think following KISS principle is better.

@kasium
Copy link
Author

kasium commented Jan 13, 2022

Valid point. However, if I just want to use pure CLI w/o make or setuptools, I need to have multiple calls. Could that be added?

@astrojuanlu
Copy link
Contributor

There have been some attempts at creating "a new CLI" (I took some notes months ago here), perhaps it could be included in those plans, rather than modifying the current CLI?

@kasium
Copy link
Author

kasium commented Jan 14, 2022

Fine for me 😄

@AA-Turner
Copy link
Member

Closing in favour of #5618.

A

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:enhancement enhance or introduce a new feature
Projects
None yet
Development

No branches or pull requests

4 participants