Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
auto-docs
Advanced tools
Readme
"scripts": {
"manual": "testcafe \"chrome:headless --kiosk --incognito --force-device-scale-factor=1.5\" node_modules/auto-docs/ -s docs/pics",
"files": "node node_modules/auto-docs/",
"serve": "docsify serve docs"
}
To generate with screenshots npm run manual
also
To run without brower commands use npm run files
Once generated.
To run document server npm run serve
How you can open localhost:3000
true
check if the screen has chackedlang`message`
Add this CSS
<style>
p{
position: relative;
}
img[alt='videobutton']{
pointer-events: none;
position: absolute;
z-index: 3;
top: calc( 50% - 50px);
left: calc( 50% - 50px);
width: 100px;
}
</style>
Add this index.html
window.$docsify = {
plugins: [
function (hook, vm) {
hook.afterEach(function(html, next) {
if(html.includes("youtube")){
$(html).find("img[src*='youtube']").parent().toArray()
.map(elem => $(elem))
.forEach( elemA =>{
const link = elemA.attr("href")
const [id ,time] = link.split("/").pop().split("?")
const start = time ? time.match(/\d+/)[0] : 0
const elemToReplace = elemA.parent().html().replace(new RegExp(" data-origin=", "g"),"data-origin=")
const newElem = `<iframe width="100%" height="433" src="https://www.youtube.com/embed/${id}?start=${start}" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>`
html = html.replace(elemToReplace,newElem)
} )
}
next(html)
})
}
]
// ...
}
From with the manual folder you should place a config.json file
Example:
{
"server":"http://localhost:3000/myapp/",
"only":["1-Welcome","1-How to log in"],
"waitBeforeScreenShot":1000,
"login":{
"user":["#username", "admin"],
"pass":["#password", "admin"],
"url":"login.html",
"button":"#loginButton"
}
}
FAQs
A screenshot & markdown generator
We found that auto-docs 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).