-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation site files moved into a separate folder
- Loading branch information
Showing
36 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
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
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,3 @@ | ||
node_modules | ||
docs/.vitepress/cache | ||
docs/.vitepress/dist |
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,47 @@ | ||
# Documentation Guide | ||
|
||
This documentation template has been built with [vitepress](https://vitepress.dev) | ||
|
||
Use this extention while writing documentation : [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) | ||
|
||
## Steps | ||
|
||
Step 1: Clone the repository | ||
|
||
```bash | ||
git clone git@github.com:Ananto30/zero.git | ||
``` | ||
|
||
Step 2: Move terminal inside documentation directory | ||
|
||
```bash | ||
cd documentation | ||
``` | ||
|
||
Step 3: Install npm dependencies (your device should already have npm installed) | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
Step 4: Run the documentation site on browser for development | ||
|
||
```bash | ||
npm run docs:dev | ||
``` | ||
|
||
Step 5: build website to publish | ||
|
||
```bash | ||
npm run docs:build | ||
``` | ||
|
||
This command will create website files inside `documentation/docs/.vitepress/dist` directory. Inside `dist` directory generated website files will be avaliable. | ||
|
||
Step 6 : preview the site locally before publishing. | ||
|
||
```bash | ||
npm run docs:preview | ||
``` | ||
|
||
If everything is good, you can publish the website using the files existing inside `dist` directory. |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.