Skip to content
Discussion options

You must be logged in to vote

Yes, there's no need to double the files as MD, we do not do that in Taiga UI repo. @a1rat91 if that's something you do in the ng-draw-flaw, is there a reason for it?

As for Preview tab, currently it's required. You would have to rework the example component from @taiga-ui/addon-doc and I'm not sure how to best go around it, it's pretty complex and is used a lot. Are you sure there's no meaningful default tab you could be showing besides code?

The easiest way to hide it would probably to add filtering here so that it is ignored if it's an empty string and then override its name in DI:
https://github.com/taiga-family/taiga-ui/blob/main/projects/addon-doc/components/example/example-get-tabs…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Donnerstagnacht
Comment options

@a1rat91
Comment options

a1rat91 Jun 2, 2025
Collaborator

@waterplea
Comment options

Answer selected by waterplea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants