Skip to content

Commit

Permalink
refactor: update dependencies, switch to yarn and update the example
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Nov 29, 2018
1 parent 5a23951 commit 282bd92
Show file tree
Hide file tree
Showing 38 changed files with 13,115 additions and 18,550 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules
node_modules
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This npm package is a command line script, which scans your JavaScript, Vue or T
## How to use?

```bash
npm i vuepress-jsdoc -g
yarn i vuepress-jsdoc -g
```

**Example:**
Expand Down Expand Up @@ -95,19 +95,19 @@ The `./example` folder includes a full working vuepress-jsdoc example.

```bash
# Install dependencies
npm install
yarn

# Run the CLI
vuepress-jsdoc

# Generate docs
npm run docs
yarn run docs

# Run dev server
npm run dev
yarn run dev

# Generate dist folder
npm run build
yarn run build
```

## ToDo
Expand Down
8 changes: 4 additions & 4 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

```bash
# Install dependencies
npm install
yarn

# Run the CLI
vuepress-jsdoc

# Generate docs
npm run docs
yarn run docs

# Run dev server
npm run dev
yarn run dev

# Generate dist folder
npm run build
yarn run build
```
11 changes: 5 additions & 6 deletions example/documentation/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
const { sidebarTree } = require('../code/config');

const config = {
module.exports = {
contentLoading: true,
title: 'Hello vuepress-jsdoc',
description: 'Just playing around with vuepress-jsdoc',
locales: {
'/': {
title: 'vuepress-jsdoc',
description: 'A JSDoc cli to build md files for static site generators'
description: 'A CLI to create jsdoc md files for vuepress'
}
},
themeConfig: {
editLinks: true,
sidebarDepth: 4,
docsDir: 'code',
locales: {
'/': {
nav: [
Expand All @@ -27,5 +28,3 @@ const config = {
}
}
};

module.exports = config;
17 changes: 17 additions & 0 deletions example/documentation/.vuepress/dist/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>vuepress-jsdoc</title>
<meta name="description" content="A JSDoc cli to build md files for static site generators">


<link rel="preload" href="/assets/css/0.styles.cc2a2ebf.css" as="style"><link rel="preload" href="/assets/js/app.149868c3.js" as="script"><link rel="prefetch" href="/assets/js/10.373a52df.js"><link rel="prefetch" href="/assets/js/11.a9bd2b99.js"><link rel="prefetch" href="/assets/js/12.4ab26e41.js"><link rel="prefetch" href="/assets/js/13.fd955fb4.js"><link rel="prefetch" href="/assets/js/2.30eef2e3.js"><link rel="prefetch" href="/assets/js/3.92bb1012.js"><link rel="prefetch" href="/assets/js/4.32c4ad07.js"><link rel="prefetch" href="/assets/js/5.29e1fac7.js"><link rel="prefetch" href="/assets/js/6.462fb79a.js"><link rel="prefetch" href="/assets/js/7.3882c9bb.js"><link rel="prefetch" href="/assets/js/8.b1f3e671.js"><link rel="prefetch" href="/assets/js/9.9626a376.js">
<link rel="stylesheet" href="/assets/css/0.styles.cc2a2ebf.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1> <blockquote>There's nothing here.</blockquote> <a href="/" class="router-link-active">Take me home.</a></div></div></div>
<script src="/assets/js/app.149868c3.js" defer></script>
</body>
</html>

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{162:function(n,w,o){}}]);

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 282bd92

Please sign in to comment.