% main document
% separated from dtx, sothat there is no unrelated things in the dtx itselft, but only code and comment for package

\documentclass{ltxdoc}

\usepackage{fontspec}
\usepackage{luaotfload}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{float}
\usepackage{mathtools}


\usepackage{sunpath}

\usetikzlibrary{hobby} % this library let one connect points to curve.

\newcommand{\TikZ}{Ti\textit{k}Z}

\EnableCrossrefs
\CodelineIndex
\RecordChanges

\GetFileInfo{\jobname.sty}
%
\title{
 \pkg{sunpath} -- Draw Sun Path%
 \thanks{This file describes \fileversion, %
   last revised \filedate.}\\[1ex]%
   \normalsize{Reference}%
}%
%
\author{%
Hồng-Phúc Bùi%
\thanks{%
  E-mail:
  \href{mailto:Hồng-Phúc Bùi}
    {hong-phuc.bui (at) htwsaar dot de}%
 }%
}
%
\date{Released \filedate}


\begin{document}
%
\parindent0pt
%
\maketitle
\tableofcontents


\input{sunpath.docpart.tex}

\vfill\newpage
% get the document about implementation inside main document
\DocInput{\jobname.dtx}

\PrintChanges
\PrintIndex
\end{document}