Repository navigation
Docs: Clarify smiley assets and bundled parser use. - #10
Merged
Merged
Conversation
Explain the optional image assets and distinguish standalone NBBC from bbPress converters. Add an uncached fixture that confirms a configured smiley directory supplies image dimensions.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the deployment documentation and smiley compatibility fixture updates.
No open issues 🎉
What changed in this PR
This follow-up to PR #9 clarifies standalone NBBC deployment and bbPress converter configuration, and strengthens the smiley compatibility fixture.
Changes:
- Document optional smiley assets, directory and URL configuration, and how to disable smileys.
- Distinguish standalone loading from bbPress’s bundled parser to avoid duplicate global classes.
- Verify image dimensions using a fresh smiley token from a different working directory.
| File | Description |
|---|---|
tests/bbpress_compat.php |
Add an uncached smiley fixture that checks the configured image directory and restores the working directory. |
docs/USAGE.md |
Clarify smiley deployment, standalone usage, and bundled parser configuration through converter properties. |
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
Follow up on the post-merge review of PR #9:
nbbc.phpfrom bbPress's bundled parser to avoid loading duplicate global classes. Point converter authors to$bbcode_parser_properties.Validation
sh tests/run.shNBBC_TEST_BUILD=legacy NBBC_LEGACY_PARSER=/path/to/bbpress/src/includes/admin/parser.php php tests/bbpress_compat.php