mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactor: Reduce DeprecationWarnings
This commit is contained in:
parent
3fdef7ec62
commit
4c3e757ad7
@ -25,8 +25,5 @@
|
|||||||
\endfoot
|
\endfoot
|
||||||
|
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
<% if table.caption_footnotetexts -%>
|
|
||||||
<%= ''.join(table.caption_footnotetexts) %>
|
|
||||||
<% endif -%>
|
|
||||||
<%= ''.join(table.body) %>
|
<%= ''.join(table.body) %>
|
||||||
\end{longtable}\sphinxatlongtableend\end{savenotes}
|
\end{longtable}\sphinxatlongtableend\end{savenotes}
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
\begin{tabular}[t]<%= table.get_colspec() -%>
|
\begin{tabular}[t]<%= table.get_colspec() -%>
|
||||||
\hline
|
\hline
|
||||||
<%= ''.join(table.header) %>
|
<%= ''.join(table.header) %>
|
||||||
<%- if table.caption_footnotetexts -%>
|
|
||||||
<%= ''.join(table.caption_footnotetexts) -%>
|
|
||||||
<%- endif -%>
|
|
||||||
<%=- ''.join(table.body) %>
|
<%=- ''.join(table.body) %>
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\par
|
\par
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
\begin{tabulary}{\linewidth}[t]<%= table.get_colspec() -%>
|
\begin{tabulary}{\linewidth}[t]<%= table.get_colspec() -%>
|
||||||
\hline
|
\hline
|
||||||
<%= ''.join(table.header) %>
|
<%= ''.join(table.header) %>
|
||||||
<%- if table.caption_footnotetexts -%>
|
|
||||||
<%= ''.join(table.caption_footnotetexts) -%>
|
|
||||||
<%- endif -%>
|
|
||||||
<%=- ''.join(table.body) %>
|
<%=- ''.join(table.body) %>
|
||||||
\end{tabulary}
|
\end{tabulary}
|
||||||
\par
|
\par
|
||||||
|
@ -6,7 +6,7 @@ templates_path = ['_templates']
|
|||||||
|
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_stylesheet('persistent.css')
|
app.add_css_file('persistent.css')
|
||||||
app.add_stylesheet('default.css', title="Default")
|
app.add_css_file('default.css', title="Default")
|
||||||
app.add_stylesheet('alternate1.css', title="Alternate", alternate=True)
|
app.add_css_file('alternate1.css', title="Alternate", rel="alternate stylesheet")
|
||||||
app.add_stylesheet('alternate2.css', alternate=True)
|
app.add_css_file('alternate2.css', rel="alternate stylesheet")
|
||||||
|
Loading…
Reference in New Issue
Block a user