umbraco / UmbracoDocs

The official Umbraco Documentation
https://docs.umbraco.com
MIT License
264 stars 757 forks source link

Code syntax in details/accordion header #6052

Open bjarnef opened 2 months ago

bjarnef commented 2 months ago

What type of issue is it? (Choose one - delete the others)

Discussion Other (visually bug in docs)

What article/section is this about?

https://docs.umbraco.com/umbraco-deploy/v/12.deploy.latest/deployment-workflow/import-export#migrating-whilst-importing

Describe the issue

It seems it was attempted to make a code highlight in details/accordion heading here for ReplaceNestedContentDataTypeArtifactMigrator.cs and NestedContentPropertyTypeMigrator.cs ... I guess GitBook just handle these as raw text eventually. Perhaps we should just remove the quotes if not supported here?

alina-tincas commented 2 months ago

Hi @bjarnef thank you for bringing this to our attention 🙏

Gitbook had a recent update on their platform which seems to have affected parts of our content such as the one you have noticed. It seems that in the dropdowns, instead of using quotes ' for code, they have changed the format for code to use code tags instead: image

I will bring this up with the Gitbook support to see if we can do something about this and if not, then we might need to manually change all dropdowns from the whole documentation to fit with the new code syntax😅