stefanwinds / vuepress-theme-api

πŸ“¦πŸ“πŸŽ¨A api-friendly theme for VuePress.

Home Page:https://blog.sqrtthree.com/vuepress-theme-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vuepress-theme-api

npm npm code style: prettier

πŸ“¦ πŸ“ 🎨 A api-friendly theme for VuePress. Inspired by zeit.

Live demo

image

Built With

Prerequisites

There are some global dependencies you need to set up.

Getting Started

Installing

# Install vuepress
yarn global add vuepress # OR npm install -g vuepress

# Install theme
yarn global add vuepress-theme-api # OR npm install -g vuepress-theme-api

Configuration

Create VuePress config file .vuepress/config.js and provide a theme option.

// .vuepress/config.js
module.exports = {
  title: 'Hello, World.',
  description: 'πŸ“¦ 🎨 A api-friendly theme for VuePress.',
  theme: 'api',
}

As Easy as 1, 2, 3

# Create a markdown file and write something
echo '# Hello, World.' > Hello.md

# Start writing
vuepress dev .

# Build to static files
vuepress build .

How to use?

Go to docs to get more details.

Starter kit

A out-of-the-box starter kit for RESTful API document is here.


sqrtthree.com  Β·  GitHub @sqrthree  Β·  Twitter @sqrtthree

About

πŸ“¦πŸ“πŸŽ¨A api-friendly theme for VuePress.

https://blog.sqrtthree.com/vuepress-theme-api/

License:MIT License


Languages

Language:Vue 50.9%Language:CSS 28.5%Language:JavaScript 20.6%