<commit_before>var WebDocs;
(function(WebDocs) {
    var Models;
    (function(Models) {

        Models.Home = {
            intro: {
                title: 'Web Docs: KnockoutJS version',
                subtitle: 'A modern, responsive front-end theme for documentation, built using Twitter Bootstrap and KnockoutJS',
                author: '<NAME>',
                createdOn: 'April 2, 2015'
            },
            chapters: [
            {
                title: "Introduction",
                classes: "",
                id: "introduction",
                href: "#introduction",
                content: ''+
                    '<p>' +
                       '<kbd>WebDocs</kbd> is a <b>modern, responsive front-end theme for documentation</b>, built using <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a>. This version '+
                       'uses <a href="http://knockoutjs.com/" target="_blank">KnockoutJS</a> for <b>two-way data binding</b> and has an easy-to-use <b>spy-scroll navigation</b>.' +
                    '<p>' +

                    '<p>' +
                        'It is very useful if you need to have your own well written, easy-to-read and navigate documentation on a website thus simply accessed using a web browser. It is perfect '+
                        'if you need to move it around by copy/pasting the files, not worrying about the back-end. Because <b>this theme uses only front-end technologies such as HTML, CSS and JavaScript</b>.' +
                    '</p>' +

                    '<div class="alert alert-info" role="alert">'+
                        '<b>DISCLAIMER!</b> This theme was originally intended for those that do understand at least the basics of JavaScript and do know how to edit ' +
                        'a JSON structure, so you might want to consider if it fits you before you start using it.' +
                    '</div>'
                    ,
                items: [
                    {
                        title: "Motivation For Creating WebDocs",
                        classes: "",
                        id: "motivation",
                        href: "#motivation",
                        content: ''+
                            '<p>' +
                                'There is no better feeling when a project is done and sent to production. However the work is not properly done until the documentation for that project is finished ' +
                                'as well. So what\'s left is to start writing and documenting, right? ' + 
                            '</p>' +

                            '<p>' +
                                'But when was the last time you saw a really well written and styled documentation at your company? ' +
                                'Is there any specific way of writing the documentation set or do you just open a text editor and start writing as you fit to be right? Do you choose your own layout or do you have any ' +
                                'layout prepared ahead just for you to re-use? Or, in case you are a code developer, is it enough to document your code directly in your code using comments? ' +
                                'Does the documentation have to be saved in a Word or Open Office document or does it have to be available on a website?' +
                            '</p>' +

                            '<p>' +
                                'Those are all questions I was asking myself many times before I started writing my documentation. <b>Then I saw the '+
                                '<a href="http://getbootstrap.com/getting-started/">Twitter Bootstrap</a> web documentation</b> and decided that whenever my hands will be free to choose any form of ' +
                                'documentation layout I\'ll simply go for the <b>web documentation</b> with a nice <b>spy-scroll functionality</b> and '+
                                '<a href="http://getbootstrap.com/components/" target="_blank">CSS components</a> that make reading much easier and interesting. ' +                                
                            '</p>' +

                            '<p>' +
                                'Then I decided to create a web theme that I will be able to re-use every time I need to document something. Of course I wanted to <b>avoid dealing with CSS, HTML and ' +
                                'JavaScript every time I need to write the content</b>, so that\'s where I thought KnockoutJS will come in handy with MVVM and two-way data binding. So as a result of this ' +
                                'I can now <b>simply focus on writing the content without even thinking about the layout</b>. With <kbd>WebDocs</kbd> I simply applied well known patterns for dividing concerns. ' +
                                'And I love it. Hopefully you will find it useful as well.' +
                            '</p>' +

                            '<div class="alert alert-info" role="alert">'+
                                '<b>DISCLAIMER!</b> I understand that this version of <kbd>WebDocs</kbd> might not be perfect for everyone, because in order to edit the text content you need to <b>directly edit the JSON object in '+
                                'a static file</b>. However I believe this can be extremely helpful to others developers like me, by having a static content file with a JSON object, containing the '+
                                'structure and text. This makes it easy to move around by simply copying and pasting the files. This way <b>the web browser is everything the user needs to read your documentation</b>. ' +
                                'No Word, no OpenOffice or any other text editor needs to be installed locally on your computer. ' +
                            '</div>'


                    },
                    {
                        title: "Who is it for",
                        classes: "",
                        id: "whoIsItFor",
                        href: "#whoIsItFor",
                        content: ''+
                            '<p>'+
                                'Everyone is welcome to use this theme anywhere, for free, because it is MIT licenced. The only thing I\'d kindly ask of you if you could reference me in your '+
                                'credits section. Of course you don\'t have to, but it would make me very happy. :) However I would still like to point out that this theme was originally meant for ' +
                                'web developers as myself thus for anyone with at least some basic HTML, JavaScript and CSS knowledge. Knowing those technologies is of course NOT a must, but ' +
                                'it will be a bit easier for you to jump straight into writing your own documentation.' +
                            '<p>' +

                            '<p>'+
                                'It is perfect for those that need to move the project around by copy/pasting the files, not worrying about the back-end. Because this theme uses only front-end '+
                                'technologies such as HTML, CSS and JavaScript.' +
                            '<p>'
                    }
                ]               
            },
            {
                title: "How to use it",
                classes: "",
                id: "howToUseIt",
                href: "#howToUseIt",
                content: ''+
                    '<p>' +
                        'Using the WebDocs is really easy. Basically all you need to do is to edit the <kbd>Home.js file</kbd>. ' +
                    '</p>' +
                    '<p>' +
                        'You will find the file in the <kbd>/js/KO/Models</kbd> folder. There you\'ll see ' +
                        'a JSON data structure named <code>Home</code> representing the whole content of the final documentation. ' +
                        'This is the model that KnockoutJS binds with HTML. Using KnockoutJS templates the chapters and subchapters ' +
                        'are dinamicaly created. ' +
                    '</p>' +
                    '<p>' +
                        'The Home data model consists of two properties: <b>intro</b> and <b>chapters</b>. Let\'s examine both '+
                        'of them and see how to use them.' +
                    '</p>'
                    ,
                    
                items: [
                    {
                        title: "Intro",
                        classes: "",
                        id: "intro",
                        href: "#intro",<commit_msg>MODIFY: update trunk - see previous commit details<commit_after>var WebDocs;
(function(WebDocs) {
    var Models;
    (function(Models) {

        Models.Home = {
            intro: {
                title: 'Web Docs: KnockoutJS version',
                subtitle: 'A modern, responsive front-end theme for documentation, built using Twitter Bootstrap and KnockoutJS',
                author: '<NAME>',
                createdOn: 'April 2, 2015'
            },
            chapters: [
            {
                title: "Introduction",
                classes: "",
                id: "introduction",
                href: "#introduction",
                content: ''+
                    '<p>' +
                       '<kbd>WebDocs</kbd> is a <b>modern, responsive front-end theme for documentation</b>, built using <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a>. This version '+
                       'uses <a href="http://knockoutjs.com/" target="_blank">KnockoutJS</a> for <b>two-way data binding</b> and has an easy-to-use <b>spy-scroll navigation</b>.' +
                    '<p>' +

                    '<p>' +
                        'It is very useful if you need to have your own well written, easy-to-read and navigate documentation on a website thus simply accessed using a web browser. It is perfect '+
                        'if you need to move it around by copy/pasting the files, not worrying about the back-end. Because <b>this theme uses only front-end technologies such as HTML, CSS and JavaScript</b>.' +
                    '</p>' +

                    '<div class="alert alert-info" role="alert">'+
                        '<b>DISCLAIMER!</b> This theme was originally intended for those that do understand at least the basics of JavaScript and do know how to edit ' +
                        'a JSON structure, so you might want to consider if it fits you before you start using it.' +
                    '</div>'
                    ,
                items: [
                    {
                        title: "Motivation For Creating WebDocs",
                        classes: "",
                        id: "motivation",
                        href: "#motivation",
                        content: ''+
                            '<p>' +
                                'There is no better feeling when a project is done and sent to production. However the work is not properly done until the documentation for that project is finished ' +
                                'as well. So what\'s left is to start writing and documenting, right? ' + 
                            '</p>' +

                            '<p>' +
                                'But when was the last time you saw a really well written and styled documentation at your company? ' +
                                'Is there any specific way of writing the documentation set or do you just open a text editor and start writing as you fit to be right? Do you choose your own layout or do you have any ' +
                                'layout prepared ahead just for you to re-use? Or, in case you are a code developer, is it enough to document your code directly in your code using comments? ' +
                                'Does the documentation have to be saved in a Word or Open Office document or does it have to be available on a website?' +
                            '</p>' +

                            '<p>' +
                                'Those are all questions I was asking myself many times before I started writing my documentation. <b>Then I saw the '+
                                '<a href="http://getbootstrap.com/getting-started/">Twitter Bootstrap</a> web documentation</b> and decided that whenever my hands will be free to choose any form of ' +
                                'documentation layout I\'ll simply go for the <b>web documentation</b> with a nice <b>spy-scroll functionality</b> and '+
                                '<a href="http://getbootstrap.com/components/" target="_blank">CSS components</a> that make reading much easier and interesting. ' +                                
                            '</p>' +

                            '<p>' +
                                'Then I decided to create a web theme that I will be able to re-use every time I need to document something. Of course I wanted to <b>avoid dealing with CSS, HTML and ' +
                                'JavaScript every time I need to write the content</b>, so that\'s where I thought KnockoutJS will come in handy with MVVM and two-way data binding. So as a result of this ' +
                                'I can now <b>simply focus on writing the content without even thinking about the layout</b>. With <kbd>WebDocs</kbd> I simply applied well known patterns for dividing concerns. ' +
                                'And I love it. Hopefully you will find it useful as well.' +
                            '</p>' +

                            '<div class="alert alert-info" role="alert">'+
                                '<b>DISCLAIMER!</b> I understand that this version of <kbd>WebDocs</kbd> might not be perfect for everyone, because in order to edit the text content you need to <b>directly edit the JSON object in '+
                                'a static file</b>. However I believe this can be extremely helpful to others developers like me, by having a static content file with a JSON object, containing the '+
                                'structure and text. This makes it easy to move around by simply copying and pasting the files. This way <b>the web browser is everything the user needs to read your documentation</b>. ' +
                                'No Word, no OpenOffice or any other text editor needs to be installed locally on your computer. ' +
                            '</div>'


                    },
                    {
                        title: "Who is it for",
                        classes: "",
                        id: "whoIsItFor",
                        href: "#whoIsItFor",
                        content: ''+
                            '<p>'+
                                'Everyone is welcome to use this theme anywhere, for free, because it is MIT licenced. The only thing I\'d kindly ask of you if you could reference me in your '+
                                'credits section. Of course you don\'t have to, but it would make me very happy. :) However I would still like to point out that this theme was originally meant for ' +
                                'web developers as myself thus for anyone with at least some basic HTML, JavaScript and CSS knowledge. Knowing those technologies is of course NOT a must, but ' +
                                'it will be a bit easier for you to jump straight into writing your own documentation.' +
                            '<p>' +

                            '<p>'+
                                'It is perfect for those that need to move the project around by copy/pasting the files, not worrying about the back-end. Because this theme uses only front-end '+
                                'technologies such as HTML, CSS and JavaScript.' +
                            '<p>'
                    }
                ]               
            },
            {
                title: "How to use it",
                classes: "",
                id: "howToUseIt",
                href: "#howToUseIt",
                content: ''+
                    '<p>' +
                        'Using the WebDocs is really easy. Basically all you need to do is to download the WebDocs source from my '+
                        '<a href="https://github.com/AlexRebula/WebDocs" target="_blank">WebDocs Github repository</a> and edit the <kbd>Home.js file</kbd>. ' +
                        'In just a few words this is it.' +
                    '</p>' +
                    '<p>' +
                        'You will find the file in the <kbd>/js/KO/Models</kbd> folder. There you\'ll see ' +
                        'a JSON data structure named <code>Home</code> representing the whole content of the final documentation. ' +
                        'This is the model that KnockoutJS binds with HTML. Using KnockoutJS templates the chapters and subchapters ' +
                        'are dinamicaly created. ' +
                    '</p>' +
                    '<p>' +
                        'The Home data model consists of two properties: <b>intro</b> and <b>chapters</b>. Let\'s examine both '+
                        'of them and see how to use them.' +
                    '</p>'
                    ,
                    
                items: [
                    {
                        title: "Intro",
                        classes: "",
                        id: "intro",
                        href: "#intro",
{'fraction_non_alphanumeric': 0.08053615039472937, 'fraction_numerical': 0.0005679559266200943, 'mean_word_length': 1.324795352521785, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 25, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6944083', 'n_tokens_mistral': 4099, 'n_tokens_neox': 3837, 'n_words': 1811}