Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

For documenting and open source hardware project with minimal effort, so you can stop writing and git building.

Project description

Git-Building

For documenting and open source hardware project with minimal effort, so you can stop writing and git building.

While we work out the best syntax major things might change! If you have syntax suggestions please raise an issue!

How to install Git-Building

To install (for Python 3.6+)

pip install gitbuilding

However if you wish to contribute to development of Git-Building you may need to build the javascript editor from source please see the dedicated building/contributing page

Goal

The goal of Git-Building is to give you the freedom to write instructions in the form and structure that you want using markdown. Some extra syntax is added to generate the difficult things like bills of materials. The idea is that you are free to layout your instructions, the Git-Building is automates the tedious counting of parts.

In Git-Building you are able to

  • Write the instructions as you go along in markdown
  • Tag links in the code with simple in-line YAML to add meta data such as how many will be used
  • Simple way to list off the shelf parts including the part numbers for multiple suppliers
  • Simple syntax for adding in bill of materials, or naming a link with the title of the linked page
  • A single script that generates new markdown or html with link names, bills of materials etc

An example is available.

Running Git-Building

Starting a new empty project

Open your terminal in an empty folder you want to use for your documentation and run

gitbuilding new

empty documentation files will be added to the directory.

Building the documentation

Open your terminal and run

gitbuilding build

this will build your the documentation in your folder assuming you have a valid buildconf.yaml file (see below).

Previewing the documentation or use the live editor

Open your terminal and run

gitbuilding serve

and then open a browser and navigate to http://localhost:6178/. This will show the documentation in a browseable form. You can also edit the documentation directly from your browser.

Build a static-html site

Once you have built the documentation with gitbuilding build you can convert this into html with

gitbuilding build-html

Getting help

You can get more detail on the command line options by running

gitbuilding help

You can get help for a specific command with

gitbuilding help <command>

Git-Building Syntax

Git-Building largely follows markdown syntax with some YAML configuration. Full details are available on the Git-Building syntax page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gitbuilding, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size gitbuilding-0.2.0-py3-none-any.whl (697.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gitbuilding-0.2.0.tar.gz (678.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page