Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiki-builder

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiki-builder

Build github wikis from markdown files

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status dependencies Status license npm version

Build github wikis from markdown source files.

Setup

npm install wiki-builder --save-dev

Create a file named wikiConfig.json

{
  "wikiDirPath": "",
  "projectDirPath": "",
  "ignoreMdFiles": [],
  "ignoreMdTitles": [],
  "ignoreDirs": [],
  "statsEnabled": false,
  "useGitignore": true,
  "plugins": []
}

wikiDirPath: Path to wiki directory. ./wiki/ by default.

projectDirPath: Path to project directory. ./ by default.

ignoreMdFiles: List of files to not add to the wiki. To ignore specific files, include the path (example: ./readme.md) To ignore files by file name, don't include the path (example: readme.md)

ignoreMdTitles: Ignore by the first line of markdown files.

ignoreDirs: List of directories to ignore. Includes node_modules.

statsEnabled: Creates a stats markdown file for the wiki. This file can only be created for git repositories with commits. False by default.

useGitignore: Ignore directories and markdown files in .gitignore. True by default.

useLogger: Errors will be logged to wiki-build.log in the project's root directory. True by default.

plugins: Add plugins here. These plugins should have corresponding local node modules. If the node_modules directory is not in the same directory as the project's root, give the module (plugin) path instead of its name. Example Usage: ["plugin-one", "plugin-two"]. A list of existing plugins and a guide to creating new ones can be found in PLUGINS.md.

Usage

Run wiki-builder.

package.json example:

"scripts": {
    "wiki": "wiki-builder"
  }

npx example:

npx wiki-builder

wiki-builder puts files into the 'wikiDirPath'. If you do not have a github wiki git submodule, you can make one.

Keywords

FAQs

Package last updated on 26 Nov 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc