Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_displayname.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_displayname.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_displayname.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_prog.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_prog.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/form_select_prog.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/homepage_notebook_id.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/homepage_notebook_id.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/homepage_notebook_id.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_binding.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_binding.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_binding.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_create.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_create.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_create.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_persession.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_persession.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_persession.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/link_paragraph.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/link_paragraph.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/link_paragraph.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/markdown.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/markdown.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/markdown.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/notebook.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/notebook.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/notebook.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/pivot.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/pivot.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/pivot.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/publish.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/publish.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/publish.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/selectForm-checkbox.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/selectForm-checkbox.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/selectForm-checkbox.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark-master-webui1.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark-master-webui1.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark-master-webui1.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/spark.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/sparksql.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/sparksql.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/sparksql.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/user-impersonation.gif URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/user-impersonation.gif?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/user-impersonation.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/visualization.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/visualization.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/visualization.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularBind.gif URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularBind.gif?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularBind.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularJs_overriding_dynamic_form.gif URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularJs_overriding_dynamic_form.gif?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularJs_overriding_dynamic_form.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularUnbind.gif URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularUnbind.gif?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_angularUnbind.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_runParagraph.gif URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_runParagraph.gif?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/screenshots/z_runParagraph.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/sidebar-bg.jpg URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/sidebar-bg.jpg?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/sidebar-bg.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/spark_logo.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/spark_logo.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/spark_logo.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/about_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/about_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/about_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/configuration_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/configuration_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/configuration_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/credential_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/credential_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/credential_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/homepage.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/homepage.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/homepage.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/interpreter_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/interpreter_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/interpreter_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_commands.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_commands.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_commands.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_configuration.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_configuration.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_configuration.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_import_dialog.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_import_dialog.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_import_dialog.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_paragraph_layout.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_paragraph_layout.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_paragraph_layout.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_toolbar.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_toolbar.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/note_toolbar.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notebook_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notebook_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notebook_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notes_management.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notes_management.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/notes_management.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_configuration_dialog.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_configuration_dialog.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_configuration_dialog.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_layout.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_layout.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/paragraph_layout.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/settings_menu.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/settings_menu.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/ui-img/settings_menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/zeppelin_logo.png URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/zeppelin_logo.png?rev=1798613&view=auto ============================================================================== Binary file - no diff available. Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/img/zeppelin_logo.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js (added) +++ zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js Tue Jun 13 16:55:32 2017 @@ -0,0 +1,6 @@ +/*! + * AnchorJS - v1.1.1 - 2015-05-23 + * https://github.com/bryanbraun/anchorjs + * Copyright (c) 2015 Bryan Braun; Licensed MIT + */ +function AnchorJS(A){"use strict";this.options=A||{},this._applyRemainingDefaultOptions=function(A){this.options.icon=this.options.hasOwnProperty("icon")?A.icon:"",this.options.visible=this.options.hasOwnProperty("visible")?A.visible:"hover",this.options.placement=this.options.hasOwnProperty("placement")?A.placement:"right",this.options.class=this.options.hasOwnProperty("class")?A.class:""},this._applyRemainingDefaultOptions(A),this.add=function(A){var e,t,o,n,i,s,a,l,c,r,h,g,B,Q;if(this._applyRemainingDefaultOptions(this.options),A){if("string"!=typeof A)throw new Error("The selector provided to AnchorJS was invalid.")}else A="h1, h2, h3, h4, h5, h6";if(e=document.querySelectorAll(A),0===e.length)return!1;for(this._addBaselineStyles(),t=document.querySelectorAll("[id]"),o=[].map.call(t,function(A){return A.id}),i=0;i<e.length;i++){if(e[i].hasAttribute("id"))n=e[i].getAttribute("id");else{s=e[i].textContent,a=s.replace(/[^\w\s-]/gi,"").replace(/\s+/g,"-").replace(/-{2,}/g,"-" ).substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase(),r=a,c=0;do void 0!==l&&(r=a+"-"+c),l=o.indexOf(r),c+=1;while(-1!==l);l=void 0,o.push(r),e[i].setAttribute("id",r),n=r}h=n.replace(/-/g," "),g='<a class="anchorjs-link '+this.options.class+'" href="#'+n+'" aria-label="Anchor link for: '+h+'" data-anchorjs-icon="'+this.options.icon+'"></a>',B=document.createElement("div"),B.innerHTML=g,Q=B.childNodes,"always"===this.options.visible&&(Q[0].style.opacity="1"),""===this.options.icon&&(Q[0].style.fontFamily="anchorjs-icons",Q[0].style.fontStyle="normal",Q[0].style.fontVariant="normal",Q[0].style.fontWeight="normal"),"left"===this.options.placement?(Q[0].style.position="absolute",Q[0].style.marginLeft="-1em",Q[0].style.paddingRight="0.5em",e[i].insertBefore(Q[0],e[i].firstChild)):(Q[0].style.paddingLeft="0.375em",e[i].appendChild(Q[0]))}return this},this.remove=function(A){for(var e,t=document.querySelectorAll(A),o=0;o<t.length;o++)e=t[o].querySelector(".anchorjs-link"),e&&t[o] .removeChild(e);return this},this._addBaselineStyles=function(){if(null===document.head.querySelector("style.anchorjs")){var A,e=document.createElement("style"),t=" .anchorjs-link { opacity: 0; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }",o=" *:hover > .anchorjs-link, .anchorjs-link:focus { opacity: 1; }",n=' @font-face { font-family: "anchorjs-icons"; font-style: normal; font-weight: normal; src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBTUAAAC8AAAAYGNtYXAWi9QdAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5Zgq29TcAAAF4AAABNGhlYWQEZM3pAAACrAAAADZoaGVhBhUDxgAAAuQAAAAkaG10eASAADEAAAMIAAAAFGxvY2EAKACuAAADHAAAAAxtYXhwAAgAVwAAAygAAAAgbmFtZQ5yJ3cAAANIAAAB2nBvc3QAAwAAAAAFJAAAACAAAwJAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpywPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6cv//f//AAAAAAAg6cv//f//AAH/4x Y5AAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAACADEARAJTAsAAKwBUAAABIiYnJjQ/AT4BMzIWFxYUDwEGIicmND8BNjQnLgEjIgYPAQYUFxYUBw4BIwciJicmND8BNjIXFhQPAQYUFx4BMzI2PwE2NCcmNDc2MhcWFA8BDgEjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAEAAAABAACiToc1Xw889QALBAAAAAAA0XnFFgAAAADRecUWAAAAAAJTAsAAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAAlMAAQAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAACAAAAAoAAMQAAAAAACgAUAB4AmgABAAAABQBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIABwCfAAEAAAAAAAMADgBLAAEAAAAAAAQADgC0AAEAAAAAAAUACwAqAAEAAAAAAAYADgB1AAEAAAAAAAoAGgDeAAMAAQQJAAEAHAAOAAMAAQQJAAIADgCmAAMAAQQJAAMAHABZAAMAAQQJAAQAHADCAAMAAQQJAAUAFgA1AAMAAQQJAAYAHACDAAMAAQQJAAoANAD4YW5jaG9yanMtaWNvbnMAYQBuAGMAaABvAHIAagBzAC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwYW5jaG9yanMtaWN vbnMAYQBuAGMAaABvAHIAagBzAC0AaQBjAG8AbgBzYW5jaG9yanMtaWNvbnMAYQBuAGMAaABvAHIAagBzAC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByYW5jaG9yanMtaWNvbnMAYQBuAGMAaABvAHIAagBzAC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format("truetype"); }',i=" [data-anchorjs-icon]::after { content: attr(data-anchorjs-icon); }";e.className="anchorjs",e.appendChild(document.createTextNode("")),A=document.head.querySelector('[rel="stylesheet"], style'),void 0===A?document.head.appendChild(e):document.head.insertBefore(e,A),e.sheet.insertRule(t,e.sheet.cssRules.length),e.sheet.insertRule(o,e.sheet.cssRules.length),e.sheet.insertRule(i,e.sheet.cssRules.length),e.sheet.insertRule(n,e.sheet.cssRules.length)}}}var anchors=new AnchorJS; Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js ------------------------------------------------------------------------------ svn:executable = * Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/docs.js URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/docs.js?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/docs.js (added) +++ zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/docs.js Tue Jun 13 16:55:32 2017 @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Note: This file is originally from the Apache Spark project. */ + +/* Custom JavaScript code in the MarkDown docs */ + +// Enable language-specific code tabs +function codeTabs() { + var counter = 0; + var langImages = { + "scala": "img/scala-sm.png", + "python": "img/python-sm.png", + "java": "img/java-sm.png" + }; + $("div.codetabs").each(function() { + $(this).addClass("tab-content"); + + // Insert the tab bar + var tabBar = $('<ul class="nav nav-tabs" data-tabs="tabs"></ul>'); + $(this).before(tabBar); + + // Add each code sample to the tab bar: + var codeSamples = $(this).children("div"); + codeSamples.each(function() { + $(this).addClass("tab-pane"); + var lang = $(this).data("lang"); + var image = $(this).data("image"); + var notabs = $(this).data("notabs"); + var capitalizedLang = lang.substr(0, 1).toUpperCase() + lang.substr(1); + var id = "tab_" + lang + "_" + counter; + $(this).attr("id", id); + if (image != null && langImages[lang]) { + var buttonLabel = "<img src='" +langImages[lang] + "' alt='" + capitalizedLang + "' />"; + } else if (notabs == null) { + var buttonLabel = "<b>" + capitalizedLang + "</b>"; + } else { + var buttonLabel = "" + } + tabBar.append( + '<li><a class="tab_' + lang + '" href="#' + id + '">' + buttonLabel + '</a></li>' + ); + }); + + codeSamples.first().addClass("active"); + tabBar.children("li").first().addClass("active"); + counter++; + }); + $("ul.nav-tabs a").click(function (e) { + // Toggling a tab should switch all tabs corresponding to the same language + // while retaining the scroll position + e.preventDefault(); + var scrollOffset = $(this).offset().top - $(document).scrollTop(); + $("." + $(this).attr('class')).tab('show'); + $(document).scrollTop($(this).offset().top - scrollOffset); + }); +} + +function makeCollapsable(elt, accordionClass, accordionBodyId, title) { + $(elt).addClass("accordion-inner"); + $(elt).wrap('<div class="accordion ' + accordionClass + '"></div>') + $(elt).wrap('<div class="accordion-group"></div>') + $(elt).wrap('<div id="' + accordionBodyId + '" class="accordion-body collapse"></div>') + $(elt).parent().before( + '<div class="accordion-heading">' + + '<a class="accordion-toggle" data-toggle="collapse" href="#' + accordionBodyId + '">' + + title + + '</a>' + + '</div>' + ); +} + +// Enable "view solution" sections (for exercises) +function viewSolution() { + var counter = 0 + $("div.solution").each(function() { + var id = "solution_" + counter + makeCollapsable(this, "", id, + '<i class="icon-ok-sign" style="text-decoration: none; color: #0088cc">' + + '</i>' + "View Solution"); + counter++; + }); +} + +// A script to fix internal hash links because we have an overlapping top bar. +// Based on https://github.com/twitter/bootstrap/issues/193#issuecomment-2281510 +function maybeScrollToHash() { + if (window.location.hash && $(window.location.hash).length) { + var newTop = $(window.location.hash).offset().top - 57; + $(window).scrollTop(newTop); + } +} + +$(function() { + codeTabs(); + // Display anchor links when hovering over headers. For documentation of the + // configuration options, see the AnchorJS documentation. + anchors.options = { + placement: 'left' + }; + anchors.add(); + + $(window).bind('hashchange', function() { + maybeScrollToHash(); + }); + + $(document).ready(function() { + $('#toc').toc(); + }); + + // Scroll now too in case we had opened the page on a hash, but wait a bit because some browsers + // will try to do *their* initial scroll after running the onReady handler. + $(window).load(function() { setTimeout(function() { maybeScrollToHash(); }, 25); }); +}); Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/lunr.min.js URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/lunr.min.js?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/lunr.min.js (added) +++ zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/lunr.min.js Tue Jun 13 16:55:32 2017 @@ -0,0 +1,7 @@ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.7.0 + * Copyright (C) 2016 Oliver Nightingale + * MIT Licensed + * @license + */ +!function(){var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.7.0",t.utils={},t.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),t.utils.asString=function(t){return void 0===t||null===t?"":t.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},t.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},t.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},t.E ventEmitter.prototype.hasHandler=function(t){return t in this.events},t.tokenizer=function(e){return arguments.length&&null!=e&&void 0!=e?Array.isArray(e)?e.map(function(e){return t.utils.asString(e).toLowerCase()}):e.toString().trim().toLowerCase().split(t.tokenizer.seperator):[]},t.tokenizer.seperator=/[\s\-]+/,t.tokenizer.load=function(t){var e=this.registeredFunctions[t];if(!e)throw new Error("Cannot load un-registered function: "+t);return e},t.tokenizer.label="default",t.tokenizer.registeredFunctions={"default":t.tokenizer},t.tokenizer.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing tokenizer: "+n),e.label=n,this.registeredFunctions[n]=e},t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegister ed=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.registeredFunctions[e];if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},t.Pipeline.prototype.remove=function(t){var e=this._stack.i ndexOf(t);-1!=e&&this._stack.splice(e,1)},t.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,i=this._stack.length,r=0;n>r;r++){for(var o=t[r],s=0;i>s&&(o=this._stack[s](o,r,t),void 0!==o&&""!==o);s++);void 0!==o&&""!==o&&e.push(o)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(e<i.idx)return this.list=new t.Vector.Node(e,n,i),this.length++;for(var r=i,o=i.next;void 0!=o;){if(e<o.idx)return r.next=new t.Vector.Node(e,n,o),this.length++;r=o,o=o.next}return r.next=new t.Vector.Node(e,n,o),this.length++},t.Vector.prototype.magnitude=function(){if(this. _magnitude)return this._magnitude;for(var t,e=this.list,n=0;e;)t=e.val,n+=t*t,e=e.next;return this._magnitude=Math.sqrt(n)},t.Vector.prototype.dot=function(t){for(var e=this.list,n=t.list,i=0;e&&n;)e.idx<n.idx?e=e.next:e.idx>n.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},t.SortedSet.prototype.toArray=function(){return this.elements.slice()},t.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},t.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},t.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elemen ts.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;){if(o===t)return r;t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r]}return o===t?r:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;)t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r];return o>t?r:t>o?r+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,r=0,o=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>o-1||r>s-1)break;a[i]!==h[r]?a[i]<h[r]?i++:a[i]>h[r]&&r++:(n.add(a[i]),i++,r++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone();for(var r=0,o=n.toArray();r<o.length;r++)i.add(o[r]);return i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=functio n(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this.tokenizerFn=t.tokenizer,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.tokenizer=t.tokenizer.load(e.tokenizer),n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n ={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.tokenizer=function(e){var n=e.label&&e.label in t.tokenizer.registeredFunctions;return n||t.utils.warn("Function is not a registered tokenizer. This may cause problems when serialising the index"),this.tokenizerFn=e,this},t.Index.prototype.add=function(e,n){var i={},r=new t.SortedSet,o=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(t){var n=this.pipeline.run(this.tokenizerFn(e[t.name]));i[t.name]=n;for(var o=0;o<n.length;o++){var s=n[o];r.add(s),this.corpusTokens.add(s)}},this),this.documentStore.set(o,r);for(var s=0;s<r.length;s++){for(var a=r.elements[s],h=0,u=0;u<this._fields.length;u++){var l=this._fields[u],c=i[l.name],f=c.length;if(f){for(var d=0,p=0;f>p;p++)c[p]===a&&d++;h+=d/f*l.boost}}this.tokenStore.add(a,{ref:o,tf:h})}n&&this.eventEmitter.emit("add",e,this)},t.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var i=this.documentStore.get(n);this.documentStore.remove(n),i.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},t.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},t.Index.prototype.idf=function(t){var e="@"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,e))return this._idfCache[e];var n=this.tokenStore.count(t),i=1;return n>0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(this.tokenizerFn(e)),i=new t.Vector,r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*o,h=this,u=this.tokenStore.expand(e).reduce(function(n,r){var o=h.corpusTokens.indexOf(r),s=h.idf(r),u=1,l=new t.Sorted Set;if(r!==e){var c=Math.max(3,r.length-e.length);u=1/Math.log(c)}o>-1&&i.insert(o,a*s*u);for(var f=h.tokenStore.get(r),d=Object.keys(f),p=d.length,v=0;p>v;v++)l.add(f[d[v]].ref);return n.union(l)},new t.SortedSet);r.push(u)},this);var a=r.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,r=new t.Vector,o=0;i>o;o++){var s=n.elements[o],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);r.insert(this.corpusTokens.indexOf(s),a*h)}return r},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,tokenizer:this.tokenizerFn.label,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slic e.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i= "[aeiouy]",r=n+"[^aeiouy]*",o=i+"[aeiou]*",s="^("+r+")?"+o+r,a="^("+r+")?"+o+r+"("+o+")?$",h="^("+r+")?"+o+r+o+r,u="^("+r+")?"+i,l=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(u),p=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+r+i+"[^aeiouwxy]$"),x=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,F=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,_=/^(.+?)(s|t)(ion)$/,z=/^(.+?)e$/,O=/ll$/,P=new RegExp("^"+r+i+"[^aeiouwxy]$"),T=function(n){var i,r,o,s,a,h,u;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=p,a=v,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=g,a=m,s.test(n)){var T=s.exec(n);s=l,s.test(T[1])&&(s=y,n=n.rep lace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,u=k,a.test(n)?n+="e":h.test(n)?(s=y,n=n.replace(s,"")):u.test(n)&&(n+="e"))}if(s=x,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+t[r])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+e[r])}if(s=F,a=_,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=z,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=P,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=O,a=c,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.generateStopWordFilter=function(t){var e=t.reduce(function(t,e){return t[e]=e,t},{});return function(t){return t&&e[t]!==t?t:void 0}},t.stopWordFilter=t.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among ","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"")},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t.charAt(0),r=t.slice(1);return i in n||(n[i]={docs:{}}),0===r.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(r,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return!1;e=e[t.charAt(n)]}return!0},t.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return{};e=e[t.charAt(n)]}return e},t.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},t.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},t.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,i=0;i<t.length;i++){if(!(t.charAt(i)in n))return;n=n[t.charAt(i)]}delete n.docs[e]}},t.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),i=n.docs||{},e=e||[];return Object.keys(i).length&&e.push(t),Ob ject.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},t.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.lunr=e()}(this,function(){return t})}(); Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/search.js URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/search.js?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/search.js (added) +++ zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/search.js Tue Jun 13 16:55:32 2017 @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +jQuery(function() { + window.idx = lunr(function () { + this.field('id'); + this.field('title'); + this.field('content', { boost: 10 }); + this.field('group'); + }); + + window.data = $.getJSON('search_data.json'); + window.data.then(function(loaded_data){ + $.each(loaded_data, function(index, value){ + window.idx.add( + $.extend({ "id": index }, value) + ); + }); + }); + + $("#site_search").keyup(function(event){ + event.preventDefault(); + var query = $("#search_box").val(); + var results = window.idx.search(query); + display_search_results(results); + }); + + $('html').bind('keypress', function(event){ + // Since keyup() is operated at the above, disable 'Enter Key' press. + if(event.keyCode == 13) { + return false; + } + }); + + function display_search_results(results) { + var $search_results = $("#search_results"); + var zeppelin_version = "0.7.2"; + var base_url = "/docs/0.7.2"; + var prod_url = "http://zeppelin.apache.org"; + + window.data.then(function(loaded_data) { + if (results.length) { + $search_results.empty(); + $search_results.prepend('<p class="">Found '+results.length+' result(s)</p><hr>'); + + results.forEach(function(result) { + var item = loaded_data[result.ref]; + var appendString = '<a href="'+base_url+item.url.trim()+'">'+item.title+'</a><div class="link">'+prod_url+base_url+item.url.trim()+'</div><p>'+item.excerpt+'</p><br/>'; + + $search_results.append(appendString); + }); + } else { + $search_results.html('<p>Your search did not match any documents.<br/>Make sure that all words are spelled correctly or try more general keywords.</p>'); + } + }); + } +}); Added: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/toc.js URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/toc.js?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/toc.js (added) +++ zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/toc.js Tue Jun 13 16:55:32 2017 @@ -0,0 +1,98 @@ +// https://github.com/ghiculescu/jekyll-table-of-contents +(function($){ + $.fn.toc = function(options) { + var defaults = { + noBackToTopLinks: false, + title: '<i></i>', + minimumHeaders: 2, + headers: 'h2, h3', + listType: 'ul', // values: [ol|ul] + showEffect: 'none', // values: [show|slideDown|fadeIn|none] + showSpeed: '0', // set to 0 to deactivate effect + classes: { list: '', + item: '' + } + }, + settings = $.extend(defaults, options); + + function fixedEncodeURIComponent (str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { + return '%' + c.charCodeAt(0).toString(16); + }); + } + + function createLink (header) { + var innerText = (header.textContent === undefined) ? header.innerText : header.textContent; + return "<a href='#" + fixedEncodeURIComponent(header.id) + "'>" + innerText + "</a>"; + } + + var headers = $(settings.headers).filter(function() { + // get all headers with an ID + var previousSiblingName = $(this).prev().attr( "name" ); + if (!this.id && previousSiblingName) { + this.id = $(this).attr( "id", previousSiblingName.replace(/\./g, "-") ); + } + return this.id; + }), output = $(this); + if (!headers.length || headers.length < settings.minimumHeaders || !output.length) { + $(this).hide(); + return; + } + + if (0 === settings.showSpeed) { + settings.showEffect = 'none'; + } + + var render = { + show: function() { output.hide().html(html).show(settings.showSpeed); }, + slideDown: function() { output.hide().html(html).slideDown(settings.showSpeed); }, + fadeIn: function() { output.hide().html(html).fadeIn(settings.showSpeed); }, + none: function() { output.html(html); } + }; + + var get_level = function(ele) { return parseInt(ele.nodeName.replace("H", ""), 10); }; + var highest_level = headers.map(function(_, ele) { return get_level(ele); }).get().sort()[0]; + var return_to_top = '<i class="icon-arrow-up back-to-top"> </i>'; + + var level = get_level(headers[0]), + this_level, + html = settings.title + " <" +settings.listType + " class=\"" + settings.classes.list +"\">"; + headers.on('click', function() { + if (!settings.noBackToTopLinks) { + window.location.hash = this.id; + } + }) + .addClass('clickable-header') + .each(function(_, header) { + this_level = get_level(header); + if (!settings.noBackToTopLinks && this_level === highest_level) { + $(header).addClass('top-level-header').after(return_to_top); + } + if (this_level === level) // same level as before; same indenting + html += "<li class=\"" + settings.classes.item + "\">" + createLink(header); + else if (this_level <= level){ // higher level than before; end parent ol + for(i = this_level; i < level; i++) { + html += "</li></"+settings.listType+">" + } + html += "<li class=\"" + settings.classes.item + "\">" + createLink(header); + } + else if (this_level > level) { // lower level than before; expand the previous to contain a ol + for(i = this_level; i > level; i--) { + html += "<" + settings.listType + " class=\"" + settings.classes.list +"\">" + + "<li class=\"" + settings.classes.item + "\">" + } + html += createLink(header); + } + level = this_level; // update for the next one + }); + html += "</"+settings.listType+">"; + if (!settings.noBackToTopLinks) { + $(document).on('click', '.back-to-top', function() { + $(window).scrollTop(0); + window.location.hash = ''; + }); + } + + render[settings.showEffect](); + }; +})(jQuery); Propchange: zeppelin/site/docs/0.7.2/assets/themes/zeppelin/js/toc.js ------------------------------------------------------------------------------ svn:executable = * Added: zeppelin/site/docs/0.7.2/atom.xml URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/atom.xml?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/atom.xml (added) +++ zeppelin/site/docs/0.7.2/atom.xml Tue Jun 13 16:55:32 2017 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + + <title>Apache Zeppelin</title> + <link href="http://zeppelin.apache.org/" rel="self"/> + <link href="http://zeppelin.apache.org"/> + <updated>2017-06-13T09:39:27-07:00</updated> + <id>http://zeppelin.apache.org</id> + <author> + <name>The Apache Software Foundation</name> + <email>d...@zeppelin.apache.org</email> + </author> + + + +</feed> Added: zeppelin/site/docs/0.7.2/development/howtocontribute.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.2/development/howtocontribute.html?rev=1798613&view=auto ============================================================================== --- zeppelin/site/docs/0.7.2/development/howtocontribute.html (added) +++ zeppelin/site/docs/0.7.2/development/howtocontribute.html Tue Jun 13 16:55:32 2017 @@ -0,0 +1,336 @@ + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Apache Zeppelin 0.7.2 Documentation: Contributing to Apache Zeppelin (Code)</title> + <meta name="description" content="How can you contribute to Apache Zeppelin project? This document covers from setting up your develop environment to making a pull request on Github."> + <meta name="author" content="The Apache Software Foundation"> + + <!-- Enable responsive viewport --> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> + + <!-- Le styles --> + <link href="/docs/0.7.2/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet"> + <link href="/docs/0.7.2/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css"> + <link href="/docs/0.7.2/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" /> + <!-- Le fav and touch icons --> + <!-- Update these with your own images + <link rel="shortcut icon" href="images/favicon.ico"> + <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> + <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> + --> + + <!-- Js --> + <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/js/docs.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/js/anchor.min.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/js/toc.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/js/lunr.min.js"></script> + <script src="/docs/0.7.2/assets/themes/zeppelin/js/search.js"></script> + + <!-- atom & rss feed --> + <link href="/docs/0.7.2/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed"> + <link href="/docs/0.7.2/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed"> + </head> + + <body> + + <div id="menu" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <div class="navbar-brand"> + <a class="navbar-brand-main" href="http://zeppelin.apache.org"> + <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin"> + <span style="vertical-align:middle">Zeppelin</span> + </a> + <a class="navbar-brand-version" href="/docs/0.7.2"> + <span><small>0.7.2</small></span> + </a> + </div> + </div> + <nav class="navbar-collapse collapse" role="navigation"> + <ul class="nav navbar-nav"> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Quick Start <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.7.2/index.html">What is Apache Zeppelin ?</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Getting Started</b><span></li> + <li><a href="/docs/0.7.2/install/install.html">Install</a></li> + <li><a href="/docs/0.7.2/install/configuration.html">Configuration</a></li> + <li><a href="/docs/0.7.2/quickstart/explorezeppelinui.html">Explore Zeppelin UI</a></li> + <li><a href="/docs/0.7.2/quickstart/tutorial.html">Tutorial</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Basic Feature Guide</b><span></li> + <li><a href="/docs/0.7.2/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.7.2/manual/publish.html">Publish your Paragraph</a></li> + <li><a href="/docs/0.7.2/manual/notebookashomepage.html">Customize Zeppelin Homepage</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>More</b><span></li> + <li><a href="/docs/0.7.2/install/upgrade.html">Upgrade Zeppelin Version</a></li> + <li><a href="/docs/0.7.2/install/build.html">Build from source</a></li> + <li><a href="/docs/0.7.2/quickstart/install_with_flink_and_spark_cluster.html">Install Zeppelin with Flink and Spark Clusters Tutorial</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Interpreter <b class="caret"></b></a> + <ul class="dropdown-menu scrollable-menu"> + <li><a href="/docs/0.7.2/manual/interpreters.html">Overview</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Usage</b><span></li> + <li><a href="/docs/0.7.2/manual/interpreterinstallation.html">Interpreter Installation</a></li> + <!--<li><a href="/docs/0.7.2/manual/dynamicinterpreterload.html">Dynamic Interpreter Loading</a></li>--> + <li><a href="/docs/0.7.2/manual/dependencymanagement.html">Interpreter Dependency Management</a></li> + <li><a href="/docs/0.7.2/manual/userimpersonation.html">Interpreter User Impersonation</a></li> + <li><a href="/docs/0.7.2/manual/interpreterexechooks.html">Interpreter Execution Hooks (Experimental)</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Available Interpreters</b><span></li> + <li><a href="/docs/0.7.2/interpreter/alluxio.html">Alluxio</a></li> + <li><a href="/docs/0.7.2/interpreter/beam.html">Beam</a></li> + <li><a href="/docs/0.7.2/interpreter/bigquery.html">BigQuery</a></li> + <li><a href="/docs/0.7.2/interpreter/cassandra.html">Cassandra</a></li> + <li><a href="/docs/0.7.2/interpreter/elasticsearch.html">Elasticsearch</a></li> + <li><a href="/docs/0.7.2/interpreter/flink.html">Flink</a></li> + <li><a href="/docs/0.7.2/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.7.2/interpreter/hbase.html">HBase</a></li> + <li><a href="/docs/0.7.2/interpreter/hdfs.html">HDFS</a></li> + <li><a href="/docs/0.7.2/interpreter/hive.html">Hive</a></li> + <li><a href="/docs/0.7.2/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.7.2/interpreter/jdbc.html">JDBC</a></li> + <li><a href="/docs/0.7.2/interpreter/kylin.html">Kylin</a></li> + <li><a href="/docs/0.7.2/interpreter/lens.html">Lens</a></li> + <li><a href="/docs/0.7.2/interpreter/livy.html">Livy</a></li> + <li><a href="/docs/0.7.2/interpreter/markdown.html">Markdown</a></li> + <li><a href="/docs/0.7.2/interpreter/pig.html">Pig</a></li> + <li><a href="/docs/0.7.2/interpreter/python.html">Python</a></li> + <li><a href="/docs/0.7.2/interpreter/postgresql.html">Postgresql, HAWQ</a></li> + <li><a href="/docs/0.7.2/interpreter/r.html">R</a></li> + <li><a href="/docs/0.7.2/interpreter/scalding.html">Scalding</a></li> + <li><a href="/docs/0.7.2/interpreter/scio.html">Scio</a></li> + <li><a href="/docs/0.7.2/interpreter/shell.html">Shell</a></li> + <li><a href="/docs/0.7.2/interpreter/spark.html">Spark</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Display System <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li class="title"><span><b>Basic Display System</b><span></li> + <li><a href="/docs/0.7.2/displaysystem/basicdisplaysystem.html#text">Text</a></li> + <li><a href="/docs/0.7.2/displaysystem/basicdisplaysystem.html#html">Html</a></li> + <li><a href="/docs/0.7.2/displaysystem/basicdisplaysystem.html#table">Table</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Angular API</b><span></li> + <li><a href="/docs/0.7.2/displaysystem/back-end-angular.html">Angular (backend API)</a></li> + <li><a href="/docs/0.7.2/displaysystem/front-end-angular.html">Angular (frontend API)</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">More<b class="caret"></b></a> + <ul class="dropdown-menu scrollable-menu" style="right: 0; left: auto;"> + <li class="title"><span><b>Notebook Storage</b><span></li> + <li><a href="/docs/0.7.2/storage/storage.html#notebook-storage-in-local-git-repository">Git Storage</a></li> + <li><a href="/docs/0.7.2/storage/storage.html#notebook-storage-in-s3">S3 Storage</a></li> + <li><a href="/docs/0.7.2/storage/storage.html#notebook-storage-in-azure">Azure Storage</a></li> + <li><a href="/docs/0.7.2/storage/storage.html#storage-in-zeppelinhub">ZeppelinHub Storage</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>REST API</b><span></li> + <li><a href="/docs/0.7.2/rest-api/rest-interpreter.html">Interpreter API</a></li> + <li><a href="/docs/0.7.2/rest-api/rest-notebook.html">Notebook API</a></li> + <li><a href="/docs/0.7.2/rest-api/rest-notebookRepo.html">Notebook Repository API</a></li> + <li><a href="/docs/0.7.2/rest-api/rest-configuration.html">Configuration API</a></li> + <li><a href="/docs/0.7.2/rest-api/rest-credential.html">Credential API</a></li> + <li><a href="/docs/0.7.2/rest-api/rest-helium.html">Helium API</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Security</b><span></li> + <li><a href="/docs/0.7.2/security/shiroauthentication.html">Shiro Authentication</a></li> + <li><a href="/docs/0.7.2/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.7.2/security/datasource_authorization.html">Data Source Authorization</a></li> + <li><a href="/docs/0.7.2/security/helium_authorization.html">Helium Authorization</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Advanced</b><span></li> + <li><a href="/docs/0.7.2/install/virtual_machine.html">Zeppelin on Vagrant VM</a></li> + <li><a href="/docs/0.7.2/install/spark_cluster_mode.html#spark-standalone-mode">Zeppelin on Spark Cluster Mode (Standalone)</a></li> + <li><a href="/docs/0.7.2/install/spark_cluster_mode.html#spark-on-yarn-mode">Zeppelin on Spark Cluster Mode (YARN)</a></li> + <li><a href="/docs/0.7.2/install/spark_cluster_mode.html#spark-on-mesos-mode">Zeppelin on Spark Cluster Mode (Mesos)</a></li> + <li><a href="/docs/0.7.2/install/cdh.html">Zeppelin on CDH</a></li> + <li role="separator" class="divider"></li> + <li class="title"><span><b>Contibute</b><span></li> + <li><a href="/docs/0.7.2/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> + <li><a href="/docs/0.7.2/development/writingzeppelinvisualization.html">Writing Zeppelin Visualization (Experimental)</a></li> + <li><a href="/docs/0.7.2/development/writingzeppelinapplication.html">Writing Zeppelin Application (Experimental)</a></li> + <li><a href="/docs/0.7.2/development/howtocontribute.html">How to contribute (code)</a></li> + <li><a href="/docs/0.7.2/development/howtocontributewebsite.html">How to contribute (website)</a></li> + </ul> + </li> + <li> + <a href="/docs/0.7.2/search.html" class="nav-search-link"> + <span class="fa fa-search nav-search-icon"></span> + </a> + </li> + </ul> + </nav><!--/.navbar-collapse --> + </div> + </div> + + + + <div class="content"> + +<!--<div class="hero-unit Contributing to Apache Zeppelin (Code)"> + <h1></h1> +</div> +--> + +<div class="row"> + <div class="col-md-12"> + <!-- +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<h1>Contributing to Apache Zeppelin ( Code )</h1> + +<div id="toc"></div> + +<blockquote> +<p><strong>NOTE :</strong> Apache Zeppelin is an <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2 License</a> Software. +Any contributions to Zeppelin (Source code, Documents, Image, Website) means you agree with license all your contributions as Apache2 License.</p> +</blockquote> + +<h2>Setting up</h2> + +<p>Here are some tools you will need to build and test Zeppelin.</p> + +<h4>Software Configuration Management ( SCM )</h4> + +<p>Since Zeppelin uses Git for it's SCM system, you need git client installed in your development machine.</p> + +<h4>Integrated Development Environment ( IDE )</h4> + +<p>You are free to use whatever IDE you prefer, or your favorite command line editor.</p> + +<h4>Build Tools</h4> + +<p>To build the code, install</p> + +<ul> +<li>Oracle Java 7</li> +<li>Apache Maven</li> +</ul> + +<h2>Getting the source code</h2> + +<p>First of all, you need Zeppelin source code. The official location of Zeppelin is <a href="http://git.apache.org/zeppelin.git">http://git.apache.org/zeppelin.git</a>.</p> + +<h3>git access</h3> + +<p>Get the source code on your development machine using git.</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">git clone git://git.apache.org/zeppelin.git zeppelin +</code></pre></div> +<p>You may also want to develop against a specific branch. For example, for branch-0.5.6</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">git clone -b branch-0.5.6 git://git.apache.org/zeppelin.git zeppelin +</code></pre></div> +<p>Apache Zeppelin follows <a href="https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/Development-workflow-with-Git:-Fork,-Branching,-Commits,-and-Pull-Request">Fork & Pull</a> as a source control workflow. +If you want to not only build Zeppelin but also make any changes, then you need to fork <a href="https://github.com/apache/zeppelin">Zeppelin github mirror repository</a> and make a pull request.</p> + +<h3>Build</h3> +<div class="highlight"><pre><code class="text language-text" data-lang="text">mvn install +</code></pre></div> +<p>To skip test</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">mvn install -DskipTests +</code></pre></div> +<p>To build with specific spark / hadoop version</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">mvn install -Dspark.version=x.x.x -Dhadoop.version=x.x.x +</code></pre></div> +<p>For the further </p> + +<h3>Run Zeppelin server in development mode</h3> +<div class="highlight"><pre><code class="text language-text" data-lang="text">cd zeppelin-server +HADOOP_HOME=YOUR_HADOOP_HOME JAVA_HOME=YOUR_JAVA_HOME mvn exec:java -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" -Dexec.args="" +</code></pre></div> +<blockquote> +<p><strong>Note:</strong> Make sure you first run <code>mvn clean install -DskipTests</code> on your zeppelin root directory, otherwise your server build will fail to find the required dependencies in the local repro.</p> +</blockquote> + +<p>or use daemon script</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">bin/zeppelin-daemon start +</code></pre></div> +<p>Server will be run on <a href="http://localhost:8080">http://localhost:8080</a>.</p> + +<h3>Generating Thrift Code</h3> + +<p>Some portions of the Zeppelin code are generated by <a href="http://thrift.apache.org">Thrift</a>. For most Zeppelin changes, you don't need to worry about this. But if you modify any of the Thrift IDL files (e.g. zeppelin-interpreter/src/main/thrift/*.thrift), then you also need to regenerate these files and submit their updated version as part of your patch.</p> + +<p>To regenerate the code, install <strong>thrift-0.9.2</strong> and then run the following command to generate thrift code.</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">cd <zeppelin_home>/zeppelin-interpreter/src/main/thrift +./genthrift.sh +</code></pre></div> +<h2>Where to Start</h2> + +<p>You can find issues for <a href="https://issues.apache.org/jira/browse/ZEPPELIN-981?jql=project%20%3D%20ZEPPELIN%20AND%20labels%20in%20(beginner%2C%20newbie)">beginner & newbie</a></p> + +<h2>Stay involved</h2> + +<p>Contributors should join the Zeppelin mailing lists.</p> + +<ul> +<li><a href="http://mail-archives.apache.org/mod_mbox/zeppelin-dev/">d...@zeppelin.apache.org</a> is for people who want to contribute code to Zeppelin. <a href="mailto:dev-subscr...@zeppelin.apache.org?subject=send%20this%20email%20to%20subscribe">subscribe</a>, <a href="mailto:dev-unsubscr...@zeppelin.apache.org?subject=send%20this%20email%20to%20unsubscribe">unsubscribe</a>, <a href="http://mail-archives.apache.org/mod_mbox/zeppelin-dev/">archives</a></li> +</ul> + +<p>If you have any issues, create a ticket in <a href="https://issues.apache.org/jira/browse/ZEPPELIN">JIRA</a>.</p> + + </div> +</div> + + + <hr> + <footer> + <!-- <p>© 2017 The Apache Software Foundation</p>--> + </footer> + </div> + + + + + <script type="text/javascript"> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-45176241-5', 'zeppelin.apache.org'); + ga('require', 'linkid', 'linkid.js'); + ga('send', 'pageview'); + +</script> + + + + </body> +</html> +