Skip to content

jlblancoc/git2docs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

git2docs

Generating docs for each Git tag & branch, made easy

demo

Features

  • Checks for updates in Git branches or new tags and generates their documentation.
  • Git SHA values are cached for each branch so documentation is only (re)built if necessary.
  • Compatible with Doxygen, Sphinx and any other documentation tool.
  • Generates a summary table for each branch with build time, success/error status, etc.
  • Exposes a list of logs for each attempt to build documentation. Local path names are replaced to avoid exposing information on machine local paths.
  • Written in pure Bash. No dependencies. Install it anywhere.

Check out this example output.

Instalation

  • Clone this repository.
  • Make a copy of the configuration template:
cp config.sh.template config.sh
  • Edit config.sh to put the URI of your Git repository, etc. See all required parameters here

  • Add a call to bash [PATH_TO]/git2docs.sh to your crontab if you want it to be executed periodically (e.g. on a hourly basis).

  • You can also manually invoke git2docs.sh. To check that everything is working as expected, run it in versbose mode:

VERBOSE=1 ./git2docs.sh

Releases

No releases published

Packages

No packages published