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

Add setContext function #1253

Merged

Conversation

RayOffiah
Copy link
Contributor

Added unit test for changing the context: ContextChangeTest.java (#1250) Reformatting the setContext function.
Added entry to CHANGELOG.adoc
(cherry picked from commit 4315499)

Thank you for opening a pull request and contributing to AsciidoctorJ!

Please take a bit of time giving some details about your pull request:

Kind of change

  • Bug fix
  • New non-breaking feature
  • New breaking feature
  • Documentation update
  • Build improvement

Description

What is the goal of this pull request?
Add setContext function to ContentNode

How does it achieve that?
By adding a new function and unit test

Are there any alternative ways to implement this?
Probably not

Are there any implications of this pull request? Anything a user must know?

Used a cherry-pick to bring the function over; there are a lot of @deprecated statements that have appeared too.
Worth checking before rebasing.

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #Issue

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

Added unit test for changing the context: ContextChangeTest.java (asciidoctor#1250)
Reformatting the setContext function.
Added entry to CHANGELOG.adoc
(cherry picked from commit 4315499)
@robertpanzer robertpanzer merged commit 38fdb22 into asciidoctor:v2.5.x Dec 20, 2023
10 checks passed
@RayOffiah RayOffiah deleted the adding-setContext-function branch December 25, 2023 06:29
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