\documentclass{article}
\usepackage{hyperref}

\title{Hyperlink test document}
\begin{document}
\maketitle
This is a document to test hyperlinks in pdfs.

The purpose of this document is explained in Section \ref{sec:purpose}.
\section{Purpose} \label{sec:purpose}
This document serves to have some relative links, as already appeared before this section.
Additionally there should be some citations, for example to \cite{Random}.
There can also be hypertext reference urls. It serves to test the poppler bindings
with regard to link mappings. 
More on poppler can be found at \url{https://poppler.freedesktop.org/}.


\begin{thebibliography}{123}
  \bibitem{Random} The Poppler webpage, 
   \url{https://poppler.freedesktop.org/}.
 \bibitem{doc} pygobject, The python gobject bindings documentation \url{https://gitlab.gnome.org/GNOME/pygobject}.

\end{thebibliography}
\end{document}
