10000 Backport PR #5094: added link to imagesc forum in example pages · meeseeksmachine/scikit-image@dcb3aa3 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcb3aa3

Browse files
emmanuellemeeseeksmachine
authored andcommitted
Backport PR scikit-image#5094: added link to imagesc forum in example pages
1 parent 051eded commit dcb3aa3

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

doc/source/themes/scikit-image/layout.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@
101101
{% block body %}{% endblock %}
102102
</div>
103103
</div>
104+
<div class="forum link" role="contentinfo">
105+
{% if "plot" in pagename %}
106+
We hope that this example was useful. If you have questions
107+
unanswered by our documentation, you can ask them on the
108+
<a href="https://forum.image.sc/tag/scikit-image"> Image.sc
109+
forum</a>,
110+
where scikit-image developers and users are present.</br>
111+
{%- endif %}
112+
</div>
104113
<div class="well footer" role="contentinfo">
105114
<small>
106115
&copy; Copyright the scikit-image development team.
@@ -110,18 +119,3 @@
110119
</body>
111120
</html>
112121

113-
<!-- Matomo -->
114-
<script type="text/javascript">
115-
var _paq = window._paq = window._paq || [];
116-
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
117-
_paq.push(['trackPageView']);
118-
_paq.push(['enableLinkTracking']);
119-
(function() {
120-
var u="https://scikitimage.matomo.cloud/";
121-
_paq.push(['setTrackerUrl', u+'matomo.php']);
122-
_paq.push(['setSiteId', '1']);
123-
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
124-
g.type='text/javascript'; g.async=true; g.src='//cdn.matomo.cloud/scikitimage.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
125-
})();
126-
</script>
127-
<!-- End Matomo Code -->

doc/source/themes/scikit-image/static/css/custom.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ h6:hover .headerlink {
9898
text-decoration: none;
9999
}
100100

101+
.forum {
102+
margin-top: 30px;
103+
padding: 5px 10px;
104+
color: #3a87ad;
105+
background-color: #d9edf7;
106+
border: 1px solid #bce8f1;
107+
font-weight: bold;
108+
}
101109
.footer {
102110
margin-top: 30px;
103111
padding: 5px 10px;

0 commit comments

Comments
 (0)
0