Skip to content

Commit 28b0df9

Browse files
authored
Merge pull request #3536 from jsiirola/rtd-ads
Move RTD ads to the sidebar
2 parents ae863b6 + 0c74168 commit 28b0df9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Diff for: doc/OnlineDocs/_templates/layout.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% extends "!layout.html" %}
2+
{# Explicitly put RTD's ads in the sidebar. If we don't specify a
3+
location, RTD puts them at the bottom of the page content in a
4+
style that is easily visually confused with the documentation
5+
content.
6+
#}
7+
{%- block navigation %}
8+
{{ super() }}
9+
<div id="side-ad-box" style="max-width:90%; margin-left: auto; margin-right: auto;">
10+
<hr/>
11+
<div id="readthedocs-ea" class="raised ethical-rtd ethical-dark-theme">
12+
<div id="ethical-ad-placement"></div>
13+
</div
14+
</div>
15+
{% endblock %}

Diff for: doc/OnlineDocs/explanation/solvers/pyros.rst

-1
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,6 @@ Observe that the log contains the following information:
959959
.. _solver-log-snippet:
960960

961961
.. code-block:: text
962-
963962
:caption: PyROS solver output log for the :ref:`two-stage problem example <example-two-stg>`.
964963
:linenos:
965964

0 commit comments

Comments
 (0)