summaryrefslogtreecommitdiff
path: root/tests/test_environment.py
Commit message (Collapse)AuthorAgeFilesLines
* Increase static typing strictness (#10530)Adam Turner2022-06-161-4/+2
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-2/+2
| | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.
* Merge branch '3.x'Takeshi KOMIYA2021-01-221-0/+5
|\
| * Fix #1112: download role creates duplicated copiesTakeshi KOMIYA2021-01-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | `:download:` role creates duplicated copies when the document contains two or more the role for the same file, but in different form. It considers two paths are different when one contains relative path like `path/to/../file.dat`. Internally, `env.relfn2path()` does not normalize the given path in relative form. As a result, download role can't detect the same paths are given. This adds `os.path.normpath()` to `env.relfn2path()` to normalize the path.
* | Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-1/+2
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* | py domain: Add :canonical: optionTakeshi KOMIYA2020-05-041-1/+1
|/
* Fix #7301: Allow . and _ for node_idTakeshi KOMIYA2020-03-221-1/+1
| | | | | | | | | | | | In development of 3.0, Sphinx starts to obey to the rule of "Identifier Normalization" of docutils. This extends it to allow dots(".") and underscores("_") for node identifier. It allows Sphinx to generate node identifier from source string as possible as it is (bacause dots and underscores are usually used in many programming langauges). This change will keep not to break hyperlinks as possible.
* py domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-071-1/+1
|
* py domain: Generate node_id for modules in the right wayTakeshi KOMIYA2020-03-071-1/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* ENH: Explain rebuildsEric Larson2019-08-061-1/+15
|
* Fix #6531: Failed to load last environment object when extension addedTakeshi KOMIYA2019-06-301-0/+23
|
* Python-3-only clean ups discovered by pyupgradeJon Dufresne2019-03-171-7/+6
| | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
* test: Reduce warnings on building test-rootTakeshi KOMIYA2019-02-141-2/+0
| | | | Note: all warnings are tested on test-warnings.
* Add PathComparer for testing and fix 2 test failure on Windows. (#5943)Takayuki SHIMIZUKAWA2019-01-131-2/+3
| | | | | | | | | commits are squashed. * Add PathComparer for testing and fix 2 test failure on Windows. * fix flake8 * add type information by f2f review. Thanks to @tk0miya! * fix mypy, flake8 again..
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Move env.doc2path() and env.path2doc() to Project classTakeshi KOMIYA2018-10-161-0/+44
|/
* Deprecate env.update()!Takeshi KOMIYA2018-02-241-68/+11
| | | | | To make BuildEnvironment simple, the responsibility of converting source files to doctrees is moved to Builder class.
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-1/+1
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Fix flake8 violationsTakeshi KOMIYA2017-12-231-1/+1
|/
* refs #3458: add sphinx.testing that are moved from /tests directory.shimizukawa2017-05-141-7/+9
|
* Drop warning for nonlocal image URITakeshi KOMIYA2017-04-191-2/+0
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Create an instance of builder before initialize envTakeshi KOMIYA2017-03-191-0/+4
| |
* | BuildEnvironment always own application object (after read phase)Takeshi KOMIYA2017-03-081-4/+4
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-101-4/+2
|\ \ | |/
| * pytest optimizatoin:shimizukawa2017-01-081-4/+2
| | | | | | | | | | | | | | | | - remote using deprecated decorators - remove gen_with_app - remove yield testing - remove pytest warnings - refactoring
| * pytest migrationshimizukawa2017-01-041-2/+0
| |
* | Use loggersTakeshi KOMIYA2017-01-021-17/+7
|/
* Optimized tests: remove markups for warningsTakeshi KOMIYA2016-07-151-5/+0
|
* Fix broken testcaseTakeshi KOMIYA2016-04-221-1/+1
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Fix #981: LaTeX: support image file names with more than 1 dotsHong Xu2015-12-171-4/+6
| | | | | | | | LaTeX cannot detect image file names with more than 1 dots in it correctly. The solution is to use '{}' to surround the base name. See https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename Fix #981
* Adapt test after env-updated change.Georg Brandl2015-01-251-3/+2
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|
* Test suite fixes after env.update() change.Georg Brandl2014-09-221-16/+6
|