Jon Dufresne
bade33c7e4
Remove unnecessary encoding cookie from Python source files
...
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:
https://docs.python.org/3/howto/unicode.html#the-string-type
> The default encoding for Python source code is UTF-8, so you can
> simply include a Unicode character in a string literal ...
Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
2018-12-16 12:22:12 -08:00
Takeshi KOMIYA
c6bd84a614
refactor: Remove u-prefix from strings
2018-12-16 21:28:51 +09:00
Takeshi KOMIYA
ae38d556b7
Combine tests for autosectionlabel
2018-02-11 13:54:47 +09:00
Kit La Touche
481b1ad535
Remove extraneous import
2018-02-11 13:53:29 +09:00
Kit La Touche
4beb4d0066
Fix unicode issues
2018-02-11 13:53:29 +09:00
Kit La Touche
29a3fd0acb
Handle older docutils
2018-02-11 13:53:29 +09:00
Kit La Touche
f21b9d5892
Use rawsource in autosectionlabel
...
Fixes #4027 .
2018-02-11 13:52:27 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
690f07fa3c
Merge pull request #3388 from smheidrich/autosectionlabel_prefix_document1
...
Added autosectionlabel_prefix_document config option
2017-04-18 01:16:00 +09:00
smheidrich
231976ff14
Added autosectionlabel_prefix_document config option.
2017-04-17 14:51:39 +02:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
Takeshi KOMIYA
7a4f914f91
Fix #1286 , #2099 : Add `sphinx.ext.autosectionlabel
` extension to allow reference sections using its title
2016-02-14 16:30:57 +09:00