🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

create-electron-documentation

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-electron-documentation

Generator to easily create new documentation pages for Electron with code examples.

0.0.2
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

create-electron-documentation

The goal of this package is to help developers create the scaffolding for Electron examples faster.

How to use it?

Electron's documentation is under the /docs folder of the main repo. You will have to clone it locally and call the following script from one of the folders under /docs (e.g.: /docs/tutorial):

npm create electron-documentation

The script will prompt you to enter the documentation page title and description:

> npm create electron-documentation
> Title:
> my-new-doc-page
> Description:
> A description for my new doc page

Once executed, the following files will be created:

  • A markdown file the-provided-title.md in the folder you invoked the script
  • A new folder under /docs/fiddles/the-provided-title with a minimum fiddle example for your documentation following good practices.

At this point, feel free to modify any of them or move the fiddle somewhere else (but remember to update the reference in the markdown file!).

Thanks for contributing to Electron!

FAQs

Package last updated on 29 Apr 2021

Did you know?

Socket

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.

Install

Related posts