generate HTML from .txt via @rst node

40 views
Skip to first unread message

Austin(Xu) Wang

unread,
Sep 5, 2019, 8:45:14 AM9/5/19
to leo-editor
Dear Leo User,

Follow the tutorial https://leoeditor.com/tutorial-rst3.html , I use the rst3 command successfully created on .html.txt file.

Is there any command I need to run from console to tell sphinx generate html from this .txt file?

I tried  sphinx-build ./ _build and got:
Sphinx error:
master file /...../index.html.txt not found


BR,Austin

Edward K. Ream

unread,
Sep 5, 2019, 9:04:54 AM9/5/19
to leo-editor


On Thursday, September 5, 2019 at 7:45:14 AM UTC-5, Austin(Xu) Wang wrote:
Dear Leo User,

Follow the tutorial https://leoeditor.com/tutorial-rst3.html , I use the rst3 command successfully created on .html.txt file.

Is there any command I need to run from console to tell sphinx generate html from this .txt file?

Good question.  This is what I do:

cd leo/doc/html
make html (or make clean)

This works (on Windows only??) because leo/doc/html contains make.bat and Makefile.

HTH

Edward

Austin(Xu) Wang

unread,
Sep 5, 2019, 1:18:33 PM9/5/19
to leo-editor
On Thursday, September 5, 2019 at 8:04:54 PM UTC+7, Edward K. Ream wrote:

cd leo/doc/html
make html (or make clean)

I am using auto node for generating rst file for now.

@auto index.rst

The children are chapters, sub-chapters...So far so good, without using the rst3 command.
 

Edward K. Ream

unread,
Sep 6, 2019, 5:43:50 AM9/6/19
to leo-editor
Glad to hear it.

Edward
Reply all
Reply to author
Forward
0 new messages