@graphql-markdown/docusaurus 1.23.0 → 1.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist/index.js +1 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# @graphql-markdown/docusaurus
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@graphql-markdown/docusaurus)
|
|
4
|
+
[](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
|
|
5
|
+
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_docusaurus)
|
|
6
|
+
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_docusaurus)
|
|
7
|
+
[](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=docusarus)
|
|
5
8
|
|
|
6
9
|
**Docusaurus** [docs feature](https://docusaurus.io/docs/docs-introduction) plugin for generating **Markdown documentation** from a **GraphQL schema**.
|
|
7
10
|
|
|
@@ -30,15 +33,15 @@ The plugin adds a new command `graphql-to-doc` to the [Docusaurus CLI](https://d
|
|
|
30
33
|
npx docusaurus graphql-to-doc
|
|
31
34
|
```
|
|
32
35
|
|
|
33
|
-
Command line options are described in the [documentation settings](https://graphql-markdown.
|
|
36
|
+
Command line options are described in the [documentation settings](https://graphql-markdown.dev/docs/settings) page.
|
|
34
37
|
|
|
35
38
|
## Configuration
|
|
36
39
|
|
|
37
|
-
See [documentation settings](https://graphql-markdown.
|
|
40
|
+
See [documentation settings](https://graphql-markdown.dev/docs/settings) page.
|
|
38
41
|
|
|
39
42
|
## Troubleshooting
|
|
40
43
|
|
|
41
|
-
See [documentation troubleshooting](https://graphql-markdown.
|
|
44
|
+
See [documentation troubleshooting](https://graphql-markdown.dev/docs/troubleshooting) page.
|
|
42
45
|
|
|
43
46
|
## License
|
|
44
47
|
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ function pluginGraphQLDocGenerator(_, options) {
|
|
|
37
37
|
.option("-h, --homepage <homepage>", "File location for doc landing page")
|
|
38
38
|
.option("--noApiGroup", "Disable API grouping for types")
|
|
39
39
|
.option("--noCode", "Disable code section for types")
|
|
40
|
+
.option("--noExample", "Disable example section for types")
|
|
40
41
|
.option("--noParentType", "Disable parent type name as field prefix")
|
|
41
42
|
.option("--noRelatedType", "Disable related types sections")
|
|
42
43
|
.option("--noTypeBadges", "Disable badges for types")
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-markdown/docusaurus",
|
|
3
|
-
"homepage": "https://graphql-markdown.
|
|
3
|
+
"homepage": "https://graphql-markdown.dev",
|
|
4
4
|
"description": "Docusaurus plugin for generating Markdown documentation from a GraphQL schema.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/graphql-markdown/graphql-markdown/issues"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.24.1",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"clean": "rm -rf ./dist"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@graphql-markdown/core": "^1.
|
|
54
|
-
"@graphql-markdown/logger": "^1.0.
|
|
55
|
-
"@graphql-markdown/printer-legacy": "^1.
|
|
53
|
+
"@graphql-markdown/core": "^1.10.1",
|
|
54
|
+
"@graphql-markdown/logger": "^1.0.3",
|
|
55
|
+
"@graphql-markdown/printer-legacy": "^1.8.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@docusaurus/types": "^3.
|
|
59
|
-
"@graphql-markdown/types": "^1.
|
|
58
|
+
"@docusaurus/types": "^3.2.0",
|
|
59
|
+
"@graphql-markdown/types": "^1.3.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@docusaurus/logger": "*"
|