mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23: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",
|
||||
"main": "./src/index",
|
||||
"scripts": {
|
||||
"test": "eslint src && docgen --source src --custom docs",
|
||||
"docs": "docgen --source src --custom docs --output docs/docs.json",
|
||||
"test": "eslint src && docgen --source src --custom docs/index.yml",
|
||||
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
|
||||
"test-docs": "docgen --source src --custom docs",
|
||||
"lint": "eslint src",
|
||||
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
||||
|
||||
Reference in New Issue
Block a user