Takeshi KOMIYA
2db006a0af
Fix #7183 : intersphinx: `:attr:
` reference to property is broken
2020-02-22 01:28:13 +09:00
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
Jon Dufresne
5bf25eb445
Avoid respecifying default encoding for .encode()/.decode() calls
...
In Python 3, both .encode() and .decode() default the encoding to
'utf-8'. See the docs:
https://docs.python.org/3/library/stdtypes.html#str.encode
https://docs.python.org/3/library/stdtypes.html#bytes.decode
Simplify and shorten the code by using the default instead of
respecifying it.
2018-12-15 17:19:56 -08:00
Jon Dufresne
4f4e225775
Replace all six.BytesIO with io.BytesIO
2018-09-23 18:38:06 -07:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
aa47e9decc
Fix #4209 : intersphinx: In link title, "v" should be optional if target has no version
2018-01-30 00:14:53 +09:00
Andy Neebel
3a0c050af0
Some cleanup to avoid using the std:: namespace
2017-09-28 13:43:46 -05:00
Andy Neebel
5ebfd51672
Improve cpp intersphinx support
...
Now types called out in function declarations will be searched for in
the intersphinx inventory as well
2017-06-26 14:21:52 -05:00
Takeshi KOMIYA
44b6044d4b
Implement get_full_qualified_name() to CPPDomain (refs: #3630 )
2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
96fa6d2972
Implement get_full_qualified_name() to JavascriptDomain (refs: #3630 )
2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
db377ceb55
Implement get_full_qualified_name() to StandardDomain (refs: #3630 )
2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
29254c15f1
Move InventoryFile class to sphinx.util.inventory
2017-03-02 22:51:42 +09:00