| Crates.io | vkdocs-rs |
| lib.rs | vkdocs-rs |
| version | 0.2.0 |
| created_at | 2025-03-27 14:23:37.582987+00 |
| updated_at | 2025-07-14 13:17:33.116674+00 |
| description | Supplementary VkDocs Rust library |
| homepage | |
| repository | https://github.com/georgiy-belyanin/vkdocs-rs |
| max_upload_size | |
| id | 1607995 |
| size | 31,965 |
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.
Add the following to your Cargo.toml:
[dependencies]
vkdocs-rs = "0.1"
Here's a basic usage of the VkDocs-rs crate.
use vkdocs_rs::VkDocs;
// Create a documentation on a cool module.
let vkdocs = VkDocs::new("vkdoc-project");
// Describe a new VK Doc article.
let page = Page::new()
.with_title("Cool module".to_string())
.with_content("Docs on a cool module.".to_string());
// Create a new article based on the provided page information.
vkdocs.upsert(&cool_module_path, page);
// Update the article with newer contents.
let page = Page::new()
.with_content("Newer docs on a cool module.".to_string());
// This call also automatically updates the article's metadata.
vkdocs.upsert(&cool_module_path, page);
If you also want to generate template-based Markdown documentation files we recommend to use Tera crate.