class Vitepressify::Vitepress
- Vitepressify::Vitepress
- Reference
- Object
Overview
Responsible for the content and locations of the Vitepress project structure.
Defined in:
vitepressify/vitepress.crConstant Summary
-
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
Instance Method Summary
-
#config
.vitepress/config.js
-
#create_structure
Creates the project structure folders.
-
#package_json
package.json
-
#sidebar_import
The import portion of .vitepress/config.js.
-
#sidebar_name
The name at the sidebar json.
-
#sidebar_nav_gen
The sidebar and nav portion of .vitepress/config.js.
-
#theme_config
.vitepress/theme/config.js
-
#theme_css
.vitepress/theme/custom.css
Constructor Detail
Instance Method Detail
def sidebar_import
#
The import portion of .vitepress/config.js. It imports and parses all the sidebars.