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

compact, vflip and hflip not behaving correctly #4

Closed
aacebedo opened this issue Jan 2, 2023 · 2 comments
Closed

compact, vflip and hflip not behaving correctly #4

aacebedo opened this issue Jan 2, 2023 · 2 comments

Comments

@aacebedo
Copy link

aacebedo commented Jan 2, 2023

Great extension !

I am facing two annoying bugs though. I tried to use it with the following code (from the example):

.. bitfield::
    :bits: 32
    :lanes: 4
    :vflip:
    :hflip:

      [
        {"name": "IPO",   "bits": 8, "attr": "RO"},
        {                 "bits": 7},
        {"name": "BRK",   "bits": 5, "attr": ["RW", "FOO"], "type": 4},
        {"name": "CPK",   "bits": 2},
        {"name": "Clear", "bits": 3, "type": 5},
        {                 "bits": 7}
      ]

According to this page https://observablehq.com/@drom/bitfield-testbox
I shall get this
image
and I get this
image

In addition :compact: seems to be broken too, it has no impact.

@Arth-ur
Copy link
Owner

Arth-ur commented Jan 4, 2023

Hi!

I just made a new release sphinxcontrib-bitfield v0.4.2 which should fix this issue.

Could you check if it works for you?

Thanks!

@Arth-ur Arth-ur assigned Arth-ur and unassigned Arth-ur Jan 4, 2023
@aacebedo
Copy link
Author

aacebedo commented Jan 5, 2023

Thanks that is working!

@aacebedo aacebedo closed this as completed Jan 5, 2023
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

No branches or pull requests

2 participants