\label{\detokenize{longtable:longtable-with-tabularcolumns}}

\begin{savenotes}
\sphinxatlongtablestart
\sphinxthistablewithglobalstyle
\sphinxthistablewithvlinesstyle
\makeatletter
  \LTleft \@totalleftmargin plus1fill
  \LTright\dimexpr\columnwidth-\@totalleftmargin-\linewidth\relax plus1fill
\makeatother
\begin{longtable}{|c|c|}
\sphinxtoprule
\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxstyletheadfamily \sphinxAtStartPar
header1
\sphinxbeforeendvarwidth
\end{varwidth}%
&\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxstyletheadfamily \sphinxAtStartPar
header2
\sphinxbeforeendvarwidth
\end{varwidth}%
\\
\sphinxmidrule
\endfirsthead

\multicolumn{2}{c}{\sphinxnorowcolor
    \makebox[0pt]{\sphinxtablecontinued{\tablename\ \thetable{} \textendash{} continued from previous page}}%
}\\
\sphinxtoprule
\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxstyletheadfamily \sphinxAtStartPar
header1
\sphinxbeforeendvarwidth
\end{varwidth}%
&\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxstyletheadfamily \sphinxAtStartPar
header2
\sphinxbeforeendvarwidth
\end{varwidth}%
\\
\sphinxmidrule
\endhead

\sphinxbottomrule
\multicolumn{2}{r}{\sphinxnorowcolor
    \makebox[0pt][r]{\sphinxtablecontinued{continues on next page}}%
}\\
\endfoot

\endlastfoot
\sphinxtableatstartofbodyhook
\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell1\sphinxhyphen{}1
\sphinxbeforeendvarwidth
\end{varwidth}%
&\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell1\sphinxhyphen{}2
\sphinxbeforeendvarwidth
\end{varwidth}%
\\
\sphinxhline\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell2\sphinxhyphen{}1
\sphinxbeforeendvarwidth
\end{varwidth}%
&\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell2\sphinxhyphen{}2
\sphinxbeforeendvarwidth
\end{varwidth}%
\\
\sphinxhline\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell3\sphinxhyphen{}1
\sphinxbeforeendvarwidth
\end{varwidth}%
&\begin{varwidth}[t]{\sphinxcolwidth{1}{2}}
\sphinxAtStartPar
cell3\sphinxhyphen{}2
\sphinxbeforeendvarwidth
\end{varwidth}%
\\
\sphinxbottomrule
\end{longtable}
\sphinxtableafterendhook
\sphinxatlongtableend
\end{savenotes}