summaryrefslogtreecommitdiffstats
path: root/tests/test_sphinx/test_sphinx_builds/test_includes.html
blob: 41eb1ee67ea6f67c8ec83bae6a93a3c52c940e4e (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<div class="documentwrapper">
 <div class="bodywrapper">
  <div class="body" role="main">
   <section id="main-title">
    <h1>
     Main Title
     <a class="headerlink" href="#main-title" title="Permalink to this heading"></a>
    </h1>
    <section id="a-sub-heading-in-include">
     <span id="inc-header">
     </span>
     <h2>
      A Sub-Heading in Include
      <a class="headerlink" href="#a-sub-heading-in-include" title="Permalink to this heading"></a>
     </h2>
     <p>
      Some text with
      <em>
       syntax
      </em>
     </p>
    </section>
    <section id="a-sub-heading-in-nested-include">
     <h2>
      A Sub-Heading in Nested Include
      <a class="headerlink" href="#a-sub-heading-in-nested-include" title="Permalink to this heading"></a>
     </h2>
     <p>
      Some other text with
      <strong>
       syntax
      </strong>
     </p>
     <p>
      This relative path will refer to the importing file:
     </p>
     <figure class="align-default" id="id1">
      <img alt="_images/example1.jpg" src="_images/example1.jpg"/>
      <figcaption>
       <p>
        <span class="caption-text">
         Caption
        </span>
        <a class="headerlink" href="#id1" title="Permalink to this image"></a>
       </p>
      </figcaption>
     </figure>
     <p>
      This absolute path will refer to the project root (where the
      <code class="docutils literal notranslate">
       <span class="pre">
        conf.py
       </span>
      </code>
      is):
     </p>
     <figure class="align-default" id="id2">
      <img alt="_images/example2.jpg" src="_images/example2.jpg"/>
      <figcaption>
       <p>
        <span class="caption-text">
         Caption
        </span>
        <a class="headerlink" href="#id2" title="Permalink to this image"></a>
       </p>
      </figcaption>
     </figure>
     <p>
      <img alt="alt" src="_images/example2.jpg"/>
     </p>
     <p>
      <img alt="alt" src="https://example.com"/>
     </p>
     <p>
      <a class="reference internal" href="#">
       <span class="doc std std-doc">
        text
       </span>
      </a>
     </p>
     <p>
      <a class="reference internal" href="#inc-header">
       <span class="std std-ref">
        A Sub-Heading in Include
       </span>
      </a>
     </p>
     <div class="code python highlight-default notranslate">
      <div class="highlight">
       <pre><span></span><span class="k">def</span> <span class="nf">a_func</span><span class="p">(</span><span class="n">param</span><span class="p">):</span>
    <span class="nb">print</span><span class="p">(</span><span class="n">param</span><span class="p">)</span>
</pre>
      </div>
     </div>
     <pre class="code python literal-block"><small class="ln">0 </small><code data-lineno="0 "><span class="keyword">def</span> <span class="name function">a_func</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">):</span>
</code><small class="ln">1 </small><code data-lineno="1 ">    <span class="name builtin">print</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">)</span></code></pre>
     <div class="highlight-default notranslate">
      <div class="highlight">
       <pre><span></span><span class="n">This</span> <span class="n">should</span> <span class="n">be</span> <span class="o">*</span><span class="n">literal</span><span class="o">*</span>

<span class="n">Lots</span>
<span class="n">of</span>
<span class="n">lines</span>
<span class="n">so</span> <span class="n">we</span> <span class="n">can</span> <span class="n">select</span> <span class="n">some</span>
</pre>
      </div>
     </div>
     <pre class="literal-block" id="literal-ref"><span class="ln">0 </span>Lots
<span class="ln">1 </span>of</pre>
     <section id="a-sub-sub-heading">
      <h3>
       A Sub-sub-Heading
       <a class="headerlink" href="#a-sub-sub-heading" title="Permalink to this heading"></a>
      </h3>
      <p>
       some more text
      </p>
     </section>
    </section>
   </section>
  </div>
 </div>
</div>