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

Disable Sphinx colors when -C is used. #16

Closed
Robpol86 opened this issue Aug 9, 2016 · 1 comment
Closed

Disable Sphinx colors when -C is used. #16

Robpol86 opened this issue Aug 9, 2016 · 1 comment

Comments

@Robpol86
Copy link
Collaborator

Robpol86 commented Aug 9, 2016

-C disables colors in sphinx-versioning but not when it calls sphinx-build. Set -N in sphinx-build when -C is used in sphinx-versioning.

@Robpol86
Copy link
Collaborator Author

Same with -v (one -v makes sphinx-versioning verbose, two -v adds a -v to sphinx-build, etc.

Robpol86 added a commit that referenced this issue Aug 14, 2016
Config.verbose changed from bool to int for multiple levels.

Having n-1 "-v" options passed to sphinx-build.

Can't use make_pass_decorator() outside of __main__ since it passed to
args[0] of decorated function. Switching to ctx.find_object() instead.

For #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant