% \iffalse meta-comment
%
% File: zref-check-code.tex
%
% This file is part of the LaTeX package "zref-check".
%
% Copyright (C) 2021-2024  gusbrs
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
% license or (at your option) any later version.  The latest version
% of this license is in the file:
%
%    https://www.latex-project.org/lppl.txt
%
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
%
% This work is "maintained" (as per LPPL maintenance status) by gusbrs.
%
% This work consists of the files zref-check.dtx,
%                                 zref-check.ins,
%                                 zref-check-doc.tex,
%                                 zref-check-code.tex,
%                   and the files generated from them.
%
% The released version of this package is available from CTAN.
%
% -----------------------------------------------------------------------
%
% The development version of the package can be found at
%
%    https://github.com/gusbrs/zref-check
%
% for those people who are interested.
%
% -----------------------------------------------------------------------
%
% \fi

\documentclass{l3doc}

% Have \GetFileInfo pick up date and version data
\usepackage{zref-check}

\NewDocumentCommand\opt{m}{\texttt{#1}}

% Have the Index at 'section' level rather than 'part'.  Otherwise it is just
% the same definition from 'l3doc.cls'.
\IndexPrologue{%
  \section*{Index}
  \markboth{Index}{Index}
  \addcontentsline{toc}{section}{Index}
  The italic numbers denote the pages where the corresponding entry is
  described, numbers underlined point to the definition, all others indicate
  the places where it is used.%
}

\begin{document}

\GetFileInfo{zref-check.sty}

\title{%
  The \pkg{zref-check} package%
  \texorpdfstring{\\{}\medskip{}}{ - }%
  Code documentation%
  \texorpdfstring{\medskip{}}{}%
}

\author{%
  \texorpdfstring{\texttt{gusbrs}\\[0.8em]
  \url{https://github.com/gusbrs/zref-check}\\
  \url{https://www.ctan.org/pkg/zref-check}}{gusbrs}}

\date{Version \fileversion\ -- \filedate}

\maketitle

\tableofcontents

\DisableDocumentation

\DocInput{zref-check.dtx}

\end{document}
