I started to write the Mahara documentation (http://manual.mahara.org)
in rst last week and we use Sphinx to publish it to Read the Docs.
Most things work great. :-)
Is it possible to exchange the standard copyright notice for a
Creative Commons license in the footer of the documents? As we are
using the Sphinx converter on Read the Docs we can't make changes that
can't be placed in conf.py or another content / theme file.
Thanks
Kristina
I do that by putting something like the following in layout.html. See
http://sphinx.pocoo.org/templating.html for details on layout.html
(and how to override the footer).
{%- block footer %}
<div class="footer">
<span class="creativecommons">
<a href="http://creativecommons.org/licenses/by/3.0/us/" >
<img src="{{ pathto("_static/creativecommons-88x31.png", 1) }}"
border="0" alt="Creative Commons License"/>
</a>
Whatever is licensed under a
<a href="http://creativecommons.org/licenses/by/3.0/us/">
Creative Commons Attribution 3.0 United States License.
</a>
</span>
</div>
{%- endblock %}
Didn't think to look in the templates. Thank you also for your snippet
of code.
Cheers
Kristina