
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Docpages finds text inside files like this
// My file.ts
/*
@doc start
# Welcome to my project!
You're viewing {{doc_name}}
@doc end
*/
function main() {
...
}
And extracts it out alongside like this:
# Welcome to my project
You're viewing readme.md
If the current working directory includes a .gitignore file, those files are ignored by docpages.
README.md files in github are great for documenting high-level things at the module level, such as architecture, code structure. They're simple, live alongside your code, and are wonderfully rendered by github.
Howeer, README files do not live in your code, and anything which does not live in your code is liable to be forgotten about.
Docpages gives you the best of both worlds:
Docpages is not designed for API docs!
It is very early. I've only used it on this repo so far. It's quite hacky, not fully documented (lol!) and is lacking many features I would like to build (see also: 'What's missing?').
npm install -g docpages
Render docs
docpages # this directory
docpages . # this directory
docpages src # src directory
Note that docpages currently uses your .gitignore file to exclude files.
Documentation blocks are processed using the Squirrely templating engine. The variables made available to the templating engine are documented in src/templates.md.
Global templates are also used to build the final output. Run the following command to write out the current version of the default template (which adds no content)
docpages --init
FAQs
A simple tool for writing docs directly in code
We found that docpages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.