redux-offline-docs icon indicating copy to clipboard operation
redux-offline-docs copied to clipboard

Newly generated files contain only the introduction

Open paulkoegel opened this issue 6 years ago • 4 comments

Screenshot of generated PDF: screen shot 2018-05-08 at 21 49 53

Gitbook warning for all 3 file types (PDF, epub and mobi): warn: no summary file in this book.

Related issue might be: https://github.com/GitbookIO/gitbook-cli/issues/74 (which came up after I tried the following: https://github.com/reduxjs/redux/pull/1756/files)

Output of gitbook --version:

CLI version: 2.3.2
GitBook version: 3.2.3

paulkoegel avatar May 08 '18 19:05 paulkoegel

Rechecked with a fresh install on a new computer with node 11.1.0, Gitbook 3.2.3 as well as Gitbook 3.2.2 with the fixes suggested here: https://github.com/GitbookIO/gitbook-cli/issues/74#issuecomment-350412692

Still cannot get more than the introduction :( Perhaps @SamyPesse has an idea!?

paulkoegel avatar Jan 04 '19 10:01 paulkoegel

Same problem :(

thaxy avatar Nov 21 '19 16:11 thaxy

@paulkoegel , well I don't know how you managed it to make the styling of the gitbook pdf output looking decent but when you install npm install -g gitbook-summary and then execute book sm within your redux/docs folder you get a auto generated SUMMARY.md. I have renamed this file to README.md which is a valid input for gitbook pdf . test.pdf. There was an error parsing one of the doc pages resulting in an incomplete summary... Maybe this gives you an idea how to fix your repo...

Getting late here, wish you good luck.

thaxy avatar Nov 21 '19 17:11 thaxy

fwiw, you may want to check out the methodology that I use here.

The script (cmd or bash) does a lot more preprocessing, but it works nicely.

warren-bank avatar Jan 16 '21 01:01 warren-bank