Konfidence is pre-release software — concepts and APIs are unstable and subject to change.
Skip to content

Style guide

This style guide defines tone, structure, and formatting rules for writing and editing Konfidence project documentation. It ensures that the content is clear, consistent, and accessible for all readers.

Spelling and grammar

Terminology

  • Use consistent vocabulary.
  • Refer to the Konfidence glossary when writing or editing documentation.
  • Introduce abbreviations only after spelling them out:

    Konfidence uses the Open Component Model (OCM) to describe vectors and artifacts stored in an Open Container Initiative (OCI) registry.

Structure

Choose the right document type

Before you start writing, ask yourself: Why will the user read my document?

The user comes to our documentation with a specific goal in mind, whether they're trying to solve a problem, understand a term, or look up technical details. That goal should guide both the content and the structure of your document.

Depending on the user's goal, your document will most likely fit into one of these types:

Document typeHelps user toProvides
How-to guideAccomplish a taskStep-by-step instructions
Concept guideUnderstand somethingExplanation of concepts and functionalities

Writing style

Use simple language

Use short sentences and simple words that non-native English speakers are also familiar with.

UseAvoid
use, delete, getutilize, dispose of, obtain
to, because, exceptin order to, due to the fact, with the exception of

Address the user directly

Use the active voice and say you like you would in a normal conversation.

UseAvoid
Upload your data file.The user can upload the data file.

Communicate clearly

  • Be concise and stay focused on the document’s goal.
  • Tailor content to its type and audience.
  • Follow a logical flow, and describe what before how.
  • Be positive (do, rather than do not).
UseAvoid
Connect the device to a power source.Do not leave the device uncharged.

Use inclusive and bias-free language

  • Use inclusive terms. Check out the Inclusive Naming initiative for more information on harmful and exclusionary language.
  • Avoid gendered pronouns. Use they, their instead of she, her, he, him.

Formatting

ElementFormattingExample
Headings and titles#, ##, ###, sentence styleDeployment and release conventions
Command-line toolsCode stylekubectl, git, docker
Inline code and commandsCode styleTo view your managed resources, run kubectl get managed.
Code and CLI blocksFenced code blocks (```)
CRDsUpperCamelCase, code styleWith the VectorActivation custom resource, you can [...].
Folder, file names, directories, pathsCode styleYou can find the config file in the ~/.kube folder.
Keyboard shortcutsCode style, plus (+) sign, no spacesPress Cmd+S.
User-interface elementsBoldChoose Create.
Text inputCode styleIn the Search field, type hello.
PlaceholdersAngle brackets (<>), hyphens between words<workspace-name>
EmphasisBoldIn your document, focus on a single topic.

Make the content scannable

  • Use lists for clarity.
  • Write short paragraphs.

Diagrams

Use diagrams to clarify complex relationships, workflows, or architecture. Choose the format that best suits your content and audience. Prefer lightweight, maintainable formats that render well in Markdown-based documentation.

Embedding diagrams from draw.io

The Konfidence documentation supports embedding .drawio files directly. A custom Vue component renders the diagram inline using the diagrams.net viewer.

To embed a draw.io diagram:

  1. Place the .drawio file in the topic-specific subfolder under public/assets/diagrams/.
  2. Use the DrawioDiagram component in your Markdown file:
md
<DrawioDiagram src="/assets/diagrams/example-file.drawio" />
  • For link texts, use either the exact page title or a descriptive phrase.
  • Don't use link texts such as here, this, this guide, this website.

[Getting started](./getting-started.md)

Always verify that internal links work before submitting a pull request.

Best practices

  • Don't use unnecessary capitalization. Before you capitalize a word, think about why (and whether) it should be capitalized.
  • Use Oxford commas in lists.

    The system supports models, pipelines, and integrations.

  • Spell out numbers from one to nine; use numerals for 10 and above.

    Two configurations are available. The model supports up to 12 input types.

  • Use headings and titles to indicate whether the content is conceptual or task-based. Be consistent. Make sure the heading in the sidebar exactly matches the title in the corresponding content section.
EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.