{"id":691,"date":"2024-03-22T14:17:52","date_gmt":"2024-03-22T12:17:52","guid":{"rendered":"https:\/\/www.index.fi\/?page_id=691"},"modified":"2026-06-25T21:45:37","modified_gmt":"2026-06-25T18:45:37","slug":"dita-docs-as-code","status":"publish","type":"page","link":"https:\/\/www.index.fi\/en\/tietopankki\/dita-docsascode\/","title":{"rendered":"DITA Docs as Code"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling no-bottom-margin\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-top-medium:80px;--awb-padding-bottom-medium:80px;--awb-margin-bottom-medium:80px;--awb-margin-bottom-small:60px;--awb-background-color:var(--awb-custom_color_2);--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-stretch fusion-flex-content-wrap\" style=\"max-width:calc( 1200px + 30px );margin-left: calc(-30px \/ 2 );margin-right: calc(-30px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-padding-top:90px;--awb-padding-right:40px;--awb-padding-left:40px;--awb-bg-color:var(--awb-custom_color_2);--awb-bg-color-hover:var(--awb-custom_color_2);--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:10px;--awb-margin-bottom-large:0px;--awb-spacing-left-large:15px;--awb-width-medium:33.333333333333%;--awb-spacing-right-medium:10px;--awb-spacing-left-medium:15px;--awb-width-small:100%;--awb-spacing-right-small:15px;--awb-margin-bottom-small:30px;--awb-spacing-left-small:15px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><i class=\"fb-icon-element-1 fb-icon-element fontawesome-icon classic-thumbs-up-regular circle-no\" style=\"--awb-iconcolor:var(--awb-color4);--awb-iconcolor-hover:var(--awb-color4);--awb-font-size:72px;--awb-align-self:center;--awb-margin-top:0px;--awb-margin-right:0px;--awb-margin-bottom:30px;--awb-margin-left:0px;\"><\/i><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-text fusion-title-size-one\" style=\"--awb-text-color:#ffffff;--awb-margin-bottom:30px;--awb-margin-top-small:10px;--awb-margin-right-small:0px;--awb-margin-bottom-small:10px;--awb-margin-left-small:0px;\"><h1 class=\"fusion-title-heading title-heading-left\" style=\"margin:0;\">How to Integrate DITA with Docs as Code: A Guide to Agile Technical Documentation<\/h1><\/div><div class=\"fusion-text fusion-text-1 fusion-text-no-margin\" style=\"--awb-content-alignment:center;--awb-text-color:#ffffff;--awb-margin-bottom:5%;\"><p style=\"text-align: left;\"><strong>What is Docs as Code?<\/strong><\/p>\n<p style=\"text-align: left;\">A typical problem with documentation is that it lags behind product versions or does not correspond to different versions of a modular product. With a modular approach, the documentation can be targeted to match the product configuration. The goal of the method is to combine the development of the product and its documentation. This is achieved by applying the same proven tools and methods to documentation as to software development. These tools and methods vary from organization to organization. The starting points of Docs as Code are:<\/p>\n<p style=\"text-align: left;\">\u2013 The document is in a standard text format, such as DITA, HTML or Markdown. These can be modified with text editors developed for them, for example Oxygen XML Editor.<\/p>\n<p style=\"text-align: left;\">\u2013 A service management system (e.g. Jira) for change management, which is also typically used in software development. The purpose is to ensure that product changes are also reflected in the documentation.<\/p>\n<p style=\"text-align: left;\">Version control (Git), in the Docs as Code method, documentation typically follows the versions of the product being documented. Alternatively, Indox can be used, which has workflow support.<\/p>\n<p style=\"text-align: left;\">\u2013 Automatic compilation and distribution of documentation. If there are changes to the documentation, it triggers compilation, which creates documentation suitable for the new version. This corresponds to the CI\/CD thinking of software development, i.e. continuous integration and continuous delivery. Thanks to the modularity of the documentation, it is possible to target the documentation to match the customer's product configuration.<\/p>\n<p style=\"text-align: left;\">Documentation testing can be automated by, for example, validating against DTD\/schema and using automation for terminology checks, such as the Vale application.<\/p>\n<p style=\"text-align: left;\">\u2013 Documentation is combined with the development method used. For example, the Scrum of software development, where documentation is done as part of sprints.<\/p>\n<p style=\"text-align: left;\">The Docs as Code method can be implemented so that the entire development team is responsible for documentation. Software developers participate in documentation as part of their development work by writing in Markdown or DITA. Technical writers style and organize the material.<\/p>\n<h2 style=\"text-align: left;\"><span style=\"color: #ffffff;\">DITA is perfect for the Docs as Code method<\/span><\/h2>\n<p style=\"text-align: left;\">DITA is a text-based format compliant with the Oasis standard, which enables seamless transfer of content between systems or effortless switching of tools. Other text-based formats, such as Markdown and HTML (LWDITA), can be combined with DITA. Thanks to its text-based nature, versioning tools can be used, and comparisons are easy. DITA's modularity and reusability facilitate the creation of various documentation sets from the same source material. DITA enables multiple distribution formats, such as HTML (WebHelp) and PDF. Publishing is typically done using the open-source DITA-OT tool. DITA's semantics allow for diverse testing. Context can be considered in testing, for example, titles must be in a specific format.<\/p>\n<h2 style=\"text-align: left;\"><span style=\"color: #ffffff;\">Conclusions<\/span><\/h2>\n<p style=\"text-align: left;\">DITA fits well with the Docs as Code method. Complex documentation can be done with DITA, but for easier documentation it can be kept simple. DITA enables the controlled development of documentation as the product becomes more complex over the years. Index IT helps your organization move to the Docs as Code method.<\/p>\n<p style=\"text-align: left;\"><strong>Sources:<\/strong><\/p>\n<p style=\"text-align: left;\">https:\/\/istc.org.uk\/wp-content\/uploads\/2021\/11\/George-Bina-%E2%80%93-Docs-as-Code-and-DITA.pdf<\/p>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-flex-align-self-center\" style=\"--awb-padding-bottom:60px;--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:15px;--awb-margin-bottom-large:20px;--awb-spacing-left-large:15px;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:15px;--awb-spacing-left-medium:15px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:15px;--awb-spacing-left-small:15px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-center fusion-content-layout-row fusion-flex-align-items-center\"><div class=\"fusion-image-element\" style=\"--awb-margin-right:40px;--awb-max-width:100px;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-1 hover-type-none\" style=\"border-radius:50px;\"><img decoding=\"async\" width=\"2560\" height=\"2560\" alt=\"Manu Ojanen Application Developer\" title=\"Manu Ojanen\" src=\"https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1.jpg\" class=\"img-responsive wp-image-271\" srcset=\"https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1-200x200.jpg 200w, https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1-400x400.jpg 400w, https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1-600x600.jpg 600w, https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1-800x800.jpg 800w, https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1-1200x1200.jpg 1200w, https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Manu.Ojanen-scaled-1.jpg 2560w\" sizes=\"(max-width: 640px) 100vw, 1200px\" \/><\/span><\/div><div class=\"fusion-text fusion-text-2\" style=\"--awb-text-color:var(--awb-color1);\"><p><b>Manu Ojanen<\/b><\/p>\n<p>The author is an experienced software developer at Index IT and is responsible for the development of Indox CCMS.<\/p>\n<\/div><\/div><\/div>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":686,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"footnotes":""},"class_list":["post-691","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DITA Docs as Code - Index IT<\/title>\n<meta name=\"description\" content=\"Mit\u00e4 on Docs as Code? Tutustu menetelm\u00e4\u00e4n, jossa dokumentointi integroidaan ohjelmistokehitykseen versionhallinnan, automaation ja CI\/CD-mallien avulla.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.index.fi\/en\/knowledge-base\/dita-docs-as-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DITA Docs as Code - Index IT\" \/>\n<meta property=\"og:description\" content=\"Mit\u00e4 on Docs as Code? Tutustu menetelm\u00e4\u00e4n, jossa dokumentointi integroidaan ohjelmistokehitykseen versionhallinnan, automaation ja CI\/CD-mallien avulla.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.index.fi\/en\/knowledge-base\/dita-docs-as-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Index IT\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-25T18:45:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/dita-docsascode\\\/\",\"url\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/dita-docsascode\\\/\",\"name\":\"DITA Docs as Code - Index IT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.index.fi\\\/#website\"},\"datePublished\":\"2024-03-22T12:17:52+00:00\",\"dateModified\":\"2026-06-25T18:45:37+00:00\",\"description\":\"Mit\u00e4 on Docs as Code? Tutustu menetelm\u00e4\u00e4n, jossa dokumentointi integroidaan ohjelmistokehitykseen versionhallinnan, automaation ja CI\\\/CD-mallien avulla.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/dita-docsascode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/dita-docsascode\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/dita-docsascode\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Etusivu\",\"item\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tietopankki\",\"item\":\"https:\\\/\\\/www.index.fi\\\/fi\\\/tietopankki\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DITA Docs as Code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.index.fi\\\/#website\",\"url\":\"https:\\\/\\\/www.index.fi\\\/\",\"name\":\"Index IT\",\"description\":\"Index IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.index.fi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.index.fi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.index.fi\\\/#organization\",\"name\":\"Index IT\",\"url\":\"https:\\\/\\\/www.index.fi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.index.fi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.index.fi\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Logo_digi.png\",\"contentUrl\":\"https:\\\/\\\/www.index.fi\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Logo_digi.png\",\"width\":2165,\"height\":570,\"caption\":\"Index IT\"},\"image\":{\"@id\":\"https:\\\/\\\/www.index.fi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/index-information-technologies-oy\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DITA Docs as Code - Index IT","description":"What is Docs as Code? Explore a methodology where documentation is integrated into software development using version control, automation, and CI\/CD models.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.index.fi\/en\/knowledge-base\/dita-docs-as-code\/","og_locale":"en_US","og_type":"article","og_title":"DITA Docs as Code - Index IT","og_description":"Mit\u00e4 on Docs as Code? Tutustu menetelm\u00e4\u00e4n, jossa dokumentointi integroidaan ohjelmistokehitykseen versionhallinnan, automaation ja CI\/CD-mallien avulla.","og_url":"https:\/\/www.index.fi\/en\/knowledge-base\/dita-docs-as-code\/","og_site_name":"Index IT","article_modified_time":"2026-06-25T18:45:37+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.index.fi\/fi\/tietopankki\/dita-docsascode\/","url":"https:\/\/www.index.fi\/fi\/tietopankki\/dita-docsascode\/","name":"DITA Docs as Code - Index IT","isPartOf":{"@id":"https:\/\/www.index.fi\/#website"},"datePublished":"2024-03-22T12:17:52+00:00","dateModified":"2026-06-25T18:45:37+00:00","description":"What is Docs as Code? Explore a methodology where documentation is integrated into software development using version control, automation, and CI\/CD models.","breadcrumb":{"@id":"https:\/\/www.index.fi\/fi\/tietopankki\/dita-docsascode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.index.fi\/fi\/tietopankki\/dita-docsascode\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.index.fi\/fi\/tietopankki\/dita-docsascode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Etusivu","item":"https:\/\/www.index.fi\/fi\/"},{"@type":"ListItem","position":2,"name":"Tietopankki","item":"https:\/\/www.index.fi\/fi\/tietopankki\/"},{"@type":"ListItem","position":3,"name":"DITA Docs as Code"}]},{"@type":"WebSite","@id":"https:\/\/www.index.fi\/#website","url":"https:\/\/www.index.fi\/","name":"IT Index","description":"IT Index","publisher":{"@id":"https:\/\/www.index.fi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.index.fi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.index.fi\/#organization","name":"IT Index","url":"https:\/\/www.index.fi\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.index.fi\/#\/schema\/logo\/image\/","url":"https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Logo_digi.png","contentUrl":"https:\/\/www.index.fi\/wp-content\/uploads\/2023\/09\/Logo_digi.png","width":2165,"height":570,"caption":"Index IT"},"image":{"@id":"https:\/\/www.index.fi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/index-information-technologies-oy\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/pages\/691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/comments?post=691"}],"version-history":[{"count":12,"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/pages\/691\/revisions"}],"predecessor-version":[{"id":1371,"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/pages\/691\/revisions\/1371"}],"up":[{"embeddable":true,"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/pages\/686"}],"wp:attachment":[{"href":"https:\/\/www.index.fi\/en\/wp-json\/wp\/v2\/media?parent=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}