[SPARK-2252] Fix MathJax for HTTPs.
[SPARK-2252] Fix MathJax for HTTPs.

Found out about this from the Hacker News link to GraphX which was using HTTPs.

@mengxr

Author: Reynold Xin <rxin@apache.org>

Closes #1189 from rxin/mllib-doc and squashes the following commits:

5328be0 [Reynold Xin] [SPARK-2252] Fix MathJax for HTTPs.

huang1900/spark,joseph-torres/spark,mahak/spark,taroplus/spark,gengliangwang/spark,icexelloss/spark,shaneknapp/spark,poffuomo/spark,xflin/spark,ajaysaini725/spark,UndeadBaneGitHub/spark,andrewor14/iolap,jianran/spark,hhbyyh/spark,wzhfy/spark,techaddict/spark,apache-spark-on-k8s/spark,hhbyyh/spark,zuotingbing/spark,ConeyLiu/spark,skonto/spark,lxsmnv/spark,darionyaphet/spark,zzcclp/spark,alunarbeach/spark,lxsmnv/spark,JoshRosen/spark,JoshRosen/spark,pronix/spark,WeichenXu123/spark,alunarbeach/spark,sachintyagi22/spark,darionyaphet/spark,cin/spark,janewangfb/spark,rekhajoshm/spark,yanboliang/spark,facaiy/spark,actuaryzhang/spark,byakuinss/spark,techaddict/spark,JoshRosen/spark,alunarbeach/spark,zzcclp/spark,apache-spark-on-k8s/spark,map222/spark,ueshin/apache-spark,JerryLead/spark,aosagie/spark,kiszk/spark,jlopezmalla/spark,adrian-ionescu/apache-spark,eyalfa/spark,ddna1021/spark,panfengfeng/spark,jianran/spark,saturday-shi/spark,zero323/spark,WeichenXu123/spark,setjet/spark,caneGuy/spark,mdespriee/spark,dhruve/spark,dbtsai/spark,mike0sv/spark,goldmedal/spark,caneGuy/spark,adrian-ionescu/apache-spark,adrian-ionescu/apache-spark,kissmetrics/spark,esi-mineset/spark,big-pegasus/spark,SHASHANKB/spark,alunarbeach/spark,map222/spark,nlalevee/spark,ddna1021/spark,jiangxb1987/spark,andrewor14/spark,kimoonkim/spark,sachintyagi22/spark,ConeyLiu/spark,rednaxelafx/apache-spark,1haodian/spark,1haodian/spark,publicRoman/spark,eyalfa/spark,rezasafi/spark,mike0sv/spark,map222/spark,andrewor14/iolap,spark-test/spark,zero323/spark,apache/spark,dhruve/spark,ericvandenbergfb/spark,michalsenkyr/spark,map222/spark,aosagie/spark,1haodian/spark,aray/spark,sahilTakiar/spark,rezasafi/spark,caneGuy/spark,zhouyejoe/spark,loneknightpy/spark,ahnqirage/spark,BryanCutler/spark,joseph-torres/spark,lxsmnv/spark,SnappyDataInc/spark,jlopezmalla/spark,adrian-ionescu/apache-spark,aray/spark,WindCanDie/spark,bravo-zhang/spark,Aegeaner/spark,UndeadBaneGitHub/spark,janewangfb/spark,shaneknapp/spark,milliman/spark,byakuinss/spark,saltstar/spark,stanzhai/spark,ueshin/apache-spark,janewangfb/spark,UndeadBaneGitHub/spark,haowu80s/spark,janewangfb/spark,lvdongr/spark,shubhamchopra/spark,LantaoJin/spark,HyukjinKwon/spark,sureshthalamati/spark,rednaxelafx/apache-spark,pronix/spark,highfei2011/spark,dongjoon-hyun/spark,sureshthalamati/spark,ConeyLiu/spark,mahak/spark,ioana-delaney/spark,esi-mineset/spark,guoxiaolongzte/spark,sureshthalamati/spark,ptkool/spark,JoshRosen/spark,narahari92/spark,minixalpha/spark,ueshin/apache-spark,matthewfranglen/spark,ibm-research-ireland/sparkoscope,lxsmnv/spark,1haodian/spark,nlalevee/spark,vinodkc/spark,patrick-nicholson/spark,hvanhovell/spark,publicRoman/spark,rikima/spark,maropu/spark,huang1900/spark,dongjoon-hyun/spark,ueshin/apache-spark,akopich/spark,spark-test/spark,rekhajoshm/spark,ibm-research-ireland/sparkoscope,dhruve/spark,ron8hu/spark,ptkool/spark,jiangxb1987/spark,liyichao/spark,bravo-zhang/spark,lvdongr/spark,srowen/spark,xflin/spark,mahak/spark,loneknightpy/spark,joseph-torres/spark,pgandhi999/spark,bravo-zhang/spark,poffuomo/spark,witgo/spark,szhem/spark,zuotingbing/spark,kissmetrics/spark,apache/spark,saturday-shi/spark,kimoonkim/spark,someorz/spark,byakuinss/spark,gengliangwang/spark,tejasapatil/spark,sahilTakiar/spark,publicRoman/spark,haowu80s/spark,ddna1021/spark,metamx/spark,nilsgrabbert/spark,holdenk/spark,apache-spark-on-k8s/spark,chuckchen/spark,taroplus/spark,andrewor14/spark,szhem/spark,ajaysaini725/spark,zuotingbing/spark,tejasapatil/spark,kiszk/spark,hhbyyh/spark,loneknightpy/spark,metamx/spark,liyichao/spark,jiangxb1987/spark,ajaysaini725/spark,holdenk/spark,gioenn/xSpark,joseph-torres/spark,eyalfa/spark,mzl9039/spark,shubhamchopra/spark,holdenk/spark,bravo-zhang/spark,caneGuy/spark,debugger87/spark,shuangshuangwang/spark,saltstar/spark,gioenn/xSpark,facaiy/spark,zhouyejoe/spark,kevinyu98/spark,lxsmnv/spark,srowen/spark,JerryLead/spark,jianran/spark,facaiy/spark,Panos-Bletsos/spark-cost-model-optimizer,witgo/spark,MLnick/spark,szhem/spark,ddna1021/spark,gengliangwang/spark,kiszk/spark,ibm-research-ireland/sparkoscope,stanzhai/spark,alunarbeach/spark,WindCanDie/spark,aosagie/spark,setjet/spark,tejasapatil/spark,narahari92/spark,SnappyDataInc/spark,shaneknapp/spark,ddna1021/spark,publicRoman/spark,apache/spark,highfei2011/spark,shuangshuangwang/spark,mdespriee/spark,dbtsai/spark,gioenn/xSpark,apache/spark,MLnick/spark,holdenk/spark,hhbyyh/spark,ueshin/apache-spark,icexelloss/spark,mzl9039/spark,BryanCutler/spark,dbtsai/spark,milliman/spark,shuangshuangwang/spark,SnappyDataInc/spark,milliman/spark,lvdongr/spark,wangyum/spark,ConeyLiu/spark,pronix/spark,ibm-research-ireland/sparkoscope,liutang123/spark,skonto/spark,yanboliang/spark,adrian-ionescu/apache-spark,Panos-Bletsos/spark-cost-model-optimizer,rednaxelafx/apache-spark,wangmiao1981/spark,someorz/spark,wangyum/spark,bOOm-X/spark,brad-kaiser/spark,cloud-fan/spark,setjet/spark,BryanCutler/spark,setjet/spark,saltstar/spark,jkbradley/spark,ueshin/apache-spark,cin/spark,patrick-nicholson/spark,nlalevee/spark,jianran/spark,UndeadBaneGitHub/spark,cloud-fan/spark,wzhfy/spark,rezasafi/spark,sureshthalamati/spark,jiangxb1987/spark,shuangshuangwang/spark,facaiy/spark,wangmiao1981/spark,JoshRosen/spark,stanzhai/spark,zuotingbing/spark,xuanyuanking/spark,nchammas/spark,chuckchen/spark,bOOm-X/spark,Aegeaner/spark,kevinyu98/spark,dongjoon-hyun/spark,kissmetrics/spark,aosagie/spark,aray/spark,techaddict/spark,esi-mineset/spark,map222/spark,darionyaphet/spark,Panos-Bletsos/spark-cost-model-optimizer,rikima/spark,actuaryzhang/spark,ptkool/spark,ahnqirage/spark,andrewor14/iolap,zhouyejoe/spark,dongjoon-hyun/spark,kevinyu98/spark,rekhajoshm/spark,LantaoJin/spark,SHASHANKB/spark,pgandhi999/spark,yanboliang/spark,1haodian/spark,janewangfb/spark,nchammas/spark,rezasafi/spark,JerryLead/spark,ron8hu/spark,SnappyDataInc/spark,wangmiao1981/spark,mahak/spark,skonto/spark,nchammas/spark,hvanhovell/spark,apache/spark,xflin/spark,liyichao/spark,szhem/spark,haowu80s/spark,minixalpha/spark,yanboliang/spark,kimoonkim/spark,saturday-shi/spark,rekhajoshm/spark,loneknightpy/spark,highfei2011/spark,jkbradley/spark,Aegeaner/spark,skonto/spark,lxsmnv/spark,aosagie/spark,MLnick/spark,patrick-nicholson/spark,zzcclp/spark,big-pegasus/spark,lvdongr/spark,gioenn/xSpark,rikima/spark,bdrillard/spark,liyichao/spark,nilsgrabbert/spark,ron8hu/spark,zhouyejoe/spark,gengliangwang/spark,narahari92/spark,kiszk/spark,loneknightpy/spark,andrewor14/iolap,ron8hu/spark,gioenn/xSpark,map222/spark,someorz/spark,ioana-delaney/spark,patrick-nicholson/spark,adrian-ionescu/apache-spark,big-pegasus/spark,eyalfa/spark,Aegeaner/spark,saltstar/spark,xflin/spark,spark-test/spark,caneGuy/spark,srowen/spark,jiangxb1987/spark,goldmedal/spark,huang1900/spark,kevinyu98/spark,panfengfeng/spark,chuckchen/spark,ptkool/spark,brad-kaiser/spark,janewangfb/spark,wangmiao1981/spark,xuanyuanking/spark,akopich/spark,rezasafi/spark,vinodkc/spark,zhouyejoe/spark,apache-spark-on-k8s/spark,ahnqirage/spark,bdrillard/spark,SnappyDataInc/spark,someorz/spark,spark-test/spark,tejasapatil/spark,adrian-ionescu/apache-spark,facaiy/spark,jlopezmalla/spark,WeichenXu123/spark,JerryLead/spark,byakuinss/spark,shaneknapp/spark,cin/spark,esi-mineset/spark,someorz/spark,SnappyDataInc/spark,zzcclp/spark,SnappyDataInc/spark,srowen/spark,bOOm-X/spark,markhamstra/spark,techaddict/spark,nchammas/spark,actuaryzhang/spark,markhamstra/spark,debugger87/spark,andrewor14/spark,akopich/spark,maropu/spark,bdrillard/spark,liutang123/spark,andrewor14/spark,zzcclp/spark,HyukjinKwon/spark,maropu/spark,wzhfy/spark,spark-test/spark,mahak/spark,aosagie/spark,aokolnychyi/spark,esi-mineset/spark,1haodian/spark,maropu/spark,pgandhi999/spark,brad-kaiser/spark,michalsenkyr/spark,LantaoJin/spark,ptkool/spark,tengpeng/spark,dhruve/spark,loneknightpy/spark,ueshin/apache-spark,mahak/spark,apache-spark-on-k8s/spark,jkbradley/spark,kimoonkim/spark,dongjoon-hyun/spark,liyichao/spark,bOOm-X/spark,aray/spark,WindCanDie/spark,map222/spark,ConeyLiu/spark,ConeyLiu/spark,setjet/spark,sahilTakiar/spark,skonto/spark,xuanyuanking/spark,debugger87/spark,MLnick/spark,esi-mineset/spark,yanboliang/spark,sureshthalamati/spark,liyichao/spark,mzl9039/spark,Aegeaner/spark,ptkool/spark,jkbradley/spark,lxsmnv/spark,rikima/spark,cin/spark,dongjoon-hyun/spark,witgo/spark,xflin/spark,poffuomo/spark,mzl9039/spark,Panos-Bletsos/spark-cost-model-optimizer,sachintyagi22/spark,pronix/spark,sureshthalamati/spark,narahari92/spark,SHASHANKB/spark,ahnqirage/spark,andrewor14/iolap,ibm-research-ireland/sparkoscope,cloud-fan/spark,haowu80s/spark,ioana-delaney/spark,tengpeng/spark,liyichao/spark,wangyum/spark,tengpeng/spark,actuaryzhang/spark,akopich/spark,aokolnychyi/spark,eyalfa/spark,shaneknapp/spark,aosagie/spark,chuckchen/spark,bOOm-X/spark,hhbyyh/spark,lvdongr/spark,sahilTakiar/spark,darionyaphet/spark,dbtsai/spark,xuanyuanking/spark,sureshthalamati/spark,spark-test/spark,darionyaphet/spark,hvanhovell/spark,rezasafi/spark,mike0sv/spark,icexelloss/spark,gengliangwang/spark,bravo-zhang/spark,rednaxelafx/apache-spark,highfei2011/spark,SHASHANKB/spark,narahari92/spark,yanboliang/spark,chuckchen/spark,jlopezmalla/spark,aokolnychyi/spark,guoxiaolongzte/spark,alunarbeach/spark,maropu/spark,jianran/spark,zero323/spark,minixalpha/spark,michalsenkyr/spark,chuckchen/spark,metamx/spark,mdespriee/spark,markhamstra/spark,nlalevee/spark,bOOm-X/spark,rekhajoshm/spark,zuotingbing/spark,guoxiaolongzte/spark,holdenk/spark,Aegeaner/spark,bdrillard/spark,kiszk/spark,guoxiaolongzte/spark,rekhajoshm/spark,WindCanDie/spark,pgandhi999/spark,JerryLead/spark,hvanhovell/spark,brad-kaiser/spark,BryanCutler/spark,techaddict/spark,ron8hu/spark,shubhamchopra/spark,nlalevee/spark,minixalpha/spark,kissmetrics/spark,hvanhovell/spark,kiszk/spark,joseph-torres/spark,shubhamchopra/spark,taroplus/spark,wangyum/spark,shubhamchopra/spark,big-pegasus/spark,LantaoJin/spark,aokolnychyi/spark,rikima/spark,nlalevee/spark,poffuomo/spark,pgandhi999/spark,bravo-zhang/spark,goldmedal/spark,saturday-shi/spark,apache/spark,debugger87/spark,UndeadBaneGitHub/spark,mdespriee/spark,vinodkc/spark,andrewor14/spark,actuaryzhang/spark,tengpeng/spark,xuanyuanking/spark,actuaryzhang/spark,ptkool/spark,poffuomo/spark,witgo/spark,big-pegasus/spark,jrshust/spark,SHASHANKB/spark,loneknightpy/spark,jlopezmalla/spark,cin/spark,gengliangwang/spark,ron8hu/spark,dbtsai/spark,dbtsai/spark,ddna1021/spark,xflin/spark,dhruve/spark,JerryLead/spark,skonto/spark,kimoonkim/spark,tengpeng/spark,rikima/spark,milliman/spark,zzcclp/spark,nilsgrabbert/spark,sahilTakiar/spark,joseph-torres/spark,wzhfy/spark,bdrillard/spark,debugger87/spark,someorz/spark,byakuinss/spark,JoshRosen/spark,ericvandenbergfb/spark,tejasapatil/spark,jkbradley/spark,nilsgrabbert/spark,wangyum/spark,panfengfeng/spark,stanzhai/spark,markhamstra/spark,shuangshuangwang/spark,cloud-fan/spark,zero323/spark,WindCanDie/spark,taroplus/spark,apache-spark-on-k8s/spark,caneGuy/spark,pronix/spark,sachintyagi22/spark,kiszk/spark,witgo/spark,jrshust/spark,LantaoJin/spark,haowu80s/spark,michalsenkyr/spark,hhbyyh/spark,jkbradley/spark,janewangfb/spark,liutang123/spark,patrick-nicholson/spark,Panos-Bletsos/spark-cost-model-optimizer,panfengfeng/spark,zuotingbing/spark,facaiy/spark,WindCanDie/spark,aokolnychyi/spark,kimoonkim/spark,metamx/spark,brad-kaiser/spark,LantaoJin/spark,tejasapatil/spark,bdrillard/spark,gioenn/xSpark,dhruve/spark,poffuomo/spark,SHASHANKB/spark,techaddict/spark,taroplus/spark,icexelloss/spark,ibm-research-ireland/sparkoscope,rednaxelafx/apache-spark,aray/spark,publicRoman/spark,huang1900/spark,setjet/spark,huang1900/spark,andrewor14/iolap,ericvandenbergfb/spark,big-pegasus/spark,liutang123/spark,ahnqirage/spark,huang1900/spark,shaneknapp/spark,ahnqirage/spark,holdenk/spark,wzhfy/spark,highfei2011/spark,metamx/spark,publicRoman/spark,MLnick/spark,actuaryzhang/spark,metamx/spark,xflin/spark,WindCanDie/spark,tengpeng/spark,ioana-delaney/spark,guoxiaolongzte/spark,saturday-shi/spark,HyukjinKwon/spark,spark-test/spark,wzhfy/spark,ericvandenbergfb/spark,hhbyyh/spark,saturday-shi/spark,vinodkc/spark,sachintyagi22/spark,BryanCutler/spark,brad-kaiser/spark,rekhajoshm/spark,milliman/spark,kevinyu98/spark,mdespriee/spark,cloud-fan/spark,gioenn/xSpark,aray/spark,aokolnychyi/spark,jrshust/spark,minixalpha/spark,pgandhi999/spark,ajaysaini725/spark,taroplus/spark,zuotingbing/spark,ahnqirage/spark,maropu/spark,panfengfeng/spark,mahak/spark,zero323/spark,chuckchen/spark,apache/spark,minixalpha/spark,esi-mineset/spark,narahari92/spark,patrick-nicholson/spark,icexelloss/spark,xuanyuanking/spark,ajaysaini725/spark,zhouyejoe/spark,liutang123/spark,goldmedal/spark,alunarbeach/spark,srowen/spark,kissmetrics/spark,michalsenkyr/spark,srowen/spark,BryanCutler/spark,jiangxb1987/spark,stanzhai/spark,jrshust/spark,gengliangwang/spark,HyukjinKwon/spark,panfengfeng/spark,goldmedal/spark,saltstar/spark,narahari92/spark,hvanhovell/spark,darionyaphet/spark,icexelloss/spark,jianran/spark,nilsgrabbert/spark,highfei2011/spark,akopich/spark,markhamstra/spark,setjet/spark,taroplus/spark,szhem/spark,jrshust/spark,jianran/spark,mzl9039/spark,wangmiao1981/spark,pgandhi999/spark,apache-spark-on-k8s/spark,byakuinss/spark,guoxiaolongzte/spark,brad-kaiser/spark,UndeadBaneGitHub/spark,darionyaphet/spark,saturday-shi/spark,WeichenXu123/spark,debugger87/spark,kevinyu98/spark,markhamstra/spark,aray/spark,zero323/spark,milliman/spark,metamx/spark,highfei2011/spark,milliman/spark,techaddict/spark,jlopezmalla/spark,caneGuy/spark,HyukjinKwon/spark,michalsenkyr/spark,vinodkc/spark,wzhfy/spark,akopich/spark,srowen/spark,maropu/spark,ron8hu/spark,wangyum/spark,goldmedal/spark,ericvandenbergfb/spark,shuangshuangwang/spark,jrshust/spark,WeichenXu123/spark,Panos-Bletsos/spark-cost-model-optimizer,sachintyagi22/spark,liutang123/spark,WeichenXu123/spark,bOOm-X/spark,sahilTakiar/spark,patrick-nicholson/spark,mdespriee/spark,mzl9039/spark,stanzhai/spark,mike0sv/spark,rednaxelafx/apache-spark,HyukjinKwon/spark,shubhamchopra/spark,witgo/spark,minixalpha/spark,szhem/spark,guoxiaolongzte/spark,ioana-delaney/spark,icexelloss/spark,bdrillard/spark,nchammas/spark,shubhamchopra/spark,jlopezmalla/spark,bravo-zhang/spark,holdenk/spark,lvdongr/spark,tejasapatil/spark,MLnick/spark,wangyum/spark,vinodkc/spark,shaneknapp/spark,joseph-torres/spark,jrshust/spark,Panos-Bletsos/spark-cost-model-optimizer,panfengfeng/spark,mike0sv/spark,big-pegasus/spark,ericvandenbergfb/spark,ericvandenbergfb/spark,pronix/spark,eyalfa/spark,nilsgrabbert/spark,vinodkc/spark,someorz/spark,xuanyuanking/spark,saltstar/spark,yanboliang/spark,ioana-delaney/spark,wangmiao1981/spark,debugger87/spark,ioana-delaney/spark,sahilTakiar/spark,facaiy/spark,wangmiao1981/spark,MLnick/spark,kissmetrics/spark,andrewor14/spark,nilsgrabbert/spark,cloud-fan/spark,JoshRosen/spark,shuangshuangwang/spark,ConeyLiu/spark,zero323/spark,nlalevee/spark,rikima/spark,sachintyagi22/spark,kissmetrics/spark,tengpeng/spark,ajaysaini725/spark,dbtsai/spark,mike0sv/spark,poffuomo/spark,byakuinss/spark,mdespriee/spark,publicRoman/spark,BryanCutler/spark,jkbradley/spark,1haodian/spark,kevinyu98/spark,eyalfa/spark,nchammas/spark,goldmedal/spark,hvanhovell/spark,lvdongr/spark,szhem/spark,ibm-research-ireland/sparkoscope,jiangxb1987/spark,rezasafi/spark,UndeadBaneGitHub/spark,JerryLead/spark,cin/spark,michalsenkyr/spark,zhouyejoe/spark,dhruve/spark,nchammas/spark,akopich/spark,witgo/spark,stanzhai/spark,huang1900/spark,cloud-fan/spark,skonto/spark,cin/spark,ddna1021/spark,Aegeaner/spark,LantaoJin/spark,HyukjinKwon/spark,kimoonkim/spark,aokolnychyi/spark,mzl9039/spark,ajaysaini725/spark,mike0sv/spark,dongjoon-hyun/spark,andrewor14/spark,markhamstra/spark,zzcclp/spark,andrewor14/iolap,haowu80s/spark,liutang123/spark,rednaxelafx/apache-spark,SHASHANKB/spark,saltstar/spark,WeichenXu123/spark