Hi,
the ePub builder is just a subclass of the HTML builder and many of
its
customization options also apply here.

To remove the top navigation you can create a custom style and add
an empty relbar1 block:
{% block relbar1 %}{% endblock %}

To remove the TOC listing you can edit your rst sources and
add the :hidden: option to the .. toctree:: directive.
At the moment there is no way to remove the TOC listing only from
the ePub output.

An alternative is to use a custom CSS style sheet and disable
the display of two elements (navigation bar and TOC tree):
.relbar {
    display: none;
}
.toctree-wrapper {
    display: none;
}

Hope this helps,
  Roland

On 7 Dez., 10:47, MishaS <mikhail.sobo...@gmail.com> wrote:
> Hi,
>
> Is there a description of how to prepare a "nice" ePub using Sphinx.
>
> I tried to use ePub builder without any tweaking and the resulting
> file seems to have way too much unnecessary information (like
> navigation fields, table of content as the first page).  I'd like to
> clean the output up, but the list of options for ePub builder[1] does
> not seem to cover anything like this.
>
> --
> Misha
>
> [1]  http://sphinx.pocoo.org/config.html#options-for-epub-output

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@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