\begin{savenotes}\sphinxatlongtablestart\begin{longtable} <%- if table.align in ('center', 'default') -%> [c] <%- elif table.align == 'left' -%> [l] <%- elif table.align == 'right' -%> [r] <%- endif -%> <%= table.get_colspec() %> <%- if table.caption -%> \sphinxthelongtablecaptionisattop \caption{<%= ''.join(table.caption) %>\strut}<%= labels %>\\*[\sphinxlongtablecapskipadjust] \hline <% elif labels -%> \hline\noalign{\phantomsection<%= labels %>}% <% else -%> \hline <% endif -%> <%= ''.join(table.header) %> \endfirsthead \multicolumn{<%= table.colcount %>}{c}% {\makebox[0pt]{\sphinxtablecontinued{<%= _('continued from previous page') %>}}}\\ \hline <%= ''.join(table.header) %> \endhead \hline \multicolumn{<%= table.colcount %>}{r}{\makebox[0pt][r]{\sphinxtablecontinued{<%= _('continues on next page') %>}}}\\ \endfoot \endlastfoot <%= ''.join(table.body) %> \end{longtable}\sphinxatlongtableend\end{savenotes}