File: Section.tex

package info (click to toggle)
ocaml-odoc 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,744 kB
  • sloc: ml: 37,049; makefile: 124; sh: 79
file content (20 lines) | stat: -rw-r--r-- 934 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{module-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{module-Section-val-foo}\ocamlcodefragment{\ocamltag{keyword}{val} foo : unit}\\
\subsection{Empty section\label{empty-section+u+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.