-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 711f125
Showing
35 changed files
with
7,302 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docsify.js.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## docsify | ||
|
||
> A magical documentation site generator. | ||
## What it is | ||
|
||
Docsify generates your documentation website on the fly. Unlike GitBook, it does not generate static html files. Instead, it smartly loads and parses your Markdown files and displays them as a website. To start using it, all you need to do is create an `index.html` and [deploy it on GitHub Pages](deploy.md). | ||
|
||
See the [Quick start](quickstart.md) guide for more details. | ||
|
||
## Features | ||
|
||
- No statically built html files | ||
- Simple and lightweight | ||
- Smart full-text search plugin | ||
- Multiple themes | ||
- Useful plugin API | ||
- Emoji support | ||
|
||
## Examples | ||
|
||
Check out the [Showcase](https://github.com/docsifyjs/awesome-docsify#showcase) to see docsify in use. | ||
|
||
## Donate | ||
|
||
Please consider donating if you think docsify is helpful to you or that my work is valuable. I am happy if you can help me [buy a cup of coffee](https://github.com/QingWei-Li/donate). :heart: | ||
|
||
## Community | ||
|
||
Users and the development team are usually in the [Discord server](https://discord.gg/3NwKFyR). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
![logo](_media/icon.svg) | ||
|
||
# docsify <small>4.13.0</small> | ||
|
||
> A magical documentation site generator. | ||
- Simple and lightweight | ||
- No statically built html files | ||
- Multiple themes | ||
|
||
[GitHub](https://github.com/docsifyjs/docsify/) | ||
[Getting Started](#docsify) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
author: John Smith | ||
date: 2020-1-1 | ||
--- | ||
|
||
> This is from the `example.md` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>To infinity and Beyond!</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import fetch from 'fetch'; | ||
|
||
const URL = 'https://example.com'; | ||
const PORT = 8080; | ||
|
||
/// [demo] | ||
const result = fetch(`${URL}:${PORT}`) | ||
.then(response => { | ||
return response.json(); | ||
}) | ||
.then(myJson => { | ||
console.log(JSON.stringify(myJson)); | ||
}); | ||
/// [demo] | ||
|
||
result.then(console.log).catch(console.error); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
> This is from the `example.md` |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- Translations | ||
- [:uk: English](/) | ||
- [:cn: 简体中文](/zh-cn/) | ||
- [:de: Deutsch](/de-de/) | ||
- [:es: Español](/es/) | ||
- [:ru: Русский](/ru-ru/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
- Getting started | ||
|
||
- [Quick start](quickstart.md) | ||
- [Writing more pages](more-pages.md) | ||
- [Custom navbar](custom-navbar.md) | ||
- [Cover page](cover.md) | ||
|
||
- Customization | ||
|
||
- [Configuration](configuration.md) | ||
- [Themes](themes.md) | ||
- [List of Plugins](plugins.md) | ||
- [Write a Plugin](write-a-plugin.md) | ||
- [Markdown configuration](markdown.md) | ||
- [Language highlighting](language-highlight.md) | ||
- [Emoji](emoji.md) | ||
|
||
- Guide | ||
|
||
- [Deploy](deploy.md) | ||
- [Helpers](helpers.md) | ||
- [Vue compatibility](vue.md) | ||
- [CDN](cdn.md) | ||
- [Offline Mode (PWA)](pwa.md) | ||
- [Embed Files](embed-files.md) | ||
|
||
- [Awesome docsify](awesome.md) | ||
- [Changelog](changelog.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# CDN | ||
|
||
Recommended: [jsDelivr](//cdn.jsdelivr.net), which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at [cdn.jsdelivr.net/npm/docsify/](//cdn.jsdelivr.net/npm/docsify/). | ||
|
||
## Latest version | ||
|
||
```html | ||
<!-- load css --> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css" /> | ||
|
||
<!-- load script --> | ||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.js"></script> | ||
``` | ||
|
||
Alternatively, use [compressed files](#compressed-file). | ||
|
||
## Specific version | ||
|
||
```html | ||
<!-- load css --> | ||
<link | ||
rel="stylesheet" | ||
href="//cdn.jsdelivr.net/npm/[email protected]/themes/vue.css" | ||
/> | ||
|
||
<!-- load script --> | ||
<script src="//cdn.jsdelivr.net/npm/[email protected]/lib/docsify.js"></script> | ||
``` | ||
|
||
## Compressed file | ||
|
||
```html | ||
<!-- load css --> | ||
<link | ||
rel="stylesheet" | ||
href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" | ||
/> | ||
|
||
<!-- load script --> | ||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script> | ||
``` | ||
|
||
```html | ||
<!-- load css --> | ||
<link | ||
rel="stylesheet" | ||
href="//cdn.jsdelivr.net/npm/[email protected]/lib/themes/vue.css" | ||
/> | ||
|
||
<!-- load script --> | ||
<script src="//cdn.jsdelivr.net/npm/[email protected]/lib/docsify.min.js"></script> | ||
``` | ||
|
||
## Other CDN | ||
|
||
- https://www.bootcdn.cn/docsify/ | ||
- https://cdn.jsdelivr.net/npm/docsify/ | ||
- https://cdnjs.com/libraries/docsify | ||
- https://unpkg.com/browse/docsify/ |
Oops, something went wrong.