1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
<document source="index">
<section ids="index" names="index">
<title>
Index
<section ids="code-block" names="code-block">
<title>
code-block
<container classes="literal-block-wrapper" ids="id1" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
def foo(x: dict[str, str] | list[str]) -> list[int] | None:
pass
<section ids="code-block-no-upgrade" names="code-block\ no\ upgrade">
<title>
code-block no upgrade
<container classes="literal-block-wrapper" ids="id2" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Dict, Union, List, Optional
def foo(x: Union[Dict[str, str], List[str]]) -> Optional[List[int]]:
pass
<section ids="code-block-non-python" names="code-block\ non-python">
<title>
code-block non-python
<literal_block force="False" highlight_args="{}" language="javascript" xml:space="preserve">
const x = "hello"
<section ids="code-block-no-language" names="code-block\ no\ language">
<title>
code-block no language
<literal_block force="False" highlight_args="{}" language="default" xml:space="preserve">
this is something
<section ids="literalinclude" names="literalinclude">
<title>
literalinclude
<container classes="literal-block-wrapper" ids="id3" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
def foo(x: dict[str, str] | list[str]) -> list[int] | None:
pass
<section ids="literalinclude-non-python" names="literalinclude\ non-python">
<title>
literalinclude non-python
<literal_block force="False" highlight_args="{'linenostart': 1}" language="javascript" source="example.js" xml:space="preserve">
const foo = "bar"
<section ids="literalinclude-no-language" names="literalinclude\ no\ language">
<title>
literalinclude no language
<literal_block force="False" highlight_args="{'linenostart': 1}" source="example.js" xml:space="preserve">
const foo = "bar"
|