Skip to content
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

Incorrect/shuffled index order when running createBookFromReadme.sh #160

Open
primeagen-rustaceans opened this issue Jul 12, 2023 · 0 comments

Comments

@primeagen-rustaceans
Copy link

I wanted to contribute to the project.
Issue/Bug :
Currently the index in the side menu and the index in the URL has a difference of 1.
e.g. The updates page has a index number 1 in side menu but in URL it shows Chapter_0.html.
To rectify this index mismatch. I just awk-ed each Chapter filename after it is generated and increased the index by 1.
e.g. Chapter_0.md -> Chapter_1.md
But every time I am building the project using createBookFromReadme.sh, the SUMMARY.md file is different and generated with shuffled index.
Am I doing something wrong while building.

OS : Ubuntu 22.04
Steps to reproduce :
Modify gcsplit to csplit
Run ./createBookFromReadme.sh

@primeagen-rustaceans primeagen-rustaceans changed the title incorrect index order when createBookFromReadme.sh Incorrect/shuffled index order when running createBookFromReadme.sh Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant