@fricklerhandwerk: this one is good because it doesn’t make things morally worse, since we already generate a page source in the Nix environment before running Sphinx
@infinisil: The self.eval step can be done as a preprocessing step that generates a file that can be included with a plugin like above
@fricklerhandwerk: this is still a bit brittle, and we may as well go the whole hog and write Nix expressions and interpolate in file contents produced from derivations
Idea: Implement something like literalinclude’s pyobject for Nix.
can use the lines attribute to cut parts of files to focus readers
ideally we’d have something like pyobject but for Nix, rnix could in principle support that
@hjsobeki may be interested in that for other docs-related work?
General agreement on the next steps, should focus on merging things
We will pick up reviews in the following office hours