mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-03 19:08:06 +03:00
Update aside labels and under construction mixin
This commit is contained in:
parent
8fb48b9b91
commit
ad6438ccdf
|
@ -127,20 +127,22 @@ mixin help(tooltip, icon_size)
|
||||||
//- Aside wrapper
|
//- Aside wrapper
|
||||||
label - [string] aside label
|
label - [string] aside label
|
||||||
|
|
||||||
mixin aside-wrapper(label)
|
mixin aside-wrapper(label, emoji)
|
||||||
aside.c-aside
|
aside.c-aside
|
||||||
.c-aside__content(role="complementary")&attributes(attributes)
|
.c-aside__content(role="complementary")&attributes(attributes)
|
||||||
if label
|
if label
|
||||||
h4.u-text-label.u-text-label--dark=label
|
h4.u-text-label.u-text-label--dark
|
||||||
|
if emoji
|
||||||
|
span.o-emoji=emoji
|
||||||
|
| #{label}
|
||||||
block
|
block
|
||||||
|
|
||||||
|
|
||||||
//- Aside for text
|
//- Aside for text
|
||||||
label - [string] aside title (optional)
|
label - [string] aside title (optional)
|
||||||
|
|
||||||
mixin aside(label)
|
mixin aside(label, emoji)
|
||||||
+aside-wrapper(label)
|
+aside-wrapper(label, emoji)
|
||||||
.c-aside__text.u-text-small
|
.c-aside__text.u-text-small
|
||||||
block
|
block
|
||||||
|
|
||||||
|
@ -703,6 +705,6 @@ mixin landing-logos(title, logos)
|
||||||
mixin under-construction()
|
mixin under-construction()
|
||||||
+infobox("Under construction", "🚧")
|
+infobox("Under construction", "🚧")
|
||||||
| This section is still being written and will be updated for the v2.0
|
| This section is still being written and will be updated for the v2.0
|
||||||
| release. Is there anything that you think should definitely mentioned or
|
| release. Is there anything that you think should definitely mentioned
|
||||||
| explained here? Any examples you'd like to see? #[strong Let us know]
|
| or explained here? Any examples you'd like to see?
|
||||||
| on the #[+a(gh("spacy") + "/issues/1105") v2.0 alpha thread] on GitHub!
|
| #[strong Let us know] on the #[+a(gh("spacy") + "/issues") issue tracker]!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user