From 899aee83394ac2bf5c5ce170a8a77907541f0741 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 4 Jun 2017 17:35:08 -0400 Subject: [PATCH] Finish Falcon scraper --- assets/images/docs-2.png | Bin 12569 -> 12784 bytes assets/images/docs-2@2x.png | Bin 29296 -> 29923 bytes assets/javascripts/news.json | 2 +- .../templates/pages/about_tmpl.coffee | 5 ++++ assets/stylesheets/global/_icons.scss | 1 + lib/docs/filters/falcon/entries.rb | 28 +++++++++++------- lib/docs/scrapers/falcon.rb | 12 ++++---- public/icons/docs/falcon/16.png | Bin 0 -> 297 bytes public/icons/docs/falcon/16@2x.png | Bin 0 -> 703 bytes public/icons/docs/falcon/SOURCE | 2 +- 10 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 public/icons/docs/falcon/16.png create mode 100644 public/icons/docs/falcon/16@2x.png diff --git a/assets/images/docs-2.png b/assets/images/docs-2.png index 5335254810b9c3b13bd254ad659e27a0417e0921..a51bd3452b709d99779a4c3ab734b3f740873a72 100644 GIT binary patch delta 3112 zcmcJO_dnE+1IM#hb~r?~PuWzYtUH8^vg52S+Zktbyi13SWc9JPP-M$Eqa#~q#Sv%6 zS%=Cv9N*99@%`cZ7kpnoydKZT^XJzq>)AdmS(H+txlSA{4%|Pc@GBlq{vqdeZCf9%1M2D_tGw2#$Fe&nRpy;p{A4 z%#qIcT9ezOP*2ExeeUX4x|794Ampp)TVgfuHYoy2DroiJSXjN6zege$4ApfS&~`uw)$QW#{`F~bSJ7%}R)fopZ7WSVx5r9W@D7&V6vC$$_!w!-T?>1fuhWKau^ zhe!glDH))Wq5M=2mRecylXK0_f*zt$FN^ShUr|-{pzXGnU&Key#>K~@^WPngH_gnT z?yAncN#GoKN!0|GKWO3RI@}6meft+k89UtEz_eq}E`;jZVS1$0-tS|_*Zyoy3d7rb zkiGM*&fw9sMwAFXwz5304r7e{ z*fr`opAtT=u0gXMwaDr#%2j)Iz$J~|5ma3Fx2C&}+s>0MNOTZ{a^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XNv~pFV6Qb8j_?iK8_qx)W6@IUeAusS;|IV63>v^S$cxZNV zVAC%lP~Gx*TSqp^ z1u_TbJ(mD91IolJZJd-I(3gRd^{e8Z&+MfA8 vV(~9udl>qn;XmH+V>^xGlFh$N{-=`8gv9GCh1p;i|LG5nAK$OK>k{){rQf{_ diff --git a/assets/images/docs-2@2x.png b/assets/images/docs-2@2x.png index 977564c58349d463f535a071a74f425e2fb375d4..6c9d7be6d8b87531f71b031fa205299ea5f4a28d 100644 GIT binary patch delta 8040 zcmbVwWm6nX)Aiym!GbOpEVw%a2oM|+Bm@oa9v0ZZ;;zBng1fs1cXxMPAix5PJh|>4 z@P2sb)6`T?}qXHNI!9>VT1LM%O^TWJkLizdW#P}bSO`zL{lgK~%9@HqQ0II5$` z${+LndjoF7Jh}c2!YBhio22yuyCP!N!ZEvc{epe<|FZ zbd&O8DfTCze}$K~Q!TR|SdAtESZZB^aBX%ci2WZ3g!9M+iTc4xfW7LQBBI*JK~a zU$$qeG|hIjBbvbO-j+>*;2Q3EV#HU4fw-yCtSwmgiWl;TCg#*7QBDB3A#O5p$wx0XQ0dEh>bd&rybky zuU7*FvEXXzdZGILN^ebzZUhs_+P6oDI9_jL&K29TCFv+`dQbM7iPd|0)3)cY-+%ww zpMeIT3%Au+s2Y}fDfeU&^Db%JE`jsG^(-8I-NW&pFV_#cgvIRa=h6~w)hhIeUsfl# zN3+HjfJ6DajwrjDH7IjLw0QU#`C`BEzSSB~*R5C4uv@tIEF-zzl<5!x0zhveY=w2* zOfc|)>Ca7zOdyk#vBVq@OB}JJLwkZq>+`}54}etcj)OO7OVQsrzgix!g0)QX#*1I4 z!z;!vOaYc69eD*SmD<}L@6;|cpe1XYxv_P>jX-EOZ#PANRw)B|v6S!kl-%cLGMf@O zGn^5TwLej-rWtIA#}LHKuJ}*9&r^6tc{Mu52Od+0bPKcej$vRz4V6-kV9K>OoqLlz|7i zgWBpv#%A0!g$T=lH_> z)6bT+`ybPo_+ppZyzbSwL7k3G9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9mZTkFXl#+{Fshz5z;&$ z1$I9p?DSoT(Oh9Un%MDy}EfU0<`fWD)>6njLZiFt@))|H9CFqL@hi#{HfsY zuDRrk+BpXie3oUP`Hy2apQO0Db^UhO(rLL7oCCZ1`qbS5rieZjx~Y=(|6pA_Pb0gn ze=Tb1b8^~AVPp)~=~cru7QSKxkcyKnF0>2R6=uw?Ry`k z4Y$r^%-EeWA-{IAg_Q%S|Cwm4u=ELx@f!cytt)MT1-P-X&tBdE?Rdb0-wi|&#YLIU zB?sdE&cjvzw)K(J@OJ4NfuW}M4gUGN0nEc#IFW#X^XP&&>83a3mwTBkunD=G+W#iD zg3~MR;wo)({E4y3k`oV^d}gE!6<(XOMuMA$xu~tWaGAL%O`&2Lw?`q> z!^rRGNje(eCVlYxO>zHXT=BQWSMI~hU7Q-ShJpb(%hVs2FG}BtyGQg`9$u)hn~=8& zRx?I?-ieMQYYMg<|M!-jzR$9hz4Gu1&u`G;suG{R3(W_ZujJ_>UW4*YgX&g;slw)Q zgZ}<^KFFjL;`-?)`SxxoEzL1cTKAF775T*3a+|MGv7Qk1L^H}v}-?lp+S diff --git a/assets/javascripts/news.json b/assets/javascripts/news.json index 4e428963..deb27dbd 100644 --- a/assets/javascripts/news.json +++ b/assets/javascripts/news.json @@ -1,7 +1,7 @@ [ [ "2017-06-04", - "New documentations: Electron, Pug" + "New documentations: Electron, Pug, and Falcon" ], [ "2017-05-14", "New documentations: Jest, Jasmine and Liquid" diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 14f229c3..74828e5e 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -243,6 +243,11 @@ credits = [ '2016 StrongLoop, IBM, and other expressjs.com contributors.', 'CC BY-SA', 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md' + ], [ + 'Falcon', + '2012-2016 by Rackspace Hosting, Inc. and other contributors', + 'Apache', + 'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE' ], [ 'Fish', '2005-2009 Axel Liljencrantz', diff --git a/assets/stylesheets/global/_icons.scss b/assets/stylesheets/global/_icons.scss index 1240941a..3d2db9fd 100644 --- a/assets/stylesheets/global/_icons.scss +++ b/assets/stylesheets/global/_icons.scss @@ -174,3 +174,4 @@ ._icon-jasmine:before { background-position: 0 -2rem; @extend %doc-icon-2; } ._icon-pug:before { background-position: -1rem -2rem; @extend %doc-icon-2; } ._icon-electron:before { background-position: -2rem -2rem; @extend %doc-icon-2; } +._icon-falcon:before { background-position: -3rem -2rem; @extend %doc-icon-2; } diff --git a/lib/docs/filters/falcon/entries.rb b/lib/docs/filters/falcon/entries.rb index dc737d87..a4c2f85f 100644 --- a/lib/docs/filters/falcon/entries.rb +++ b/lib/docs/filters/falcon/entries.rb @@ -9,14 +9,10 @@ module Docs def get_type case slug.split('/').first - when 'community' - 'Community Guide' when 'user' - 'User Guide' + 'Guide' when 'api' - 'Classes and Functions' - else - 'Other' + 'API' end end @@ -24,23 +20,33 @@ module Docs entries = [] css('.class').each do |node| + namespace = node.at_css('.descclassname').content.strip.remove(/\.\z/) class_name = node.at_css('dt > .descname').content class_id = node.at_css('dt[id]')['id'] - entries << [class_name, class_id] + entries << ["#{namespace}.#{class_name}", class_id, namespace] + + node.css('.attribute').each do |n| + next unless n.at_css('dt[id]') + name = n.at_css('.descname').content + name = "#{namespace}.#{class_name}.#{name}" + id = n.at_css('dt[id]')['id'] + entries << [name, id, namespace] + end node.css('.method').each do |n| next unless n.at_css('dt[id]') name = n.at_css('.descname').content - name = "#{class_name}.#{name}()" + name = "#{namespace}.#{class_name}.#{name}()" id = n.at_css('dt[id]')['id'] - entries << [name, id] + entries << [name, id, namespace] end end css('.function').each do |node| - name = "#{node.at_css('.descname').content}()" + namespace = node.at_css('.descclassname').content.strip.remove(/\.\z/) + name = "#{namespace}.#{node.at_css('.descname').content}()" id = node.at_css('dt[id]')['id'] - entries << [name, id] + entries << [name, id, namespace] end entries diff --git a/lib/docs/scrapers/falcon.rb b/lib/docs/scrapers/falcon.rb index 593e62b8..2073053b 100644 --- a/lib/docs/scrapers/falcon.rb +++ b/lib/docs/scrapers/falcon.rb @@ -11,17 +11,17 @@ module Docs options[:container] = '.body' - options[:skip_patterns] = [/\Achanges/, /\A_modules/] + options[:skip] = %w(user/index.html api/index.html) + options[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/] options[:attribution] = <<-HTML - © 2016 Falcon Contributors
- Licensed under the Apache 2 License. + © 2012–2016 by Rackspace Hosting, Inc. and other contributors
+ Licensed under the Apache License, Version 2.0. HTML - version '1.2.0' do + version '1.2' do self.release = '1.2.0' - self.base_url = "https://falcon.readthedocs.io/en/#{self.version}/" + self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/" end - end end diff --git a/public/icons/docs/falcon/16.png b/public/icons/docs/falcon/16.png new file mode 100644 index 0000000000000000000000000000000000000000..bfb2deedd530050e2a27fc72d76c3109141fb149 GIT binary patch literal 297 zcmV+^0oMMBP)-tzN3Bjm91^fH+HnQ+~3zd@4k}y}PUL=8lg4H-PxU#%3Vh4yG?}Zux(8YwQ18yE^~h2I1YEEAQ^c2iYx#8QTxt4gt v}}6vwBw_qB~>yKYxCSKXCyvWcBMzueEZZR^>#jnB4DW@6j9zdP3XpEGk24Gj$q z&0Pz?-Uk<)1wVo#=b4*t%$o8vK*l5J4Cc)lZ;Yx^76+B7zn-7+SoF0ppiKNEAmF!py4YZAJq(7117K`C0QNQp*m2+3ba0W3X>0eAOy=jwIGHy$ z9|A`^1KeFK@C&%Yn2h@7%DoO(J`ob|x4S#p6XXzG-99kX?*~)UL9pV3EjXL75MAv) zP*v{%W!3Sl#eEYNWX9`=P_mB*BjQ~h%oP%u0Y&P^=u*TKsbAm_ivzt}aCfqRc#lQQ zxjI=ccNe=4A5`t=VAk8)85->6G%-X(=&>;@Y7BcXb#$-<&Q6vZuZdY(4q@Xg5;1%h z3*6o8$*`DWOvtidMCUT9Nc}r1rsnXy5yRtwK5lbFn)qK_mHYw3nw~uOZTS0=-nF$c z#I}~hU}-rt;_2mnfdD;la(>cY@KR88`@8z9XiRP zBk$iyUHa^RB1s;TCv6%xrM`}?fItuLU|7HdR~K6k0ND72A#+3O)OR9cYKy;*C&EHj z@ZSRyn)E~%tb7`Qx8yBw7rzex52C9eCZ^Vth~fL~LRSb8Gp0-bWK@;BZPA|FyW}hW z8eJ=cio{=tClLvihprJK2wf|ahK#SqHK`DjB{0zKVBTBs_M9mTrVN?u(Cq;Hd5