You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert your _docs_ folder into a pretty docs website using [DocsifyJS](https://docsify.js.org/) and some minimal setup instructions. This project's site itself is also running on _DocsifyJS_.
8
+
Convert your **docs** folder into a pretty docs website - using [DocsifyJS](https://docsify.js.org/) and some minimal setup instructions. This project's site itself is also running on _DocsifyJS_.:tada:
9
9
10
10
?> _DocsifyJS_ is sometimes just called _Docsify_ in this guide. Also known as _Docsify.js_.
11
11
12
12
13
-
## Resource links
13
+
## Resources
14
+
> Docs and Docsify-related links
14
15
15
16
### My projects
16
17
17
18
-[DocsifyJS Tutorial](https://github.com/michaelcurrin/docsify-js-tutorial/) repo on Github.
-[MkDocs Quickstart](https://michaelcurrin.github.io/mkdocs-quickstart/) project - as an alternative to Docsify, try this demo / tutorial / template around MkDocs.
This project is for you if you answer yes to any of the following:
30
32
@@ -39,13 +41,13 @@ This project is for you if you answer yes to any of the following:
39
41
40
42
This project provides three approaches for choosing a Docsify site to run:
41
43
42
-
-[Quickstart local server](#quickstart-local-server)
44
+
-Use the [Quickstart local server](#quickstart-local-server)
43
45
- Clone this repo and start serving the docs repo immediately.
44
-
-[Setup your own docs site](#setup-your-own-docs-site)
46
+
-[Setup your own docs site](#setup-your-own-docs-site) from scratch
45
47
- Convert your _docs_ directory into a docs site hosted on Github Pages. Copy from some templates files to get up and running with as little effort as possible.
-Use my [DocsifyJS Template](https://github.com/michaelcurrin/docsify-js-template/) repo
47
49
- A minimal template which goes with this tutorial.
48
-
- Click _Use this template_ there and you'll be able to starting serving a site on Github Pages or locally.
50
+
- Click [Use this template](https://img.shields.io/badge/Use_this_template-green.svg?style=for-the-badge) to add a copy to you own repos. you'll be able to starting serving a site on Github Pages or locally.
49
51
50
52
_Note: The instructions in this repo are intended for Linux and macOS environments._
- [kissybnts/docsify-json-variables](https://github.com/kissybnts/docsify-json-variables) or on [npm](https://www.npmjs.com/package/docsify-json-variables)
521
-
522
-
The DocsifyJS site covers long lists of plugins and how to use them:
523
-
524
-
- [List of Plugins](https://docsify.js.org/#/plugins?id=list-of-plugins)
@@ -532,15 +535,15 @@ Load and configure this plugin to add the `Edit on Github` link in the top right
532
535
- [njleonzhang/docsify-edit-on-github](https://github.com/njleonzhang/docsify-edit-on-github) on Github.
533
536
534
537
535
-
Load this plugin near the end of the `head` tag.
538
+
Load this plugin near the end of the `head` tag.
539
+
540
+
!>**Important:** This will **not** work at the end of the body like most plugins, since the plugin's global variable needs be available when the app is configured.
!>**Important:** This will not work at the end of the body like most plugins, since the plugin's global variable needs be available when the app is configured.
542
-
543
-
Configure the plugin.
546
+
Configure the plugin - see below.
544
547
545
548
546
549
**Basic usage**
@@ -617,7 +620,6 @@ Arguments:
617
620
```
618
621
619
622
620
-
621
623
## Setup Github Pages site
622
624
623
625
If you followed the steps above, you'll have a locally running docs site.
@@ -628,7 +630,7 @@ Next, edit your repo's setting on Github. Select the option to serve the `docs`
628
630
629
631
Open the link in the browser.
630
632
631
-
- http://localhost:3000
633
+
- [localhost:3000](http://localhost:3000)
632
634
633
635
To make the most of Docsify, update your content using the next section.
634
636
@@ -695,12 +697,12 @@ Render markdown as code snippet. Use the `type` parameter.
0 commit comments