Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@tinymce/moxiedoc
Advanced tools
A tool for generating API documentation
This project maintains Moxiedoc, a tool used to build API reference documentation. If you have any modifications you wish to contribute, fork this project, make the changes and submit a pull request. You will need to sign the contributors license agreement, which will be emailed to you upon creating the pull request.
To create API reference documentation from a development version of moxiedoc, run:
yarn build
node ./dist/lib/cli.js PATH/TO/API_FILE_FOLDER
Moxiedoc provides the following options to customise the format of the output documentation:
-o --out <path>: location of output files, default: 'tmp/out.zip'
-t --template <template>: documentation type: default: 'cli'; 'antora', 'github', 'moxiewiki', 'singlehtml', 'tinymcenext', 'xml'
-s --structure <type>: default: 'default'; 'legacy'
-v --verbose: verbose output
--debug: debug output
--dry: dry run only syntax check
--fail-on-warning: fail if warnings are produced
The output JSON takes the form of the following schema:
{
"namespace.Class": {
"type": "class|enum|struct|mixin|interface",
"members": [
{
"type": "method|field|property|event|constant|callback",
"static": true,
"abstract": true,
"name": "doStuff",
"access": "private|protected|internal|public",
"extends": "namespace.Class",
"implements": ["namespace.Interface"],
"deprecated": "Text about deprecation",
"description": "Do stuff",
"mixes": ["namespace.Class1", "namespace.Class2"],
"examples": [
{"text": "Some example"},
{"caption": "Some example", "text": "Some example"}
],
"params": [
{"name": "mystuff", "type": "string", "description": "My stuff"}
],
"returns": {
{"type": "string", "description": "Returns string."}
}
}
]
}
}
FAQs
A tool for generating API documentation
The npm package @tinymce/moxiedoc receives a total of 375 weekly downloads. As such, @tinymce/moxiedoc popularity was classified as not popular.
We found that @tinymce/moxiedoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.