canonical / maas.io

Site for maas.io
https://maas.io/
GNU Lesser General Public License v3.0
16 stars 42 forks source link

MAAS documentation code snippets are not shown #720

Closed lferran closed 2 years ago

lferran commented 2 years ago

Summary

The code snippets on maas documentation do not show up.

If you disable Javascript in the website, then the code snippets are displayed correctly.

Process

Visit https://maas.io/docs/whats-new-in-maas with either Chrome or Firefox.

Current and expected result

I expect the code snippets to be displayed correctly.

Screenshot

Screenshot from 2022-03-30 11-43-50

anthonydillon commented 2 years ago

Sorry to hear the new UI region switcher component is unclear. That bar gives you the ability to specify your preferred docs content. CLI vs UI or versions directly from within the content of the page. If you switch snap 3.2 to deb 3.2 you should see the content switch based on your selection.

@lferran would you be ok to close this issue if you are happy with the information above. If not, let's continue to discuss.

@amylily1011 some UX feedback here.

amylily1011 commented 2 years ago

I couldn't see the CLI content when I switch to CLI either, is this a bug?

lferran commented 2 years ago

oh! I see what you mean now @anthonydillon! yes, it's working indeed. Feel free to close the issue !

anthonydillon commented 2 years ago

Thanks @lferran