A doctree is a set of Sphinx source files that result in one and only one website.
Technical documentation includes topic guides, About developer documentation, the changelog and generated API documentation. For some applications we maintain also end-user documentation in different languages. These are independant doctrees, not a translation of the technical docs.
The developer documentation for
is grouped in the "Lino Book". The book repository contains Python source code
for a package
lino_book. This package is not installable via PyPI because
it contains only fictive example projects.
The book also includes the developer documentation for a set of "privileged" applications (Lino Noi, Lino Tera, Lino Avanti, ...) because it's difficult to explain Lino without examples, and because real applications are the best example.
Otherwise every newer typical Lino application has its own doctree. Lino Amici is an example. The doctree of amici can refer to the book via Intersphinx.
We also maintain the
etgen packages, which come
"before" Lino in the dependency chain. These packages have their own doctree,
which doesn't "know" about Lino. But the book "knows" about them and wants to
refer to them.
conf.py files use
configure intersphinx dependencies, and
install default Sphinx settings that are common to all doctrees.
Python dependencies :
book -> xl -> lino
book -> noi -> lino
lino -> etgen -> atelier
amici -> xl -> lino
Doctree intersphinx dependencies:
amici -> book -> atelier
models.py modules has the particular challenge that
they cannot be imported without a
DJANGO_SETTINGS_MODULE, and this
setting may not change within one Sphinx doctree. That's why the doctree of the
lino_book.projects.max as its