docsify-to-pdf-converter icon indicating copy to clipboard operation
docsify-to-pdf-converter copied to clipboard

Using '/' in TOC file produces `EISDIR: illegal operation on a directory, read`

Open meff34 opened this issue 5 years ago • 4 comments

meff34 avatar Apr 17 '19 12:04 meff34

This error is due to NodeJS trying to read a directory instead of a file. It Happend to me when referencing a folder in a _sidebar.md like * [Home](/) or * [Guide](guide/). A workaround is to specify the README.md, then it is working, ex :* [Guide](guide/README.md).

blemoine167 avatar May 15 '19 16:05 blemoine167

I'm curious about the output to PDF of this converter. I'm not sure where to ask these questions so I'll ask here. Let me know if there's a better place please.

From my tests (and code inspection) the converter doesn't create a TOC (Table of Contents) in the PDF from the sidebar. Is this something in the plans?

I have an idea how to implement it and might work on that shortly. Let me know if you have any ideas/suggestions.

lsubi avatar May 16 '19 16:05 lsubi

https://github.com/meff34/docsify-to-pdf-converter/issues/4#issuecomment-492736254 solved my issue, thanks.

BrightSoul avatar Jun 21 '19 12:06 BrightSoul

I'm curious about the output to PDF of this converter. I'm not sure where to ask these questions so I'll ask here. Let me know if there's a better place please.

From my tests (and code inspection) the converter doesn't create a TOC (Table of Contents) in the PDF from the sidebar. Is this something in the plans?

I have an idea how to implement it and might work on that shortly. Let me know if you have any ideas/suggestions.

Could I know your solution to the problem?

fhjer avatar Sep 06 '19 00:09 fhjer