Pathnames truncated...

10 views
Skip to first unread message

Tom Diaz

unread,
Feb 16, 2022, 3:39:13 PM2/16/22
to sphinx-users
With Sphinx 3.5.4, I am seeing pathnames apparently parsed incorrectly.

Example:

Index file contains
  
.. toctree::
   :maxdepth: 2

   binding_free_energies/binding_free_energies
   general_md/general_md
   protein-ligand_md/protein-ligand_md

When this is processed, the first entry (bind_free_energies) works fine.

The other two generate a sphinx warning about "nonexisting files" that shows a truncated version of the pathname, such as 

"general_md/general_"

(missing the MD).

If anyone has seen this before I'd appreciate some insight.


Tom Diaz

unread,
Feb 17, 2022, 8:52:47 AM2/17/22
to sphinx-users
Happy ending to this one.  The source_suffix value in conf.py was accidentally set to "md" (minus the period).  So Sphinx was lopping off the MD on the end of pathnames and trying to open them!
Reply all
Reply to author
Forward
0 new messages