
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
graphdoc-plugin-schema
Advanced tools
GraphQL documentation using configurable graphdoc document plugin
1 . Add dependencies:
package.json
:
..
"devDependencies": {
"@2fd/graphdoc": "2.4.0",
"graphdoc-plugin-schema": "1.0.0",
..
2 . If default options are not suitable, then configure graphdoc-plugin-schema
:
package.json
:
{
"graphdoc-plugin-schema": {
"documentTitle": "The Description", // default: "Description"
"enableAssets": false // default: true
}
}
3 Use graphdoc-plugin-schema
:
package.json
:
graphdoc -p graphdoc/../../graphdoc-plugin-schema -s ./schema.GraphQL -o ./build/documentation
graphdoc/../../
this is required to get external plugins working ingraphdoc
.
graphdoc-plugin-schema
provides a way to use graphdoc
default document-schema
plugin with other custom kinds without breaking (being also faster that document-schema
).
package.json
:
{
"graphdoc-plugin-schema": {
"documentTitle": "Description",
"enableAssets": true
}
}
documentTitle
: title of the document section.enableAssets
: if set to false
, then it will disable all the assets provided by the plugin, i.e. script and css files will not be included.The following shows where the documentTitle
is located, using the example created by graphdoc
, Pokemon GraphQL:
Don't forget:
At life:
At work:
FAQs
GraphQL schema HTML documentation generation, using configurable graphdoc document-schema plugin
The npm package graphdoc-plugin-schema receives a total of 111 weekly downloads. As such, graphdoc-plugin-schema popularity was classified as not popular.
We found that graphdoc-plugin-schema demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.