AguaClara / aide_document-DEPRECATED

This module is no longer being maintained due to the transition to Onshape.
MIT License
0 stars 0 forks source link

AguaClara AIDE Document

This package has the following functionality:

  1. Combine .yaml data files and .md templates to produce readable documentation files
  2. Convert documentation files to a variety of filetypes
  3. Translate documentation files to different languages

Installation Instructions

1. Install aide_document

  1. Ensure that you have pip installed by running pip -V in your terminal/command line. pip comes with Python 2 >=2.7.9 or Python 3 >=3.4, but if you don't have it, follow these instructions.
  2. Run pip install aide_document.

2. Install Pandoc

Pandoc is required for converting Markdown files to PDF. More detailed installation instructions can be found here.

3. Install a LaTeX Engine

To convert Markdown to PDF using Pandoc, you must install TeX Live for your operating system. Here are installation files for each OS:

Using the Package

You can make documentation files and convert them between various filetypes:

from aide_document import convert

Within convert, there are the following self-explanatory functions:

You can also translate the file on a line by line basis:

from aide_document import translate

Within translate, there are the following self-explanatory functions:

A sample Jekyll website for the outputs: https://aguaclara.github.io/aide_document/index.html

Presentations

Check our wiki for our presentations.