Skip to content

linhe0x0/vuepress-theme-api

Folders and files

NameName
Last commit message
Last commit date
Jun 20, 2021
Apr 23, 2021
Apr 23, 2021
Jun 11, 2021
Apr 22, 2021
Apr 23, 2021
May 24, 2018
Apr 25, 2020
Apr 25, 2020
Apr 25, 2020
May 24, 2018
May 26, 2018
Apr 25, 2020
May 17, 2018
Apr 23, 2021
Apr 25, 2020
Apr 22, 2021
Aug 3, 2021
Aug 3, 2021

Repository files navigation

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 add vuepress # OR npm install vuepress

# Install theme
yarn add vuepress-theme-api # OR npm install 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