Debian Codegraph @

tests/roots/test-directive-only/only.rst

raw
1
2 1. Sections in only directives
3 ==============================
4
5 Testing sections in only directives.
6
7 .. only:: nonexisting_tag
8
9 Skipped Section
10 ---------------
11 Should not be here.
12
13 .. only:: not nonexisting_tag
14
15 1.1. Section
16 ------------
17 Should be here.
18
19 1.2. Section
20 ------------
21
22 .. only:: not nonexisting_tag
23
24 1.2.1. Subsection
25 ~~~~~~~~~~~~~~~~~
26 Should be here.
27
28 .. only:: nonexisting_tag
29
30 Skipped Subsection
31 ~~~~~~~~~~~~~~~~~~
32 Should not be here.
33
34 1.3. Section
35 ------------
36
37 1.3.1. Subsection
38 ~~~~~~~~~~~~~~~~~
39 Should be here.
40
41 1.4. Section
42 ------------
43
44 .. only:: not nonexisting_tag
45
46 1.4.1. Subsection
47 ~~~~~~~~~~~~~~~~~
48 Should be here.
49
50 1.5. Section
51 ------------
52
53 .. only:: not nonexisting_tag
54
55 1.5.1. Subsection
56 ~~~~~~~~~~~~~~~~~
57 Should be here.
58
59 1.5.2. Subsection
60 ~~~~~~~~~~~~~~~~~
61 Should be here.
62
63 1.6. Section
64 ------------
65
66 1.6.1. Subsection
67 ~~~~~~~~~~~~~~~~~
68 Should be here.
69
70 .. only:: not nonexisting_tag
71
72 1.6.2. Subsection
73 ~~~~~~~~~~~~~~~~~
74 Should be here.
75
76 1.6.3. Subsection
77 ~~~~~~~~~~~~~~~~~
78 Should be here.
79
80 1.7. Section
81 ------------
82
83 1.7.1. Subsection
84 ~~~~~~~~~~~~~~~~~
85 Should be here.
86
87 .. only:: not nonexisting_tag
88
89 1.7.1.1. Subsubsection
90 ......................
91 Should be here.
92
93 1.8. Section
94 ------------
95
96 1.8.1. Subsection
97 ~~~~~~~~~~~~~~~~~
98 Should be here.
99
100 1.8.1.1. Subsubsection
101 ......................
102 Should be here.
103
104 .. only:: not nonexisting_tag
105
106 1.8.1.2. Subsubsection
107 ......................
108 Should be here.
109
110 1.9. Section
111 ------------
112
113 .. only:: nonexisting_tag
114
115 Skipped Subsection
116 ~~~~~~~~~~~~~~~~~~
117
118 1.9.1. Subsection
119 ~~~~~~~~~~~~~~~~~
120 Should be here.
121
122 1.9.1.1. Subsubsection
123 ......................
124 Should be here.
125
126 .. only:: not nonexisting_tag
127
128 1.10. Section
129 -------------
130 Should be here.
131
132 1.11. Section
133 -------------
134
135 Text before subsection 11.1.
136
137 .. only:: not nonexisting_tag
138
139 More text before subsection 11.1.
140
141 1.11.1. Subsection
142 ~~~~~~~~~~~~~~~~~~
143 Should be here.
144
145 Text after subsection 11.1.
146
147 .. only:: not nonexisting_tag
148
149 1.12. Section
150 -------------
151 Should be here.
152
153 1.12.1. Subsection
154 ~~~~~~~~~~~~~~~~~~
155 Should be here.
156
157 1.13. Section
158 -------------
159 Should be here.
160
161 .. only:: not nonexisting_tag
162
163 1.14. Section
164 -------------
165 Should be here.
166
167 .. only:: not nonexisting_tag
168
169 1.14.1. Subsection
170 ~~~~~~~~~~~~~~~~~~
171 Should be here.
172
173 1.15. Section
174 -------------
175 Should be here.
176
177 .. only:: nonexisting_tag
178
179 Skipped document level heading
180 ==============================
181 Should not be here.
182
183 .. only:: not nonexisting_tag
184
185 2. Included document level heading
186 ==================================
187 Should be here.
188
189 3. Document level heading
190 =========================
191 Should be here.
192
193 .. only:: nonexisting_tag
194
195 Skipped document level heading
196 ==============================
197 Should not be here.
198
199 .. only:: not nonexisting_tag
200
201 4. Another included document level heading
202 ==========================================
203 Should be here.