{"id":40465,"date":"2016-10-26T15:08:11","date_gmt":"2016-10-26T09:38:11","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=40465"},"modified":"2016-10-27T10:13:24","modified_gmt":"2016-10-27T04:43:24","slug":"configuring-grails-3-application-with-ascii-docs","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/","title":{"rendered":"Configuring Grails 3 application with ASCII Docs"},"content":{"rendered":"<p>Documentation is a very important aspect\u00a0in any <a title=\"Product Engineering Consulting\" href=\"http:\/\/www.tothenew.com\/product-engineering\">software development<\/a> project because it helps us to understand how our software application works.<\/p>\n<p>Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly <a title=\"Grails Development\" href=\"http:\/\/www.tothenew.com\/grails-application-development\">Grails 3 plugins<\/a> are hosted on Github which gives you power of creating your own documentation and publish the same over Github. There are several ways of creating documentation, such as:<\/p>\n<ul>\n<li>Grails Docs<\/li>\n<li>ASCII Docs<\/li>\n<li>GitHub pages etc.<\/li>\n<\/ul>\n<p>Today, we are going to see how we can configure Grails 3 project to build, publish documentation over Github.<\/p>\n<h4>Configure Grails 3 project to build, publish documentation over Github<\/h4>\n<p>So, let&#8217;s first create a basic Grails 3 application using:<\/p>\n<p>[sourcecode]<br \/>\n\tgrails create-app helloDocumentation<br \/>\n[\/sourcecode]<\/p>\n<p>This will create a Grails 3 application. Now, open <code>build.gradle<\/code> and add following plugin under buildscript dependency block:<\/p>\n<p>[sourcecode language=&#8221;groovy&#8221;]<\/p>\n<p>\tclasspath &#8216;org.asciidoctor:asciidoctor-gradle-plugin:1.5.3&#8217;<br \/>\n    classpath &#8216;org.ajoberstar:gradle-git:1.4.2&#8217;<\/p>\n<p>[\/sourcecode]<\/p>\n<p><code>asciidoc-gradle-plugin<\/code> adds a task <strong>asciidoctor<\/strong>. You can configure this task as per your need. Read <a href=\"http:\/\/asciidoctor.org\/docs\/asciidoctor-gradle-plugin\/\">here<\/a> more about configuration.<\/p>\n<p><code>gradle-git<\/code> will add a set of gradle plugins such as:<\/p>\n<ul>\n<li><code>org.ajoberstar.grgit<\/code> &#8211; provides a Grgit instance, allowing interaction with the Git repository the Gradle project is contained in<\/li>\n<li><code>org.ajoberstar.github-pages<\/code> &#8211; publishes files to the gh-pages branch of a Github repository<\/li>\n<li><code>org.ajoberstar.release-base<\/code> &#8211; general structure for inferring a project version and releasing it<\/li>\n<li><code>org.ajoberstar.release-opinion<\/code> &#8211; opinionated defaults for <code>org.ajoberstar.release-base<\/code><\/li>\n<\/ul>\n<p>But, we will only be using <code>org.ajoberstar.github-pages<\/code> to publish the documentation to Github.<\/p>\n<p>Now, create a file <code>documentation.gradle<\/code> under <em>\/gradle\/documentation.gradle<\/em> here we will define gradle tasks to generate documentation. Following is the content of file:<\/p>\n<p>[sourcecode language=&#8221;groovy&#8221;]<\/p>\n<p>buildscript {<br \/>\n    repositories {<br \/>\n        maven { url &#8216;https:\/\/repo.grails.org\/grails\/core&#8217; }<br \/>\n    }<br \/>\n    dependencies {<br \/>\n        classpath &#8216;org.asciidoctor:asciidoctor-gradle-plugin:1.5.3&#8217;<br \/>\n        classpath &#8216;org.asciidoctor:asciidoctorj-epub3:1.5.0-alpha.6&#8217;<br \/>\n        classpath &#8216;org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.11&#8217;<br \/>\n    }<br \/>\n}<\/p>\n<p>apply plugin: &#8216;org.asciidoctor.convert&#8217;<\/p>\n<p>def asciidoctorAttributes = [<br \/>\n        copyright           : &#8216;Apache License, Version 2.0&#8217;,<br \/>\n        docinfo1            : &#8216;true&#8217;,<br \/>\n        doctype             : &#8216;book&#8217;,<br \/>\n        encoding            : &#8216;utf-8&#8217;,<br \/>\n        icons               : &#8216;font&#8217;,<br \/>\n        id                  : project.name + &#8216;:&#8217; + project.version,<br \/>\n        idprefix            : &#8221;,<br \/>\n        idseparator         : &#8216;-&#8216;,<br \/>\n        lang                : &#8216;en&#8217;,<br \/>\n        linkattrs           : true,<br \/>\n        numbered            : &#8221;,<br \/>\n        producer            : &#8216;Asciidoctor&#8217;,<br \/>\n        revnumber           : project.version,<br \/>\n        setanchors          : true,<br \/>\n        &#8216;source-highlighter&#8217; : &#8216;prettify&#8217;,<br \/>\n        toc                 : &#8216;left&#8217;,<br \/>\n        toc2                : &#8221;,<br \/>\n        toclevels           : &#8216;2&#8217;,<br \/>\n        grailsVersion       : project.grailsVersion<br \/>\n]<\/p>\n<p>import org.asciidoctor.gradle.AsciidoctorTask<\/p>\n<p>tasks.withType(AsciidoctorTask) {<br \/>\n    attributes asciidoctorAttributes<br \/>\n    outputDir new File(buildDir, &#8216;docs\/docs&#8217;)<br \/>\n    separateOutputDirs = false<br \/>\n    sourceDir = file(&#8216;src\/docs&#8217;)<br \/>\n    sources {<br \/>\n        include &#8216;index.adoc&#8217;<br \/>\n        include &#8216;ref\/index.adoc&#8217;<br \/>\n    }<br \/>\n}<\/p>\n<p>task asciidoc(type: AsciidoctorTask, description: &#8216;Generates single-page HTML and PDF&#8217;) {<br \/>\n    backends &#8216;html5&#8217;, &#8216;pdf&#8217;<br \/>\n}<\/p>\n<p>task docs(dependsOn: [asciidoc]) &lt;&lt; {<br \/>\n    File dir = new File(buildDir, &#8216;docs\/docs&#8217;)<br \/>\n    [&#8216;pdf&#8217;].each { String ext -&gt;<br \/>\n        File f = new File(dir, &#8216;index.&#8217; + ext)<br \/>\n        if (f.exists()) {<br \/>\n            f.renameTo new File(dir, project.name + &#8216;-&#8216; + project.version + &#8216;.&#8217; + ext)<br \/>\n        }<br \/>\n    }<\/p>\n<p>    File quickRefDir = new File(buildDir, &#8216;docs\/docs\/ref&#8217;)<br \/>\n    [&#8216;pdf&#8217;].each { String ext -&gt;<br \/>\n        File f = new File(quickRefDir, &#8216;index.&#8217; + ext)<br \/>\n        if (f.exists()) {<br \/>\n            f.renameTo new File(quickRefDir, project.name + &#8216;-&#8216; + project.version + &#8216;-&#8216; + &#8216;quickReference&#8217; + &#8216;.&#8217; + ext)<br \/>\n        }<br \/>\n    }<\/p>\n<p>    File ghpages = new File(buildDir, &#8216;docs\/index.html&#8217;)<br \/>\n    if (ghpages.exists()) {<br \/>\n        ghpages.delete()<br \/>\n    }<br \/>\n    ghpages &lt;&lt; file(&#8216;src\/docs\/index.tmpl&#8217;).text.replaceAll(&#8216;@VERSION@&#8217;, project.version)<\/p>\n<p>    copy {<br \/>\n        from &#8216;src\/docs&#8217;<br \/>\n        into new File(buildDir, &#8216;docs&#8217;).path<br \/>\n        include &#8216;**\/*.png&#8217;<br \/>\n    }<br \/>\n}<\/p>\n<p>[\/sourcecode]<\/p>\n<p>Though, one could have this in single <code>build.gradle<\/code> file but I like to keep them organized in different files. So, in <em>documentation.gradle<\/em> we defined following:<\/p>\n<ul>\n<li>Some basic ASCII Docs attributes<\/li>\n<li>Output and Source directory<\/li>\n<li>Which files to include<\/li>\n<li>Type of docs, such as &#8211; single page html and pdf<\/li>\n<li>Template to use for index.html (i.e. index.tmpl)<\/li>\n<\/ul>\n<p>So far, we have logic in place to generate documentation but we still need to configure task to publish it over GitHub. Now, create a new file named <em>\/gradle\/publish.gradle<\/em> with following content:<\/p>\n<p>[sourcecode language=&#8221;groovy&#8221;]<br \/>\n\/\/ Publish gh-pages on github<br \/>\napply plugin: &quot;org.ajoberstar.github-pages&quot;<\/p>\n<p>ext {<br \/>\n    githubApiKey = System.getProperty(&#8216;githubApiKey&#8217;)<br \/>\n}<\/p>\n<p>githubPages {<br \/>\n    repoUri = &#8216;https:\/\/github.com\/&lt;GIT_HUB_SLUG&gt;&#8217;<\/p>\n<p>    credentials {<br \/>\n        username = project.hasProperty(&#8216;githubApiKey&#8217;) ? project.githubApiKey : &#8221;<br \/>\n        password = &#8221;<br \/>\n    }<\/p>\n<p>    pages {<br \/>\n        from &quot;${buildDir}\/docs&quot;<br \/>\n    }<br \/>\n}<\/p>\n<p>task publishDocs(dependsOn: [docs, publishGhPages]) &lt;&lt; {<\/p>\n<p>}<br \/>\n[\/sourcecode]<\/p>\n<p>Basically, here we need permission for publishing to GitHub, so you need to define <code>githubApiKey<\/code> under System properties with your own API key. And you can generate the API Key <a href=\"https:\/\/github.com\/settings\/tokens\" target=\"_blank\">here<\/a>. Otherwise, it will ask you to enter your GitHub username and password everytime you run <code>gradle publishDocs<\/code>.<\/p>\n<p>Finally, the last thing remaining is to include both of these gradle files into main <em>build.gradle<\/em> as follows:<\/p>\n<p>[sourcecode language=&#8221;groovy&#8221;]<br \/>\napply from: &quot;gradle\/documentation.gradle&quot;<br \/>\napply from: &quot;gradle\/publish.gradle&quot;<br \/>\n[\/sourcecode]<\/p>\n<p>Hope this helps, I will write another blog about how to create ASCII Docs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Documentation is a very important aspect\u00a0in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins [&hellip;]<\/p>\n","protected":false},"author":57,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":4,"footnotes":""},"categories":[7,1],"tags":[4139,4140,1511,4840,3219],"class_list":["post-40465","post","type-post","status-publish","format-standard","hentry","category-grails","category-technology","tag-ascii-docs","tag-documentation","tag-gradle","tag-grails","tag-grails-3"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Puneet Behl\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#article\",\"name\":\"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog\",\"headline\":\"Configuring Grails 3 application with ASCII Docs\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/puneet-behl\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2016-10-26T15:08:11+05:30\",\"dateModified\":\"2016-10-27T10:13:24+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#webpage\"},\"articleSection\":\"Grails, Technology, ASCII Docs, Documentation, gradle, Grails, Grails 3\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#listItem\",\"name\":\"Configuring Grails 3 application with ASCII Docs\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#listItem\",\"position\":3,\"name\":\"Configuring Grails 3 application with ASCII Docs\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/puneet-behl\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/puneet-behl\\\/\",\"name\":\"Puneet Behl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/9b6468fa-13e0-4dbc-8a73-9fa9d1ecf84e_puneet.behl@tothenew.com.jpg\",\"width\":96,\"height\":96,\"caption\":\"Puneet Behl\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/\",\"name\":\"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog\",\"description\":\"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuring-grails-3-application-with-ascii-docs\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/puneet-behl\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/puneet-behl\\\/#author\"},\"datePublished\":\"2016-10-26T15:08:11+05:30\",\"dateModified\":\"2016-10-27T10:13:24+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog","description":"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins","canonical_url":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#article","name":"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog","headline":"Configuring Grails 3 application with ASCII Docs","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/puneet-behl\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2016-10-26T15:08:11+05:30","dateModified":"2016-10-27T10:13:24+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#webpage"},"articleSection":"Grails, Technology, ASCII Docs, Documentation, gradle, Grails, Grails 3"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#listItem","name":"Configuring Grails 3 application with ASCII Docs"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#listItem","position":3,"name":"Configuring Grails 3 application with ASCII Docs","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/puneet-behl\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/puneet-behl\/","name":"Puneet Behl","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/9b6468fa-13e0-4dbc-8a73-9fa9d1ecf84e_puneet.behl@tothenew.com.jpg","width":96,"height":96,"caption":"Puneet Behl"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/","name":"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog","description":"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/puneet-behl\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/puneet-behl\/#author"},"datePublished":"2016-10-26T15:08:11+05:30","dateModified":"2016-10-27T10:13:24+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog","og:description":"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins","og:url":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Configuring Grails 3 application with ASCII Docs | TO THE NEW Blog","twitter:description":"Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report. Mostly Grails 3 plugins","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"40465","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:07:38","updated":"2024-02-29 09:04:14","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tConfiguring Grails 3 application with ASCII Docs\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"Configuring Grails 3 application with ASCII Docs","link":"https:\/\/www.tothenew.com\/blog\/configuring-grails-3-application-with-ascii-docs\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/40465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=40465"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/40465\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=40465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=40465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=40465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}