All Posts

Documentation as Code in Automotive System/Software Engineering

Some days ago I stumbled over a PDF paper by Dr. Momcilo Krunic from 2023, in which he describes a docs-as-code implementation for an ASPICE-compliant SW development project at an Automotive supplier. And what can I say? This article by Dr. Momcilo Krunic is the best overview I have ever read, regarding the introduction of docs-as-code in a professional Automotive SW project. Therefore I decided to get in contact with him and ask for permission to republish his outstanding work in an HTML version so that single chapters are easier to link and share. It’s 100% in sync with the original post, I only needed to change 1-2 reference styles for technical reasons. And I added also some personal notes as dropdowns, pointing to extensions or slightly different implementation ideas.

This post was written and published by Dr. Momcilo Krunic, as a paper for the Elektronika ir Elektrotechnika journal. The original version can be downloaded as PDF from ResearchGate. Original sources are available on a gitlab repository under Creative Common License 4.0. It’s also worth to visit his new startup: labsoft.ai.

_images/03_dac_automotive.png

Read more ...


Manager POV: What’s the benefit of docs-as-code?

In the last 2-3 years one of my main tasks was to convince people to use a docs-as-code approach for their SW project. The hard part is not to convince SW developers to use it, as they are often already doing it. But team leaders and managers, as their concerns are often not related to single features, but more about process and toolchain compliance and integration. And for sure the question of all questions: What’s the monetary benefit?

So if you are a CEO, a manager, a team leader or just want to understand the big picture, grab a coffee/tea, sit back and let me explain: How docs-as-code will save you money and still increase the product quality.

_images/02_manager_pov.png

Read more ...


New years cleaning

During the Christmas holidays, I had some time to think about new topics for the blog.

So I checked out the latest version, installed the requirements and tried to build the documentation. But Bang! Dozens of warnings and error messages flew over my terminal. The reason was mainly updated libraries like Sphinx and related extensions. Not a big problem, but for sure my fault, as I haven’t pinned the versions in the requirements file.

_images/01_post_new_year.png

Read more ...


Process documents with Sphinx-Needs

Documenting processes is often a separate task in companies. Done by an extra department/team for processes, workflows and tools (PMT). And published in specific formats, which are not reusable or referencable by project specific documentations. But being able to link project requirements to process steps would help developers to understand the need for such requirements.

This post explains how the docs-as-code approach can be used to document processes and workflows.

_images/processes_with_sphinx_needs.png

Read more ...


Open-Needs-DB gets funded

The Prototype Fund supports and finances Open-Needs-DB from March to September 2022.

The Federal Ministry of Education and Research created this program to support developers in Germany during the creation of digital prototypes for topics in the area of Civic Tech, Data Literacy, IT Security and Software Infrastructure.

_images/open_needs_funded.png

Read more ...


Sphinx Extension Development: Tips & Tricks

In the last year I have written some Sphinx extensions and figured out some stuff, which I want to share here.

First of all, the documentation for Sphinx extension development is not so detailed. There is a tutorial available by the Sphinx team, but the used example project is quite simple.

_images/sphinx_extension_dev.png

Read more ...


Docs-as-Code Enhanced

For most of us “Docs-as-Code” mostly means to store the documentation files beside the project sources in git. Also editing the sources in an already used IDE and using the CI system to build it, are 2 important use cases why docs-as-code is chosen to create documentation.

But these features have nothing to do with the documentation content itself. What if the content itself can be treated as code? What if the content / documentation language provides features, which we already know from our programming languages?

_images/docs_as_code_enhanced.png

Read more ...


Page meta data in Sphinx

In bigger Sphinx projects, written by hundreds of authors, you often need to store additional data to somehow have the overall page creation and update process under control.

This data can be stored and maintained as meta-data on top of each rst file.

_images/page_meta_data.png

Read more ...


String2Link transformation with Sphinx-Needs

Sphinx-Needs got a new cool feature to easily create links of a given string for options. The string-links feature.

This allows to just set e.g. a github issue id and get a link to exactly this issue in the final docs.

Read more ...


PyCharm File Watchers for Sphinx projects

I often have the case that I want to see my documentation as fast as possible.

And I know there are “Preview” IDE-Extensions available, which want to solve this problem.

_images/1_general_settings.png

Read more ...


Page reactivation

For a long, long time I had no private representation on the internet, as most of my work was done for open-source projects, so that I added my thoughts to their websites and documentation pages.

Now, I’m planing something big ;)

Read more ...


Job advertisement for Sphinx-Needs

I just have detected the first job advertisement, which asks for Sphinx-Needsas skill. Yeah 🥳

The job is for a Docs-As-Code Development engineer at Bosch in Leonberg, Germany.

_images/bosch-sphinx-needs.png

Read more ...