Le 11/12/2013 12:11, Torsten Ihben a écrit :
Hi!

We are using Sphinx to document a custom programming language. For that purpose we created a custom domain. I don't know if my question is related with the domain or not.
[--sniped--]
My first approach was to use each subdirectory as a separate project. So I added context1/conf.py and context2/conf.py. This works fine, but the result is duplicate documentation. Now I have the entire documentation created by the global project, and "local" documentations for each context in the subdirectory. The same type is documented two or three times with the exact same HTML page.

What I want to have instead is, that the global project has it's own global index, but the content is linked to the sub-project's content. Is this possible with simple means?

Sorry I'm not a specialist so I can only give some though. Can you use in some way http://sphinx-doc.org/ext/intersphinx.html ? This way you can still make three project : main, context1, context2 and decide to auto-doc common features in main, and specific one in each project, still being able to link between documentations.
I don't see it resolving your index problem though !

Hope it helps,

Alex

--
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 [email protected].
To post to this group, send email to [email protected].
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