-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add option to ignore README.md #392
Comments
I think so too. Including |
@OrelBeY That's probably a better solution. It could default to looking for README.md but if the path is set to |
|
@codepiano |
@OrelBeY |
@codepiano |
In my own forked repo,I add config to specify the file name and title to generate introduction instead of README.md.But still need a introduction,it's difficult to totally ignore introduction. https://github.com/codepiano/gitbook add this in book.json
|
+1 to the feature. |
+1 |
Since version 2.0.0, this is fixed by configuration:
|
Gitbook demands the README.md file. I don't want to use it. Why should the editor impose itself on my work? |
It's not the only place where this happens, it was not easier to use
|
@Abel-Torres You can use another file than
The editor should support it, but when opening the book it might try to always open the @piranna You can use GitHub repos for plugins now (starting with version {
"plugins": ["test@git+https://github.com/You/myGitBookPlugin.git"]
} |
Ok, good to know, last time I test it was on previous versions (2.0.x or so). SInce now I'm using 2.6.7 I'm going to give it a try :-) |
@piranna If it's not working as expected, it will in version |
Yeah, there's A LOT of features and bug-fixes in 3.0.0 that I need for my thesis, but since the dateline to give a printed copy in secretary is the next friday 13th I don't think I would be able to move to it yet, specially due to plugins support... :-/ I'll try to give latest alpha version a try this weekend, but do you have an extimated date when 3.0.0 final will be released? |
@piranna What is the link to your book on GitBook.com ? (I can easily test it with GitBook v3) We still have a few bugs to fix before releasing, and we want to ensure compatibility with the max number of plugins. |
https://github.com/piranna/pfc It's a private repo, but I've give you access to it. I'll open it with a CreativeCommons licence when I present the thesis (not more than a months).
anchors, autocover, image-captions, indexes, mermaid and printlinks Both autocover and mermaid use specific commits due to incompatibilites with newer versions, but they are correctly installed with GitbookIO/plugin-autocover#452ba6c
Seems image captions is having some issues, don't know others... |
@piranna, @SamyPesse: yes, image-captions is broken since |
Running into the same problems, and this is my current workaround. |
@todvora @cycomachead Happy to implement this PAI back in the new version (or implement a cleaner API), the API for plugins since version @todvora What API signature to access the SUMMARY to you think is better? Something to get the whole summary as a tree ? Something equivalent to |
@SamyPesse Thanks! I like the |
I spent a few hours trying to read through the plugin's code as well as GitBook's. I think the |
My book doesn't use README.md as the introduction. Instead, it's a guide to contributing, how to build the book, etc..
As such, I don't want it included in the summary at all. As far as I can tell this isn't possible. Adding the file to .bookignore causes the following error:
ENOENT, stat '/Users/david/code/books/webhookbook/_book/index.html'
My preferred solution would be an option entry in
book.json
calledignoreReadme
or something similar that when set to true would simply let me skip adding the README to the summary.The text was updated successfully, but these errors were encountered: