On Sun, Nov 20, 2011 at 7:35 PM, Kristina Hoeppner
<kris.hoepp...@googlemail.com> wrote:
> Hello,
>
> 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 %}

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to