Vitepressify::Vitepress
Inherits Reference < Object
Responsible for the content and locations of the Vitepress project structure.
Constants
STRUCTURE = {
config: Path["docs", ".vitepress", "config.js"],
sidebars: Path["docs", ".vitepress", "crystal"],
readme: Path["docs", "index.md"],
root: Path["docs"],
package_json: Path["package.json"],
theme: Path["docs", ".vitepress", "theme"],
}
Locations of files in Vitepress project.
Constructors
new(name : String, dir : Path)
SourceInstance methods
sidebar_import
The import portion of .vitepress/config.js. It imports and parses all the sidebars.