File: Section.tex

package info (click to toggle)
ocaml-odoc 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,104 kB
  • sloc: ml: 59,291; javascript: 2,572; sh: 566; makefile: 31
file content (20 lines) | stat: -rw-r--r-- 918 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\section{Module \ocamlinlinecode{Section}}\label{Section}%
This is the module comment. Eventually, sections won't be allowed in it.

\subsection{Empty section\label{empty-section}}%
\subsection{Text only\label{text-only}}%
Foo bar.

\subsection{Aside only\label{aside-only}}%
Foo bar.

\subsection{Value only\label{value-only}}%
\label{Section-val-foo}\ocamlcodefragment{\ocamltag{keyword}{val} foo : unit}\\
\subsection{Empty section\label{empty-section_2}}%
\subsection{within a comment\label{within-a-comment}}%
\subsubsection{and one with a nested section\label{and-one-with-a-nested-section}}%
\subsection{\emph{This} \ocamlinlinecode{section} \bold{title} \textsubscript{has} \textsuperscript{markup}\label{this-section-title-has-markup}}%
But links are impossible thanks to the parser, so we never have trouble rendering a section title in a table of contents – no link will be nested inside another link.