From 74c5244be12031e372797c3c7949914552293f5c Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Sat, 9 Sep 2023 17:04:16 -0700 Subject: [PATCH] docs: add logo and favicon to docs.rs page (#473) --- assets/favicon.ico | Bin 0 -> 15406 bytes assets/logo.png | Bin 0 -> 1081 bytes src/lib.rs | 5 +++++ 3 files changed, 5 insertions(+) create mode 100644 assets/favicon.ico create mode 100644 assets/logo.png diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..32049da1ed3139b731c1c2f6a22ac85be7b3ff66 GIT binary patch literal 15406 zcmeI3<*yXU7QlP+_7B+i;eF@RX7P)=yE}mdSuD5(cL)g(JP_P9xVyUrcMb0D&e{3Z zzUtKUbWeBRnISjXt)$XD)m?R@j#rOm{bK#c`t3I>a?ND5`PH)WTb7k6)8D`U_^)Nn zj*O+H{r~yzmUZZVmi0&Eoye5PjK9Yt7uS{}M-G`WV}=weR7f&s&K$QlY}ioNty?Fn zSFg6;n>%-I;JLh;H*a1!efqStZ{J?6F?Q@&sZyniy&gDJs8B%~HELv!0e9=xt#bSJ zZK+nRnk-znPzDYhsGeuZl0`<39xYX?R<+-+U%$R&%a%?3)^p#zdndZRe*M~>54@~d zv&zVkBh?zbfAr{4DNvw*aKB~C7J2{vy`Cxu4jhnilP7`avo8FYIB}wa`|aB|p_}dE#fws- zMh#CKSfgpvrt7^KQG{Dw&~NSOOqx|WYMBUa{c;syE|d?%-J42dL*Sv zm5PDooXhXdojc2?PoJWeSh{p+pt*XzPMtc*moH!JHNwtkoemv3D891@@}SptUR{ks zh(YX3rbsUt>DVW)rs1-$mo8nBcJ11E;-udVdS!1;ojN7crcIL*Cr(JMTD4r)E>WU{ zT)1#SdiLz;`aCE+^SwNI^2o7c#}tpTYcymXT{ho?ZeX)7=6E9a&~x(SN!yk+XwX2A zRod|3!=vEby?a*%4H^_RmI&;^g$v8Ug9l~y?AeO%dacHd8!PzepdRCj9bLYBdDNKs z+`qzT=5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E35+#_G;D)lXD2u$IW;~P zT`)T~rgG)VF)*Ak^>6B0=p=bNvZTks9eYDQZ8oR?b*YkcLj|-o0Dx z75k-o*|KGA95gO|S8N@%YGNp8&~-j)<@gfz;LxE%3M~_VWQLp>|Bs#Ld?Q}X$fOJ2 zgR>uQL7%f{(7--`uX)yie6X+J)~s1G1rxuIZREUV^5n_NzQ;QoH*x1a+4w^z`+zK= z59qYkS@0)DCuZlI3L8oMNGz!Bj9(r7XW$PF=mR>9UDEmh9pFuD3*V7(^s_~a7V5hX z;c`B{^|RO7GtO{_tFhpfY6zM-L}$!|LG9DccG&6=Kd6%%iL z|1JoZ4_>tyc(_>;f-#WZ1XHs570SQ|TmeNHz1tjBkC ze0zZ|r=mdv-^lRo8TpJ?9VHRkkWun%V&qiG67e&7L7YO~kqEwCbBWuqL&T=ee(Tn) znC)TD@Eh2$Fbx_~u@BG%4froQF*NZKF(|f#?|5`PL`+BB0r}(mN9Yae=ZJ@qr&Q?# zbg(vjq87{EBU`uq$qOb-n4oGMd^e0- zQBy&7obQ`+o%hMcAKa-OVI$(<0iMVX^$2P`$X0r67T?>(`_9yq2j@L!U3@c*ZtC8* zZ(sEdos&;qzp*)E#*9(<8SyL~nTB@Vz2=(ZPTc%{<3rf@csw@Ok9SXP&5Y5=q4DQ* z_9#g6!`Jzons!)Ob;AQ40bk@!!ywK z)EThZVOvJQ9~$^?65qK8jk};VBjJy|<~t;6qd{rNNcd}=DpI6~^2tGDDI?+!9mL{% zi|n@#85MtgDYC?Q8@Y;GO#<3DrzSVkdzX=}=mT|X@)FL(osIKqzJE<-Jty*c(7)|p J4y2m{e*x0r9z_5E literal 0 HcmV?d00001 diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..d1947414596a05c52a5a1da61f7fe5b01a07ce4f GIT binary patch literal 1081 zcmeAS@N?(olHy`uVBq!ia0vp^CqS5k2}mkgS)OEIU}5ldaSW-L^X6_~(PB4=){7QT z&z|@l-@X0uo>NaBIJNQ5dN$|!5&`2~U(c^yc6E=vTz~zKcb`8OPk&ugQ}d>1uJ*6* zZ=@6anp~YWcu-#6Om!6C+ZQ0ZgcH(r^yC*n%e)j(Xu2$j5x8^5f2 zJTpRtrMo3z;*4#{FGHWhR2zmKzqI;TV$wtb9ib-IN1tT9*GoP?Nz1LY%WE zdG4CH%U0R`vtjluw7ypSe8d00%P0Q#^8vX7|?n1}y$MDYAMAOy%v;HRl?4#xRk%`%c@6pS=Tn6-~@$7;p@^h zrg5>aXMMGNuo`Ar#PM4<<6g&A$8O$MavtX2yt^CS-svevf3CRgz+=K?}@(rYvsGp^DygU>SVLe z-kewdI@-N#r7FyRy_*}al`MPyKi&KOu17ONl?|Xa6wd71`c$^wyEc1$^#gTbP@DoI z&$)b!?)x9nQM+%g&i`l)6FvO4^8V|)C#z%scV&kwm$<{ko!0=9&FX7w0weERwZR;A z`P#;=ud8&g&w2U1Q@O+irnY@u^40T<+bc?IUu)IA)`20w_yp(W1i@| zt@*VlC;ooA{@(UI!m}2F1AJrjajBn{36A%F&4pRyEBiWcZ`R2*wcf{*EFiIc2N>3& z%5(M`1mC~3QKAp*rPWr~PV9YkGvm8u)cvZj#icrJ%HXt?bX;of`aM}&ey{%>_R-o` zw)-I@;lF*;cCqTD*kaq++UJ@jepbVh>c?+izkc2SKk-TZ{`5_$wW}?J>({@Y4NayJ zk7`@X&0be7hxu#Y+vBrdMn1eccWc?!>*+Ah%_uwn+o!8MR=@C^wX-lNjV7(yEd6f5 zkJ_Y-(i1cVaEK>XJGjMf17AVrBTS8J-{M? N!PC{xWt~$(69BZ7{UiVY literal 0 HcmV?d00001 diff --git a/src/lib.rs b/src/lib.rs index ba9b444c..9b0ac320 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -182,8 +182,13 @@ //! [Termion crate]: https://crates.io/crates/termion //! [Termwiz crate]: https://crates.io/crates/termwiz //! [Time crate]: https://crates.io/crates/time + // show the feature flags in the generated documentation #![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![doc( + html_logo_url = "https://raw.githubusercontent.com/ratatui-org/ratatui/main/assets/logo.png", + html_favicon_url = "https://raw.githubusercontent.com/ratatui-org/ratatui/main/assets/favicon.ico" +)] pub mod backend; pub mod buffer;