On 12/02/14 12:46, Leo wrote:

> Looking from the other angle, I am intrigued by how you prevent Sphinx
> from displaying a link to the source at the bottom of your nice
> cycling website. Probably one can also get rid of the search field,
> the "Next" and "Previous" links etc. This type of knowledge could help
> tweak the Hieroglyph or Landslide generated slides. The Sphinx
> tutorial understandably assumes some HTML and CSS knowledge which I'd
> have to acquire first. Any hint where to start / what Sphinx templates
> etc. to modify?

Some hints:

Try to create a `layout.html` in your `.templates` directory which
overrides the default Sphinx footer block:

{% extends "!layout.html" %}
{%- block footer %}
    <div class="footer">
    My footer
    </div>
{%- endblock %}

Inspect the following files:

/sphinx/themes/default/layout.html
/sphinx/themes/basic/layout.html

Read these docs:
http://sphinx-doc.org/templating.html
http://jinja.pocoo.org/docs/templates/

Enjoy!
Luc

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to