sphinx/tests
Takeshi KOMIYA 1ea11b1e48 Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension
Add a new extension `sphinx.ext.autodoc.preserve_defaults`.

It preserves the default argument values of function signatures in source code
and keep them not evaluated for readability.  This is an experimental
extension and it will be integrated into autodoc core in Sphinx-4.0.
2021-03-06 18:48:18 +09:00
..
certs linkcheck: Specify subjectAltName in test self-signed certificate 2020-11-15 18:25:39 +01:00
js Closes #8123: Fix plus-handling (+) in search terms for basic html theme search 2020-08-19 18:01:27 +02:00
roots Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension 2021-03-06 18:48:18 +09:00
__init__.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
conftest.py A happy new year! 2021-01-01 13:40:48 +09:00
ext_napoleon_pep526_data_google.py refactored code and tests, prepared for numpy feature 2020-11-25 08:45:25 +01:00
ext_napoleon_pep526_data_numpy.py implemented feature in numpy style, factored common code 2020-11-25 08:45:25 +01:00
test_api_translator.py A happy new year! 2021-01-01 13:40:48 +09:00
test_application.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_changes.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_dirhtml.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_epub.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_build_gettext.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_html.py Merge branch '3.x' 2021-02-17 00:16:32 +09:00
test_build_latex.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_build_linkcheck.py refactor: linkcheck: Refine the constructor of Checker and CheckWorker 2021-02-12 23:20:07 +09:00
test_build_manpage.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_build_texinfo.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_text.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_builder.py A happy new year! 2021-01-01 13:40:48 +09:00
test_catalogs.py A happy new year! 2021-01-01 13:40:48 +09:00
test_config.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_correct_year.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_code.py Adapt our tests to Pygments 2.8.0 2021-02-14 21:17:17 +01:00
test_directive_only.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_other.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_patch.py A happy new year! 2021-01-01 13:40:48 +09:00
test_docutilsconf.py A happy new year! 2021-01-01 13:40:48 +09:00
test_domain_c.py C and C++, fix nested paramter lists 2021-03-04 21:28:18 +01:00
test_domain_cpp.py C and C++, fix nested paramter lists 2021-03-04 21:28:18 +01:00
test_domain_js.py A happy new year! 2021-01-01 13:40:48 +09:00
test_domain_py.py Fix #7199: py domain: Add a new confval: python_use_unqualified_type_names 2021-03-06 14:00:00 +09:00
test_domain_rst.py A happy new year! 2021-01-01 13:40:48 +09:00
test_domain_std.py Merge branch '3.x' 2021-01-24 14:32:13 +09:00
test_environment_indexentries.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_environment_toctree.py A happy new year! 2021-01-01 13:40:48 +09:00
test_environment.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_errors.py Fix AttributeError in ExtensionError 2018-09-09 11:50:56 -07:00
test_events.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_apidoc.py Fix #8727: apidoc: namespace module file is not generated if no submodules 2021-01-23 00:40:16 +09:00
test_ext_autodoc_autoattribute.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_ext_autodoc_autoclass.py refactor: Fix the right hand value of autodoc options should be None 2021-02-04 22:35:29 +09:00
test_ext_autodoc_autodata.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_ext_autodoc_autofunction.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_ext_autodoc_automodule.py rebase and fix tests 2021-02-01 10:58:09 +01:00
test_ext_autodoc_configs.py rebase and fix tests 2021-02-01 10:58:09 +01:00
test_ext_autodoc_events.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_autodoc_mock.py Fix #8134: autodoc: crashes when mocked decorator takes arguments 2021-01-24 14:18:00 +09:00
test_ext_autodoc_preserve_defaults.py Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension 2021-03-06 18:48:18 +09:00
test_ext_autodoc_private_members.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_ext_autodoc.py Close #8924: autodoc: Support bound argument for TypeVar 2021-02-24 22:51:06 +09:00
test_ext_autosectionlabel.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_ext_autosummary.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_ext_coverage.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_doctest.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_duration.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_githubpages.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_graphviz.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_ifconfig.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_imgconverter.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_inheritance_diagram.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_intersphinx.py intersphinx: Support pending_xref_condition 2021-03-06 14:58:15 +09:00
test_ext_math.py Merge branch '3.x' 2021-01-08 01:23:17 +09:00
test_ext_napoleon_docstring.py Merge branch '3.x' 2021-01-24 14:32:13 +09:00
test_ext_napoleon_iterators.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_napoleon.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_todo.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_ext_viewcode.py Fix #8704: viewcode: anchors are generated in incremental build 2021-01-22 21:41:42 +09:00
test_highlighting.py A happy new year! 2021-01-01 13:40:48 +09:00
test_intl.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_locale.py A happy new year! 2021-01-01 13:40:48 +09:00
test_markup.py Fix suppression of needed whiteline, encapsulate into \sphinxAtStartPar 2021-01-29 10:40:50 +01:00
test_metadata.py A happy new year! 2021-01-01 13:40:48 +09:00
test_parser.py A happy new year! 2021-01-01 13:40:48 +09:00
test_project.py A happy new year! 2021-01-01 13:40:48 +09:00
test_pycode_ast.py A happy new year! 2021-01-01 13:40:48 +09:00
test_pycode_parser.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_pycode.py A happy new year! 2021-01-01 13:40:48 +09:00
test_quickstart.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_roles.py A happy new year! 2021-01-01 13:40:48 +09:00
test_search.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_setup_command.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_smartquotes.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_templating.py A happy new year! 2021-01-01 13:40:48 +09:00
test_theming.py Merge branch '3.x' 2021-01-24 14:32:13 +09:00
test_toctree.py A happy new year! 2021-01-01 13:40:48 +09:00
test_transforms_post_transforms_code.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_docstrings.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_docutils.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_fileutil.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_i18n.py Fix #8683: html_last_updated_fmt generates wrong time zone for %Z 2021-01-13 00:50:01 +09:00
test_util_images.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_inspect.py autodoc: an imported TypeVar is not resolved (refs: #8415) 2021-02-28 15:58:06 +09:00
test_util_inventory.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_jsdump.py Remove unnecessary encoding cookie from Python source files 2018-12-16 12:22:12 -08:00
test_util_logging.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_matching.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_nodes.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_rst.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_template.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_typing.py autodoc: an imported TypeVar is not resolved (refs: #8415) 2021-02-28 15:58:06 +09:00
test_util.py A happy new year! 2021-01-01 13:40:48 +09:00
test_versioning.py A happy new year! 2021-01-01 13:40:48 +09:00
test_writer_latex.py A happy new year! 2021-01-01 13:40:48 +09:00
typing_test_data.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
utils.py Replace modify_env() with pytest monkeypatch.setenv() 2020-11-27 14:10:36 -08:00