mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Set up new-new custom docs mechanism
This commit is contained in:
16
docs/index.yml
Normal file
16
docs/index.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
- name: General
|
||||||
|
files:
|
||||||
|
- name: Welcome
|
||||||
|
path: welcome.md
|
||||||
|
- name: Updating your code
|
||||||
|
path: updating.md
|
||||||
|
- name: FAQ
|
||||||
|
path: faq.md
|
||||||
|
- name: Examples
|
||||||
|
files:
|
||||||
|
- name: Ping
|
||||||
|
path: ping.js
|
||||||
|
- name: Avatars
|
||||||
|
path: avatars.js
|
||||||
|
- name: Webhook
|
||||||
|
path: webhook.js
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
"description": "A powerful library for interacting with the Discord API",
|
"description": "A powerful library for interacting with the Discord API",
|
||||||
"main": "./src/index",
|
"main": "./src/index",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "eslint src && docgen --source src --custom docs",
|
"test": "eslint src && docgen --source src --custom docs/index.yml",
|
||||||
"docs": "docgen --source src --custom docs --output docs/docs.json",
|
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
|
||||||
"test-docs": "docgen --source src --custom docs",
|
"test-docs": "docgen --source src --custom docs",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user