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
This npm package is a command line script, which scans your JavaScript, Vue or Typescript source code and generates markdown files for vuepress with the help of [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) and [vue-docgen-cli](https://github.com/vue-styleguidist/vue-styleguidist/tree/dev/packages/vue-docgen-cli).
7
+
This npm package serves as a command line script designed to analyze your JavaScript, Vue, or TypeScript source code. Leveraging [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) and [vue-docgen-cli](https://github.com/vue-styleguidist/vue-styleguidist/tree/dev/packages/vue-docgen-cli), it dynamically generates markdown files tailored for VuePress.
If you do not want to run`vuepress-jsdoc` again and again and again.
@@ -137,12 +118,13 @@ module.exports = {
137
118
138
119
## Custom readme
139
120
140
-
You can easily add a custom path to your readme by using the `--readme ./path/to/file.md` parameter. If you move a `README.md` inside your source folder, it should resolve it automatically.
141
-
You can set the title by passing it to the `sidebarTree('Mainpage title')` function inside your `./.vuepress/config.js`.
121
+
To include a custom path for your readme, simply utilize the `--readme ./path/to/file.md` parameter. If you relocate a `README.md` file into your source folder, the system will automatically resolve it.
122
+
123
+
For setting the title, provide it as an argument to the `sidebarTree('Mainpage title')` function within your `./.vuepress/config.js` file.
142
124
143
125
## @vuepress comment block
144
126
145
-
You can add custom meta data to your pages by using the `@vuepress` block:
127
+
Enhance your page customization by incorporating custom metadata through the `@vuepress` block:
146
128
147
129
```javascript
148
130
/*
@@ -160,15 +142,13 @@ Use `headline` to add a custom `h1` title.
160
142
161
143
## Typescript
162
144
163
-
To use typescript, you have to install these dev-dependencies:
145
+
To integrate TypeScript support, install the following dev-dependencies with the following command:
Next, you have to add a `jsdoc.json` to your project with some settings and add it with the `-c` parameter.
170
-
You can find a full working example with all settings inside the `./example` folder.
171
-
The example shows also how to use babel-`plugins`.
151
+
After installation, include a `jsdoc.json` file in your project with specific settings, and reference it using the `-c` parameter. For a comprehensive example with all the necessary configurations, refer to the `./example` folder. The example also demonstrates the usage of Babel plugins.
0 commit comments