Attention, this repo is deprecated, to know more about hardocs current status go to hardocs.github.io
Table of Contents generated with DocToc
Documenting, maintaining and publishing hardware design can be challenging. Furthermore managing consistently the various digital objects used in hardware projects like CAD, CAM, BOM and part data lacks of structure and standards, which makes difficult to share, collaborate and publish the designs.
It is a package that facilitates the publishing and organization of hardware documentation using simple folder structuring, as well as command lines that automate repetitive tasks like naming parts,generating the web docuentation , creating tables, publishing content, among others.
- The template uses hardocs package and extends vuepress. It also builds on git workflows to make this possible.
- The usage of this package generates a
project.json
file that generates metadata about your project and allows to easily automate tasks like generating a markdown table from acsv
file, or creating abom.csv
file based on the CAD files you already have inside the project.
This project uses yarn, you'll need to install this globally before you can get started.
npm install -g yarn
Then you need to install the project dependencies:
yarn install
Now you're ready to go. To run the local dev server just use the following command:
yarn start
Your website should be available at [http://localhost:8080/]
Read more at VuePress' documentation.
This project's static Pages are built by GitLab CI, following the steps
defined in .gitlab-ci.yml
:
image: node:9.11.1
pages:
cache:
paths:
- node_modules/
script:
- yarn install
- yarn build
artifacts:
paths:
- public
only:
- gl-pages
This sets up a node9.11.1
environment, then uses yarn install
to install dependencies and yarn build
to build out the website to the ./public
directory.
It also caches the node_modules
directory to speed up sebsequent builds.