Skip to main content

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.

Source Distribution

gitbuilding-0.2.1.tar.gz (678.1 kB view hashes)

Uploaded Source

Built Distribution

gitbuilding-0.2.1-py3-none-any.whl (697.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page