Giter VIP home page Giter VIP logo

documentos's Introduction

Documentos

The Documentos system is a way to take a series of Markdown files that can be nested or not and transforms them to HTML or PDF documents. The goal of the system is to provide a tool that can take a set of documentation along with its localizations (translations to other languages) and provide a seamless method to transform to other formats in a consistent and reproducible manor.

It provides a common way to implement documentation in a text based format while retaining the power to transform the documentation to other formats. It makes use of TOML configuration files, and Pandoc and Python to transform Markdown formatted documents into any of the other formats provided by Pandoc. This system has a heavy focus on HTML transformations.

The goal is to provide a plain text mechanism with a very light markup for software documentation. The idea is to make the documentation so that it can live along side the source code in the repository. Changes in the source code that prompt documentation revisions can live side-by-side in the repository. In fact, it is entirely possible to institute a code-review process for documentation revisions and updates.

This tool includes a sample documents folder that can help you understand how the system works. Simply clone the repo and issue the make html in the repo if you are using Linux.

$ make html

Installation

Clone the git repo:

$ git clone [email protected]:TroyWilliams3687/documentos.git

For full details, see the Documentation Repository note. It will walk you through the entire process.

Create the Virtual Environment

You can use the Makefile to create the virtual environment and install all requirements automatically:

$ make venv

Otherwise you will have to create the virtual environment manually and install the dependencies traditionally after activating the environment.

Activating the Virtual Environment

Windows

Activate the virtual environment that you want to install it too.

On Windows, using powershell:

$ .\.venv\Scripts\activate.ps1

Linux

On Linux, for most causes you can simple using the Makefile to build the system. If you need to activate the virtual environment:

$ make shell

Or manually:

$ . .venv/bin/activate

PIP install

Use pip to add the repository manually to the virtual environment where you want to use the tools.

$ python -m pip install git+https://github.com/TroyWilliams3687/documentos

Usage

You can use the code in the documentos, by importing it into your module:

import documentos

System Commands

For system commands see commands.

Documentation

The documentation can be found here. Interesting information:

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.