- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
quickstart: set conf.py pygments_style value to None #5282
quickstart: set conf.py pygments_style value to None #5282
Conversation
Currently quickstart sets a value for `pygments_style`, this is not desirable because it overrides the theme's default `pygments_style`. It should be `None` so theme`s value is used by default.
Codecov Report
@@ Coverage Diff @@
## master #5282 +/- ##
==========================================
+ Coverage 82.24% 82.24% +<.01%
==========================================
Files 302 302
Lines 39585 39585
Branches 6094 6094
==========================================
+ Hits 32557 32558 +1
Misses 5691 5691
+ Partials 1337 1336 -1
Continue to review full report at Codecov.
|
@@ -78,7 +78,7 @@ language = {{ language | repr }} | |||
exclude_patterns = [{{ exclude_patterns }}] | |||
|
|||
# The name of the Pygments (syntax highlighting) style to use. | |||
pygments_style = 'sphinx' | |||
pygments_style = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: the original setting was born at 7d9721d (v0.2). So this setting is a part of Sphinx itself even if it's a bug.
I just understand this is a bug of Sphinx. So I'll merge this into 1.8.0 release. |
Merged. Thank you for contribution! |
testcases and CHANGES for #5282
Feature or Bugfix
Purpose
Currently quickstart sets a value for
pygments_style
,this is not desirable because it overrides the theme's default
pygments_style
.It should be
None
so theme`s value is used by default.