class

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)
Source

Instance methods

config

.vitepress/config.js

Source
create_structure

Creates the project structure folders.

Source
package_json

package.json

Source
theme_config

.vitepress/theme/config.js

Source
theme_css

.vitepress/theme/custom.css

Source