sphinx/tests
Takeshi KOMIYA acf66bc4d5 Close #5603: autodoc: Allow to refer to a python object using canonical name
This generates `:canonical:` option for `:py:class:` directive if the
target class is imported from other module.  It allows users to refer it
using both the new name (imported name) and the original name (canonical
name).

It helps a library that implements some class in private module (like
`_io.StringIO`), and publish it as public module (like `io.StringIO`).
2021-03-27 17:34:15 +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 Close #5603: autodoc: Allow to refer to a python object using canonical name 2021-03-27 17:34:15 +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 Fix #9009: LaTeX: "release" value with underscore leads to invalid LaTeX 2021-03-17 01:24:03 +09:00
test_build_linkcheck.py Fix the testcase for linkcheck refers removed URLs 2021-03-27 17:10:09 +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 Merge branch '3.x' 2021-03-20 23:25: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 Close #8487: csv-table now considers abspath as relpath from srcdir 2021-03-09 01:07:19 +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 py domain: Add py:property directive to describe a property (refs: #7068) 2021-03-11 01:56:39 +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 Fix #7383: autodoc: Support typehints for properties 2021-03-13 22:51:46 +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_autoproperty.py Fix #7383: autodoc: Support typehints for properties 2021-03-13 22:51:46 +09:00
test_ext_autodoc_configs.py Fix #7383: autodoc: Support typehints for properties 2021-03-13 22:51:46 +09: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 #5603: autodoc: Allow to refer to a python object using canonical name 2021-03-27 17:34:15 +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 Fix #8992: autodoc: Failed to resolve types.TracebackType type annotation 2021-03-17 23:37:43 +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