sphinx/tests
jfbu 309f38a91f Split out fancy LaTeX macros from `\sphinxcode into \sphinxupquote`
Since #2627 (1.4.4), `\code`, and then again at #3116 (1.5)
`\sphinxcode` which is the new name has become more complicated than the
original `\texttt{#1}`. This was to obtain straight quotes in PDF output,
and to allow long inline literals to break across lines.

This means though that users who want to customize `\sphinxcode`, for
example to not only do `\texttt` but to use some colour, have to copy
about 10 lines of complicated LaTeX macros which should be not modified
in any way. This commit moves all the code out of `\sphinxcode` into a
separate macro `\sphinxupquote`.

The LaTeX writer will output `\sphinxcode{\sphinxupquote{foo}}` in place
of former `\sphinxcode{foo}`. Moving the `\texttt` from innermost to
outermost level is with no consequence.
2018-01-03 08:46:19 +01:00
..
etree13 Merge branch 'stable' 2017-03-01 15:04:28 +09:00
py35 A happy new year! 2018-01-01 01:06:58 +09:00
roots Merge branch 'stable' 2017-12-31 21:13:34 +09:00
conftest.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_api_translator.py A happy new year! 2018-01-01 01:06:58 +09:00
test_application.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_autodoc.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build_applehelp.py A happy new year! 2018-01-01 01:06:58 +09:00
test_build_epub.py Fix flake8 violations 2017-12-23 21:21:21 +09:00
test_build_gettext.py A happy new year! 2018-01-01 01:06:58 +09:00
test_build_html5.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build_html.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build_latex.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build_linkcheck.py A happy new year! 2018-01-01 01:06:58 +09:00
test_build_manpage.py A happy new year! 2018-01-01 01:06:58 +09:00
test_build_qthelp.py A happy new year! 2018-01-01 01:10:10 +09:00
test_build_texinfo.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build_text.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_build.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_catalogs.py A happy new year! 2018-01-01 01:06:58 +09:00
test_config.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_correct_year.py A happy new year! 2018-01-01 01:06:58 +09:00
test_directive_code.py A happy new year! 2018-01-01 01:06:58 +09:00
test_directive_only.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_docutilsconf.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_domain_cpp.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_domain_js.py A happy new year! 2018-01-01 01:06:58 +09:00
test_domain_py.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_domain_rst.py A happy new year! 2018-01-01 01:06:58 +09:00
test_domain_std.py A happy new year! 2018-01-01 01:06:58 +09:00
test_environment_indexentries.py A happy new year! 2018-01-01 01:06:58 +09:00
test_environment_toctree.py A happy new year! 2018-01-01 01:06:58 +09:00
test_environment.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_apidoc.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_autodoc.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_autosectionlabel.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_autosummary.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_coverage.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_doctest.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_githubpages.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_graphviz.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_ifconfig.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_imgconverter.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_inheritance_diagram.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_intersphinx.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_math.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_napoleon_docstring.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_napoleon_iterators.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_napoleon.py A happy new year! 2018-01-01 01:06:58 +09:00
test_ext_todo.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_ext_viewcode.py A happy new year! 2018-01-01 01:06:58 +09:00
test_highlighting.py A happy new year! 2018-01-01 01:06:58 +09:00
test_intl.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_io.py A happy new year! 2018-01-01 01:10:10 +09:00
test_markup.py Split out fancy LaTeX macros from `\sphinxcode into \sphinxupquote` 2018-01-03 08:46:19 +01:00
test_metadata.py A happy new year! 2018-01-01 01:06:58 +09:00
test_pycode_parser.py Merge pull request #4157 from tk0miya/4156_parse_class_comment 2017-10-21 13:45:33 +09:00
test_pycode.py tests: Remove 'tests/run.py' 2017-12-29 13:02:31 +00:00
test_quickstart.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_search.py A happy new year! 2018-01-01 01:06:58 +09:00
test_setup_command.py A happy new year! 2018-01-01 01:06:58 +09:00
test_templating.py A happy new year! 2018-01-01 01:06:58 +09:00
test_theming.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_toctree.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_docstrings.py Add testcase for sphinx.util.docstrings 2017-07-26 20:51:40 +09:00
test_util_fileutil.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_i18n.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_images.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_util_inspect.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_util_inventory.py Some cleanup to avoid using the std:: namespace 2017-09-28 13:43:46 -05:00
test_util_jsdump.py #2902: jsdump.loads fails to load search index if keywords starts with underscore 2016-08-27 15:28:36 +09:00
test_util_logging.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_matching.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_nodes.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util_rst.py A happy new year! 2018-01-01 01:06:58 +09:00
test_util.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_versioning.py Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
test_websupport.py A happy new year! 2018-01-01 01:06:58 +09:00
test_writer_latex.py A happy new year! 2018-01-01 01:06:58 +09:00
typing_test_data.py Fix #3135: `sphinx.ext.autodoc` crashes with plain Callable 2016-11-13 00:01:41 +09:00