Skip to content
Snippets Groups Projects
Commit 6bebbeb8 authored by Aggarwal Himanshu's avatar Aggarwal Himanshu
Browse files

Setup JSDoc

parent 17a4b574
No related branches found
No related tags found
2 merge requests!17Merge develop into main,!11Setup JSDoc for documentation
...@@ -32,3 +32,6 @@ yarn-error.log* ...@@ -32,3 +32,6 @@ yarn-error.log*
# vercel # vercel
.vercel .vercel
# parcel
.parcel-cache
{
"tags": {
"allowUnknownTags": true
},
"source": {
"include": ["components", "pages"]
},
"plugins": ["plugins/markdown", "better-docs/component"],
"opts": {
"encoding": "utf8",
"destination": "docs/",
"recurse": true,
"verbose": true,
"template": "./node_modules/better-docs"
},
"templates": {
"better-docs": {
"name": "CryptoMetrics"
}
}
}
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint",
"docs": "jsdoc -c ./jsdoc.json"
}, },
"dependencies": { "dependencies": {
"@heroicons/react": "^1.0.5", "@heroicons/react": "^1.0.5",
...@@ -27,8 +28,11 @@ ...@@ -27,8 +28,11 @@
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.4.2", "autoprefixer": "^10.4.2",
"better-docs": "2.4.1",
"eslint": "8.9.0", "eslint": "8.9.0",
"eslint-config-next": "12.1.0", "eslint-config-next": "12.1.0",
"jsdoc": "^3.6.10",
"parcel": "^2.3.2",
"postcss": "^8.4.6", "postcss": "^8.4.6",
"tailwindcss": "^3.0.23" "tailwindcss": "^3.0.23"
} }
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment