-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot make use of the gitbook.js file #1
Comments
update |
I tried that, but ending up in a loop for https://docs.facefusion.io. |
can you try this |
@AhmadManzoor works but the output looks not that good - basic typo like headlines are missing |
i believe it is generating headlines. YOu can tweak the code according to your needs |
@Lumerica @henryruhs docs.facefusion.io html structure is different from legacy gitbook, we have to modify the selectors, try this https://github.com/lufengd3/htmlbook2pdf/blob/main/gitbook.js#L24 const SITE_CONFIG = {
chapterLinksElmSelector: 'body > div > div > aside > div > ul a',
bookContentSelector: 'main',
headerSelector: 'header',
} |
Does not work, again infinity loops. |
works for me |
Hello,
I tried to use the your instruction as I am trying to save a gitbook link. but I get the following error.
The text was updated successfully, but these errors were encountered: