Skip to content

Docs: Explain NBBC usage and converter compatibility. - #9

Merged
JJJ merged 1 commit into
masterfrom
jjj/nbbc-converter-compat-final
Nov 18, 2026
Merged

JJJ merged 1 commit into
masterfrom
jjj/nbbc-converter-compat-final

Conversation

@JJJ

@JJJ JJJ commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

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

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.
Copilot AI balanced review requested due to automatic review settings November 18, 2026 23:10
@JJJ
JJJ merged commit 0a1bafd into master Nov 18, 2026
17 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread docs/USAGE.md Resolved
Comment thread docs/USAGE.md Resolved
Comment thread tests/bbpress_compat.php Resolved
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 this pull request may close these issues.

2 participants