Takeshi KOMIYA
99fbd44e20
Store stylesheets as an instance variable of HTML builder
...
So far, CSS files are stored as a class variable of HTML builder.
Not to have status globally, this changes it to an instance varable.
2018-04-06 13:10:49 +09:00
Takeshi KOMIYA
c5d6942b88
add_stylesheet() allows additional attributes
2018-04-06 13:10:49 +09:00
Takeshi KOMIYA
2c7d08ee47
Merge branch '1.7'
2018-03-19 23:46:15 +09:00
Takeshi KOMIYA
c3afffe54f
Fix #2286 : Sphinx crashes when error is happens in rendering HTML pages
2018-03-19 00:22:18 +09:00
Takeshi KOMIYA
52ed9ef3a0
Closes #2157 : helper function `warning()
` for HTML themes is added
2018-03-19 00:18:10 +09:00
Takeshi KOMIYA
9efaf18852
Merge branch '1.7'
2018-03-18 01:21:01 +09:00
Takeshi KOMIYA
70a622b86c
Revert "Use typing.TYPE_CHECKING for typehints"
...
This reverts commit a073e17537
.
2018-03-13 23:23:15 +09:00
Takeshi KOMIYA
6faef28150
Make console and warning messages translatable
2018-03-03 23:18:38 +09:00
Takeshi KOMIYA
645ad75523
Fix mypy violations
2018-02-26 02:21:26 +09:00
Takeshi KOMIYA
aba26657c5
Replace `l_()
by
_()
`
2018-02-25 02:03:57 +09:00
Takeshi KOMIYA
f8bb40ab30
Merge branch '1.7'
2018-02-18 12:39:07 +09:00
Takeshi KOMIYA
5d1b8ff55f
Fix mypy violations
2018-02-14 22:57:41 +09:00
Takeshi KOMIYA
a073e17537
Use typing.TYPE_CHECKING for typehints
2018-02-14 22:57:38 +09:00
Takeshi KOMIYA
dc2b153835
Update type annotations
2018-02-04 15:14:51 +09:00
Takeshi KOMIYA
e90f8a768b
Fix #4522 : epub: document is not rebuilt even if config changed
2018-01-31 22:11:07 +09:00
Takeshi KOMIYA
c9f511ad19
Fix #4230 : slowdown in writing document with sphinx 1.6
...
``docutils.utils.new_document()`` is much slower than an instantiation
of document node. This adds a much faster alternative of the function
which uses caches internally.
2018-01-30 21:34:22 +09:00
Takeshi KOMIYA
cb5cf26c85
Merge branch 'stable' into 1.7-release
2018-01-30 00:20:45 +09:00
Takeshi KOMIYA
16d1efe104
Update comment
2018-01-29 22:59:52 +09:00
Takeshi KOMIYA
e4af2a1c8f
Fix BuildInfo comparison
2018-01-29 22:25:59 +09:00
Takeshi KOMIYA
9f5c676322
Use flake8-import-order
2018-01-28 01:52:16 +09:00
Takeshi KOMIYA
af25fa123d
Merge branch 'stable' into 1.7-release
2018-01-28 00:18:33 +09:00
Takeshi KOMIYA
1591607481
Fix #4477 : Build fails after building specific files
2018-01-24 21:28:06 +09:00
Stephen Finucane
a83e8bab7d
builders: Add 'Builder.epilog' option
...
This allows builders to emit a final epilog message containing
information such as where resulting files can be found. This is only
emitted if the build was successful.
This allows us to remove this content from the 'make_mode' tool and
the legacy 'Makefile' and 'make.bat' templates. There's room for more
dramatic simplification of the former, but this will come later.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-11 20:57:03 +00:00
Takeshi KOMIYA
f1f6ca8cc9
Merge branch 'happy_new_year' into master
2018-01-01 01:09:17 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
d003707f71
Merge branch 'stable'
2017-12-16 14:54:58 +09:00
Takeshi KOMIYA
7cabd6cbb0
Fix mypy violations
2017-12-16 14:52:20 +09:00
Takeshi KOMIYA
9ac68edced
Merge pull request #4178 from tk0miya/deprecate_string_for_html_sidebars
...
a single string value for ``html_sidebars`` will be deprecated in 2.0
2017-10-31 10:37:04 +09:00
Takeshi KOMIYA
83c266aa2e
using a string value for `html_sidebars
` will be removed in 2.0
2017-10-30 13:41:57 +09:00
Takeshi KOMIYA
6288eac1ec
Provide default settings for alabaster
2017-10-26 00:02:08 +09:00
Takeshi KOMIYA
b78f3090a0
HTML themes can set up default sidebars through `theme.conf
`
2017-10-22 15:14:02 +09:00
Takeshi KOMIYA
3369d9a03a
Merge branch 'stable'
2017-10-16 21:03:38 +09:00
Takeshi KOMIYA
46bf9ab4a0
Fix #3692 : Unable to build HTML if writing .buildinfo failed
2017-10-07 23:37:45 +09:00
Takeshi KOMIYA
cc5a1542c7
Fix #4051 : warn() function for HTML theme outputs 'None' string
2017-09-26 01:29:12 +09:00
Takeshi KOMIYA
f2fbd81a70
Merge pull request #4084 from sphinx-doc/4051_warn_outputs_None_string
...
Fix #4051 : warn() function for HTML theme outputs 'None' string
2017-09-26 01:28:31 +09:00
Takeshi KOMIYA
ec2e60674f
Fix #4051 : warn() function for HTML theme outputs 'None' string
2017-09-26 00:56:24 +09:00
Takeshi KOMIYA
c32233b0e1
Merge commit '63c15998f66eeb42f3fcfef6087a7264645bee6b~1'
2017-09-24 21:36:04 +09:00
Takeshi KOMIYA
d63a678228
Reduce DeprecationWarning
2017-07-31 22:30:48 +09:00
Takeshi KOMIYA
de11e54955
Merge branch 'stable'
2017-05-28 23:26:16 +09:00
Takeshi KOMIYA
fae1bff645
Fix warning message for old docutils package
2017-05-28 23:07:17 +09:00
Takeshi KOMIYA
0008d576fc
Merge branch 'stable'
2017-05-19 01:58:50 +09:00
Takeshi KOMIYA
9795dca2d9
Fix #3756 : epub: Entity mdash not defined
2017-05-18 00:19:10 +09:00
Takeshi KOMIYA
62614afb83
Fix #3754 : HTML builder crashes if HTML theme appends own stylesheets
2017-05-17 23:24:13 +09:00
jfbu
5ca651f220
Merge branch '1.6-release'
2017-05-07 10:49:45 +02:00
Takeshi KOMIYA
df002416b6
Merge branch 'stable' into 1.6-release
2017-05-07 17:40:41 +09:00
Takeshi KOMIYA
d003ac4ac0
Fix flake8 violation
2017-05-07 16:22:55 +09:00
Nathaniel J. Smith
07f1a6d84d
Stop enforcing that favicon's must be .ico
...
Support for at least .png and .gif is now essentially universal, and
other formats (.jpg, .svg, etc.) are relatively widespread.
This was only a warning, but it's common to run sphinx with warnings
turned into errors, so it caused problems.
2017-05-07 00:02:27 -07:00
Takeshi KOMIYA
5a9b78ed84
Merge branch '1.6-release'
2017-05-07 15:27:46 +09:00
Takeshi KOMIYA
579a79660e
Update type annotations for new mypy
2017-05-07 14:28:41 +09:00
jfbu
f547e59a7a
Merge branch '1.6-release'
2017-05-05 13:34:47 +02:00