yam655 / splitoutline

A tool to use reStructuredText to write novels
Apache License 2.0
1 stars 0 forks source link

Use docutils for reStructuredText parsing #1

Open yam655 opened 9 years ago

yam655 commented 9 years ago

The script was originally a proof-of-concept and regex was used instead of wiring up docutils.

It'll be more maintainable and less likely to have strange idiosyncrasies if we change this to use docutils properly.

yam655 commented 9 years ago

The most value is derived from the outline by using Sphinx extensions, and at this point it seems non-obvious as to how to parse a file using Sphinx extensions. I'm sure the Sphinx list would provide the answers, but this is taking a lower priority right now compared to going live.