GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thlorenz/jsdoc-githubify: A transform that adapts html files generated with jsdoc to be rendered in a github wiki or readme.

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

jsdoc-githubify build status

A transform that adapts html files generated with jsdoc to be rendered in a github wiki or readme.

As part of that it converts all source code indicators to point to the relevant file inside your github repository.

Installation

npm install jsdoc-githubify

How do I use this?

This transform is compatible with the following tools:

  • mutiny
  • catw
  • browserify

wicked is using this transform to adapt html files generated by jsdoc in order to generate API wiki pages for your project.

It uses mutiny to run the transform.

API

gitifyTransform(file)

Transforms the piped jsdoc generated html to make it usable on github, i.e. in a Readme or wiki

The resulting html has the following transformations:

  • all code sample links are redirected point to gihub repo blob
  • wrap in div.jsdoc-githubify for styling

Note:

The github blob url is derived from the remote of the github repository in the current directory and the currently checked out branch is used. You can override these with the following environment vars:

  • JSDOC_GITHUBIFY_REMOTE
  • JSDOC_GITHUBIFY_BRANCH

@name gitifyTransform @function params:

  • file String filename ignored by this transform

returns:

TransformStream into which to pipe the html string generated by jsdoc

License

MIT

About

A transform that adapts html files generated with jsdoc to be rendered in a github wiki or readme.

Resources

Readme
MIT license
Activity

Stars

20 stars

Watchers

2 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.