That's in the LeoPython code too: if preview: if kind == 'sphinx': g.es_print('preview not available for sphinx')
FΓ©lix has just reproduced the Python code. The only way I can see how to get a "preview" for Sphinx would be to get Sphinx to process the tree and generate its standard output: a tree of HTML files, then load the top file into a browser. Not much of a "preview", that. On Tuesday, August 13, 2024 at 3:46:12β―PM UTC-4 viktor....@gmail.com wrote: > FΓ©lix schrieb am Sonntag, 11. August 2024 um 00:44:56 UTC+2: > > π *LeoJS 1.0.3 is here!* π > > I'd like to announce that the latest version of LeoJS now supports the > functionality of leoMarkup.py commands: > > - adoc > - pandoc > - sphinx > > If you've used these commands in Leo before, please give them a try in > LeoJS and report any issues on the LeoJS issues page > <https://github.com/boltex/leojs/issues>. Your feedback is invaluable > > > *Has anyone been able to test / try out the @sphinx implementation in > LeoJS ?* > > Since I did not have any own examples available I looked for some w/i > Leo-Editor ... > > The closest I found was the outline 'sphinxDocs.leo'. > > When I tried the 'sphinx-with-preview' command I received the following > output: > > LeoJS 1.0.4, master branch, build 221cbb7 > 2024-08-10 20:08:03 -0400 > Node.js v20.14.0, VSCode version 1.92.1 > linux x64 (build 6.6.42-1.qubes.fc37.x86_64) > home: /home/user > leo-editor: > /home/user/.vscode-oss/extensions/boltex.leojs-1.0.4-universal > reading settings in leojsSettings.leojs > reading settings in /home/user/.leo/myLeoSettings.leo > > ... > > reading settings in > /home/user/PyVE/PyPI/Leo/lib/python3.12/site-packages/leo/doc/sphinx-docs/sphinxDocs.leo > read 14 files in 0.09 seconds > read outline in 0.10 seconds > preview not available for sphinx > sphinx: wrote 0 files in 0 sec. > > With kind regards, > > Viktor > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f93b71b8-ae42-4e3e-a643-d0037722b148n%40googlegroups.com.