Repository navigation
Docs: Explain NBBC usage and converter compatibility. - #9
Merged
Merged
Conversation
Document the single-file runtime, shared parser configuration, and the separate bbPress parser copy. Add source and generated build fixtures that pin the converter HTML contract and can compare it with bbPress in a separate process.
There was a problem hiding this comment.
🟡 Changes recommended
The usage guide omits default smiley asset guidance and risks a bbPress class-redeclaration fatal, while the compatibility test does not verify the configured smiley directory.
3 open issues
What changed in this PR
Documents this NBBC fork’s usage and its relationship to bbPress’s bundled parser, with compatibility fixtures for source and generated builds.
Changes:
- Adds guidance on shared parser configuration, smileys, output compatibility, and development.
- Adds 15 parser HTML fixtures plus converter property checks, with optional comparison against bbPress’s bundled parser.
- Integrates the fixtures into the conformance suite for both builds.
| File | Description |
|---|---|
tests/run.sh |
Runs compatibility fixtures against source and generated builds. |
tests/bbpress_compat.php |
Adds parser output and converter configuration checks. |
README.md |
Links the usage guide and updates the test-suite description. |
docs/USAGE.md |
Documents runtime use, configuration, bbPress integration boundaries, and development commands. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Document the single-file runtime, shared parser configuration, and bbPress's separate bundled parser copy.
Add fixtures for the parser HTML and converter property assignments. The fixtures run against source and generated builds and can compare with bbPress's bundled parser in a separate process.
Validation
sh tests/run.sh