>Can I create a theme for one sub dir in the project?

No, HTML theme is applied to all document in the project.

>Can I create a theme which is a slight change from another theme?

Yes, the jinja2 library which Sphinx uses for templates can inherit
the template from another one.


2018-03-05 16:03 GMT+09:00 Tzach Livyatan <tz...@scylladb.com>:
> Good idea
> Two questions:
> Can I create a theme for one sub dir in the project?
> Can I create a theme which is a slight change from another theme?
>
> Thanks
> Tzach
>
>
>
>
> On Friday, March 2, 2018 at 6:09:32 PM UTC+2, Komiya Takeshi wrote:
>>
>> Hi,
>>
>> How about making HTML theme?
>> http://www.sphinx-doc.org/en/master/theming.html#creating-themes
>>
>> Thanks,
>> Takeshi KOMIYA
>>
>> 2018-02-28 21:18 GMT+09:00 Tzach Livyatan <tz...@scylladb.com>:
>> > Hello all
>> >
>> > In addition to the main Sphinx project, I want to pull a tree of
>> > markdown
>> > files from a different project, so it will be part of the main site.
>> > My question: I want to add a specific header/footer just for these
>> > files,
>> > giving the original project credit and citation.
>> > Since I'm not controlling the external project, I can not change the
>> > markdown at all.
>> >
>> > What the best way to do that?
>> >
>> > Thanks
>> > Tzach
>> >
>> > --
>> > 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...@googlegroups.com.
>> > To post to this group, send email to sphinx...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sphinx-users.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to