Skip to content

Conversation

Dedelweiss
Copy link
Contributor

The purpose of this Pull request is to correct my PR #17229
Sorry for this failure.
I have tested the following command locally and my tests pass.
sbt ";dist/pack ;scala3-bootstrapped/compile ;scala3-bootstrapped/test"

In this commit: - Added a error message when the path of a page is wrong - Added an error message when an inddex or a page path in a subsection is missing - Added an error message when a title in a subsection is missing
- Change the case match (Overkill) to a if else - Two types of messages :	- Error: NoTitle and No index or No page.	- Warning: When the parsing is not done correctly. Example: When a title got two pages.
- Error when a title but no pages
- Do a new method of test (Use a 'contains' instead) - Improve the accuracy of the error message by putting variables.
@Dedelweiss Dedelweiss force-pushed the fix-17229-error-sidebar branch from 2afb0f7 to 73fd8a1 Compare June 12, 2023 12:00
@Dedelweiss Dedelweiss closed this Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant