examples
examples copied to clipboard
Wrong file name is displayed if non-suffixed file specified in TOC is not found
Noticed while working on #40.
Running idaesx build, the following message was displayed:
[ERROR] 2023-06-02 15:52:16,608 build - During 'pre-process notebooks': Could not find notebook at: /home/ludo/lbl/idaes/examples/idaes_examples/notebooks/docs/tut/general/i_src.ipynb
- The reason for this is that a non-existent
docs/tut/general/index.mdwas specified in_toc.yml(the path should have beendocs/tut/index.md) - However, somewhere in the filename processing logic, the path stem
indexwas processed as though it contained the_docsuffix to be stripped - The
_doc-to-_srclogic replaces the last 4 characters regardless of whether the stem contains the suffix or not, resulting in the erroneousi_src.ipynbname being constructed