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

Headings levels validation is not working properly #1429

Closed
AleJo2995 opened this issue Jul 27, 2023 · 0 comments · Fixed by #1436
Closed

Headings levels validation is not working properly #1429

AleJo2995 opened this issue Jul 27, 2023 · 0 comments · Fixed by #1436

Comments

@AleJo2995
Copy link
Collaborator

Describe the bug

When trying to use trestle author folders validate command, there´s a bug happening while performing validation. Heading levels are being respected properly in the documentation, but actual validation is failing.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Validation should consistently pass without giving errors

Screenshots / Logs.

Current logs:

trestle.core.markdown.markdown_validator:209 WARNING: Headings in the instance: **_path-location_** were shuffled or modified.
Instance does not have required template heading "###### Additional Outputs". Check if this heading was modified/present in the instance.
Please note that no changes to template headings are allowed, including extra spaces.
INVALID: defect_checks/vuln/vuln.md

Environment

  • OS: [e.g. iOS]
  • Python version:
  • Installed packages:
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

Successfully merging a pull request may close this issue.

1 participant