VkDocs-rs
VkDocs-rs is a supplementary crate for working with VK-Docs format (see open-source VK Cloud documentation for more information). This crate helps to maintain VkDocs meta files and update it correspondingly to the changes.
Installation
Add the following to your Cargo.toml:
[]
= "0.1"
Example usage
Here's a basic usage of the VkDocs-rs crate.
use VkDocs;
// Create a documentation on a cool module.
let vkdocs = new;
// Describe a new VK Doc article.
let page = new
.with_title
.with_content;
// Create a new article based on the provided page information.
vkdocs.upsert;
// Update the article with newer contents.
let page = new
.with_content;
// This call also automatically updates the article's metadata.
vkdocs.upsert;
If you also want to generate template-based Markdown documentation files we recommend to use Tera crate.