Hi Greg,
On 11/4/24 18:30, Grégory Vanuxem wrote:
By the way, do you know if reStrucuredText handles examples?
\example{} in HyperTex? Or, maybe you know where I have to look?
No, certainly not. You must understand, that the ++ docstrings basically
have to be written in HyperTex (even for that I am not completely sure).
Anyway how exactly they are translated for theyr appearance in HyperDoc,
I have not taken the effort to look up (yet), but all of that is
certainly in some source code in FriCAS. It is just that HyperTex is
nowadays not a "common" format anymore as reStructuredText or MarkDown is.
I guess, one would have to rewrite \examples{}, but I guess, we could
learn from the Sage people and just "invent" a certain format that
allows code in the ++ docstrings that would be executed when the
generation of the api website happens. I think sphinx-doc allows quite
some flexibility, but without agreeing on a particular format
(reStructuredText or MarkDown) it makes no sense to look deeper into it.
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/4cb8b36b-6dd2-49ae-affd-a432805eaada%40hemmecke.org.