We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Even when you specify structure.readme to other filename, README.md is used to generate the introduction.
README.md
README.other.md
{ "structure": { "readme": "README.other.md" } }
The content of README.other.md is used for index page
The content of README.md is used for index page
The debug log shows that both files are used for index page, and README.md seems to be overwriting the index page.
This is very unlikely expected when you set the "structure.readme" configuration.
info: 5 plugins are installed info: 5 explicitly listed info: plugin "highlight" is loaded info: plugin "search" is loaded info: plugin "lunr" is loaded info: plugin "fontsettings" is loaded info: plugin "theme-default" is loaded info: found 2 pages info: found 2 asset files debug: calling hook "config" debug: calling hook "init" debug: copy assets from theme /home/OMIT/node_modules/@honkit/honkit-plugin-theme-default/_assets/website debug: copy resources from plugin /home/OMIT/node_modules/gitbook-plugin-fontsettings/assets debug: copy resources from plugin /home/OMIT/node_modules/gitbook-plugin-lunr/assets debug: copy resources from plugin /home/OMIT/node_modules/gitbook-plugin-search/assets debug: copy resources from plugin /home/OMIT/node_modules/@honkit/honkit-plugin-highlight/css debug: copy asset ".gitignore" debug: calling hook "page:before" debug: calling hook "page:before" debug: calling hook "page" debug: calling hook "page" debug: index page README.other.md debug: index page README.md debug: calling hook "finish:before" debug: calling hook "finish" debug: write search index
Add README.md in .bookignore file.
.bookignore
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Even when you specify structure.readme to other filename, README.md is used to generate the introduction.
Step to reproduce
README.md
andREADME.other.md
to the root of the project.Expected results
The content of
README.other.md
is used for index pageActual results
The content of
README.md
is used for index pageThe debug log shows that both files are used for index page, and README.md seems to be overwriting the index page.
This is very unlikely expected when you set the "structure.readme" configuration.
Workaround
Add
README.md
in.bookignore
file.The text was updated successfully, but these errors were encountered: