Skip to content

Commit

Permalink
chore: move back to egoist
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Mar 28, 2019
1 parent cd49d08 commit 5fb5790
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 33 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Docute

[![npm version](https://badgen.net/npm/v/docute)](https://npm.im/docute) [![jsdelivr downloads](https://data.jsdelivr.com/v1/package/npm/docute/badge?style=rounded)](https://www.jsdelivr.com/package/npm/docute) [![circleci](https://badgen.net/circleci/github/leptosia/docute/master)](https://circleci.com/gh/leptosia/docute/tree/master) [![donate](https://badgen.net/badge/support%20me/donate/ff69b4)](https://patreon.com/egoist)
[![npm version](https://badgen.net/npm/v/docute)](https://npm.im/docute) [![jsdelivr downloads](https://data.jsdelivr.com/v1/package/npm/docute/badge?style=rounded)](https://www.jsdelivr.com/package/npm/docute) [![circleci](https://badgen.net/circleci/github/egoist/docute/master)](https://circleci.com/gh/egoist/docute/tree/master) [![donate](https://badgen.net/badge/support%20me/donate/ff69b4)](https://patreon.com/egoist)

Effortless documentation, done right.

Expand All @@ -20,8 +20,8 @@ Are you looking for the v3 docs? See [here](https://v3.docute.org).

## Resources

- [Official Plugins](https://github.com/leptosia/docute-plugins)
- [Awesome Docute](https://github.com/leptosia/awesome-docute)
- [Official Plugins](https://github.com/egoist/docute-plugins)
- [Awesome Docute](https://github.com/egoist/awesome-docute)

## Contributing

Expand All @@ -33,7 +33,7 @@ Are you looking for the v3 docs? See [here](https://v3.docute.org).

## Author

**Docute** © [Leptosia](https://github.com/leptosia), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by EGOIST with help from contributors ([list](https://github.com/leptosia/docute/contributors)).
**Docute** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by EGOIST with help from contributors ([list](https://github.com/egoist/docute/contributors)).

> [github.com/leptosia](https://github.com/leptosia) · GitHub [@leptosia](https://github.com/leptosia) · Twitter [@leptosia](https://twitter.com/leptosia)
> [Website](https://egoist.sh) · GitHub [@EGOIST](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
},
"devDependencies": {
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@leptosia/docute-google-analytics": "^1.0.0",
"@poi/plugin-puppet": "^0.1.4",
"@semantic-release/git": "^7.0.5",
"babel-preset-minimal": "^0.1.1",
"babel-preset-power-assert": "^3.0.0",
"bili": "^3.4.2",
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"docute-google-analytics": "^1.1.0",
"eslint-config-rem": "^3.0.0",
"eslint-plugin-vue": "^5.0.0-beta.3",
"fast-async": "^6.3.8",
Expand All @@ -56,7 +56,7 @@
"xo": "^0.23.0"
},
"repository": {
"url": "leptosia/docute",
"url": "egoist/docute",
"type": "git"
},
"main": "dist/docute.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/PrevNextLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
currentLinkIndex() {
// Related:
// - https://github.com/vuejs/vue/issues/8728
// - https://github.com/leptosia/docute/pull/171
// - https://github.com/egoist/docute/pull/171
const {sidebarLinks} = this
for (let i = 0; i < sidebarLinks.length; i++) {
const item = sidebarLinks[i]
Expand Down
2 changes: 1 addition & 1 deletion website/docs/guide/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ new Docute({
},
{
title: 'GitHub',
link: 'https://github.com/leptosia/docute'
link: 'https://github.com/egoist/docute'
}
]
})
Expand Down
4 changes: 2 additions & 2 deletions website/docs/guide/markdown-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ Adding a Vue mixin to the Markdown component:
[Mermaid](https://mermaidjs.github.io/) is a way to write charts in plain text, you can use a simple Docute plugin to add Mermaid support:

```html
<script src="https://unpkg.com/docute@4.0.3/dist/docute.js"></script>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<!-- Load mermaid -->
<script src="https://unpkg.com/mermaid@8.0.0-rc.8/dist/mermaid.min.js"></script>
<!-- Load the mermaid plugin -->
<script src="https://unpkg.com/@leptosia/docute-mermaid@1/dist/index.min.js"></script>
<script src="https://unpkg.com/docute-mermaid@1/dist/index.min.js"></script>

<!-- Use the plugin -->
<script>
Expand Down
2 changes: 1 addition & 1 deletion website/docs/guide/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ new Docute({

For more information on how to develop a plugin, please check out [Plugin API](/plugin-api).

Check out [https://github.com/leptosia/docute-plugins](https://github.com/leptosia/docute-plugins) for a list of Docute plugins by the maintainers and users.
Check out [https://github.com/egoist/docute-plugins](https://github.com/egoist/docute-plugins) for a list of Docute plugins by the maintainers and users.
2 changes: 1 addition & 1 deletion website/docs/zh/guide/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ new Docute({
},
{
title: 'GitHub',
link: 'https://github.com/leptosia/docute'
link: 'https://github.com/egoist/docute'
}
]
})
Expand Down
4 changes: 2 additions & 2 deletions website/docs/zh/guide/markdown-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ Adding a Vue mixin to the Markdown component:
[Mermaid](https://mermaidjs.github.io/) 是一种纯文本撰写图表的方法,你可以使用简单的 Docute 插件来添加对 Mermaid 的支持:

```html
<script src="https://unpkg.com/docute@4.0.3/dist/docute.js"></script>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<!-- Load mermaid -->
<script src="https://unpkg.com/mermaid@8.0.0-rc.8/dist/mermaid.min.js"></script>
<!-- Load the mermaid plugin -->
<script src="https://unpkg.com/@leptosia/docute-mermaid@1/dist/index.min.js"></script>
<script src="https://unpkg.com/docute-mermaid@1/dist/index.min.js"></script>

<!-- Use the plugin -->
<script>
Expand Down
10 changes: 5 additions & 5 deletions website/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import html from 'html-template-tag'
import googleAnalytics from '@leptosia/docute-google-analytics'
import googleAnalytics from 'docute-google-analytics'
import Docute from '../src'
import prismLanguages from '../src/utils/prismLanguages'
import ColorBox from './components/ColorBox.vue'
Expand Down Expand Up @@ -43,7 +43,7 @@ new Docute({
plugins: [
process.env.NODE_ENV === 'production' && googleAnalytics('UA-54857209-11')
].filter(Boolean),
editLinkBase: 'https://github.com/leptosia/docute/tree/master/website/docs',
editLinkBase: 'https://github.com/egoist/docute/tree/master/website/docs',
editLinkText: 'Edit this page on GitHub',
router: {
mode: 'history'
Expand Down Expand Up @@ -100,7 +100,7 @@ new Docute({
},
{
title: 'GitHub',
link: 'https://github.com/leptosia/docute'
link: 'https://github.com/egoist/docute'
}
],
sidebar: [
Expand Down Expand Up @@ -187,7 +187,7 @@ new Docute({
},
{
title: 'GitHub',
link: 'https://github.com/leptosia/docute'
link: 'https://github.com/egoist/docute'
}
],
sidebar: [
Expand Down Expand Up @@ -263,7 +263,7 @@ new Docute({
}
},
footer: `
&copy; ${new Date().getFullYear()} Made at <a href="https://leptosia.org">Leptosia</a>.
&copy; ${new Date().getFullYear()} Made by <a href="https://egoist.sh">EGOIST<a> While Watching Anime.
`,
banner: {
template: html`
Expand Down
17 changes: 5 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -777,13 +777,6 @@
cssnano-preset-default "^4.0.0"
postcss "^7.0.0"

"@leptosia/docute-google-analytics@^1.0.0":
version "1.0.0"
resolved "https://registry.npmjs.org/@leptosia/docute-google-analytics/-/docute-google-analytics-1.0.0.tgz#6e1d96fc990ab2fadec0bdea5e8758ee98461078"
integrity sha512-3Ilc2wWrbG09iVecmvPgyhXSu5jqvr5yaQ2sq2EwUzyxvpr5t2t/0k4CQ3MWk1v/uTspZrjBfeq14FrYmutg6g==
dependencies:
vue-ga "^1.0.0"

"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
Expand Down Expand Up @@ -3678,6 +3671,11 @@ doctrine@^2.1.0:
dependencies:
esutils "^2.0.2"

docute-google-analytics@^1.1.0:
version "1.1.0"
resolved "https://registry.npmjs.org/docute-google-analytics/-/docute-google-analytics-1.1.0.tgz#2e11bf986648d2c01aeaee0df8299ad60f136508"
integrity sha512-9AVTSVbxicREorAgNrtdrFY2s/Hj6GCs9MsByA2qUhspVLIL/dwatD9OISWMVEEkm0GpIfmdIzEg7EYIiDOvGw==

dom-converter@~0.2:
version "0.2.0"
resolved "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
Expand Down Expand Up @@ -12420,11 +12418,6 @@ vue-eslint-parser@^4.0.2:
esquery "^1.0.1"
lodash "^4.17.11"

vue-ga@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/vue-ga/-/vue-ga-1.0.0.tgz#c890fc529970af10abef2c42c81ea38cfb00cef1"
integrity sha1-yJD8UplwrxCr7yxCyB6jjPsAzvE=

vue-hot-reload-api@^2.3.0:
version "2.3.1"
resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"
Expand Down

0 comments on commit 5fb5790

Please sign in to comment.