All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.site.index.html Maven / Gradle / Ivy

Go to download

This module generates documentation for the https://github.com/credibledoc/credible-doc repository projects. See description on the https://github.com/credibledoc/credible-doc page.

There is a newer version: 1.0.51
Show newest version



&&beginPlaceholder {
    "className": "com.credibledoc.substitution.content.generator.resource.FragmentGenerator",
    "description": "Insert 'header' fragment to the html page.",
    "parameters": {
        "fragmentRelativePath": "credible-doc-generator/src/main/resources/fragment/header.html"
    },
    "jsonObject": {
        "title": "Credible documentation - main page",
        "linkPrefix": ""
    }
} &&endPlaceholder

Motivation

The maintenance of software documentation is a complex task. As the time runs and the documented software is changed the documentation is getting obsolete. Changing documentation between versions is a boring and uncreative job.

We want to reduce effort to accomplish this task.

The page presents some tools for preventing the erosion of documentation and the fatique of analysts' minds.

Image Content generation. Content generation

There are two parts of the documentation - generated and handwritten. Both have advantages and disadvantages. The generated documentation, for example javaDoc, is easily maintained, because it is placed close to the source code. But it has an insufficient context. The handwritten documentation describes an application behavior more comprehensible, but it is insufficient in detail. It can become outdated with some changes of the application.

We want to preserve the legibility of the documents but at the same time we need to avoid the outdated documentation.

In order to achieve the goal, the following example shows how the handwritten content can be mixed with the generated parts.

Image Content substitution. Content substitution

There are many excellent libraries for content generation, for example: Thymeleaf, Velocity or JSP. Our approach is simpler and we hope the learning time you spend on our tool will be shorter.

Our tools and libraries for replacing placeholders with a generated content.

Image Diagrams generation. Diagrams generation

PlantUML is a component that allows to write diagrams quickly, in a simple and intuitive language. We suggest using the language in the documentation in form of generated parts.

We introduce diagram generation utilities based on the PlantUML library.

Image Log files parsing. Log files parsing

Application logs are the best source for investigation of an application behavior. We suggest using log files for the generation of diagrams and other documentation parts.

The log-combiner tool merges log files with different time formats creating a single file. All lines in the merged file are sorted by timestamp.

The merged application log can be used as a data supplier for the generated documentation.

Image Other utilities. Other utilities

The ISO 8583 packer utility is not related to the documentation tools. But it can be useful for a payment software development and it uses credible-doc tools for its documentation.

&&beginPlaceholder { "className": "com.credibledoc.substitution.content.generator.resource.FragmentGenerator", "description": "Inserting 'footer' fragment", "parameters": { "fragmentRelativePath": "credible-doc-generator/src/main/resources/fragment/footer.html" }, "jsonObject": { "linkPrefix": "" } } &&endPlaceholder




© 2015 - 2024 Weber Informatics LLC | Privacy Policy