Writing documentation using markdown is simple and effective, but it's not always easy to see the result of what you write while you are writing it. Sensedia Docs provides a VSCode extension that allows you to visualize your markdown files as you write them.
Writing documentation is a crucial part of the development process. It helps users understand your product and its features, and it can also serve as a reference for future development. In this section, we will discuss some best practices for writing effective documentation using Sensedia Docs.
Sensedia Docs provides a VSCode extension that allows you to visualize your markdown files as you write them. This extension provides a live preview of your markdown files, so you can see how your documentation will look without having to publish it first.
When writing documentation, it's important to follow a consistent structure to prevent errors when rendering the markdown, here is a basic structure you can follow:
---
title
: The title of your document.description
: A brief description of the document.keywords
: Keywords related to the document for search optimization.parent
: The parent document or section this document belongs to.icon
: Path to an icon representing the document. Required for product categories or products principal document.order
: The order in which this document should appear in the navigation.swagger
: Optional, used to include Swagger documentation.Sensedia Docs allows you to create a hierarchy of documents by using the parent
field in the front matter. This helps organize your documentation into sections and subsections, making it easier for users to navigate.
In the context of Sensedia Docs, the last document in the hierarchy is the
sensedia-docs
, which is the main document that contains all the other documents. It serves as the root of your documentation structure. Do not forget to set theparent
field tosensedia-docs
in your main document.
The Sensedia Docs VSCode extension streamlines the documentation process by providing instant feedback and live previews, making it easier to create clear and visually appealing content. Leveraging Sensedia Docs markdown components further enhances the user experience, allowing you to build interactive and well-structured documentation that is both informative and engaging.
This happens most likely because the markdown syntax is incorrect or not supported. Double-check your markdown for any errors or unsupported features.
Currently, the custom components are designed to work best with the Sensedia Docs VSCode extension.
The extension provides a live preview of your markdown files, making it easier to see how your documentation will look as you write it. It also supports Sensedia Docs custom markdown components, enhancing your documentation with interactive features.
Ensure that you have opened the markdown file in the VSCode extension and that the live preview is enabled. If changes are still not visible, try refreshing the preview tab.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more