All Projects → uri-chandler → makeitpdf

uri-chandler / makeitpdf

Licence: MIT license
A close-to-code documentation helper

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to makeitpdf

C4 Builder
This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
Stars: ✭ 164 (+993.33%)
Mutual labels:  plantuml, diagrams
Swiftplantuml
A command-line tool and Swift Package for generating class diagrams powered by PlantUML
Stars: ✭ 34 (+126.67%)
Mutual labels:  plantuml, diagrams
Kroki
Creates diagrams from textual descriptions!
Stars: ✭ 774 (+5060%)
Mutual labels:  plantuml, diagrams
Plantuml Service
High-performance HTTP service for PlantUML, used in Kibela
Stars: ✭ 86 (+473.33%)
Mutual labels:  plantuml
Plantuml Previewer.vim
Vim / Neovim plugin for preview PlantUML
Stars: ✭ 119 (+693.33%)
Mutual labels:  plantuml
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (+1206.67%)
Mutual labels:  plantuml
Awesome-Retro-Docs
A curated collection of technical documentation for Arcades, Handhelds, Consoles, Computers and MCU’s.
Stars: ✭ 128 (+753.33%)
Mutual labels:  diagrams
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+7626.67%)
Mutual labels:  plantuml
Azure Plantuml
PlantUML sprites, macros, and other includes for Azure services
Stars: ✭ 247 (+1546.67%)
Mutual labels:  plantuml
Cli
A command line utility for Structurizr.
Stars: ✭ 173 (+1053.33%)
Mutual labels:  plantuml
Plantuml Icon Font Sprites
plantuml-font-icon-sprites
Stars: ✭ 242 (+1513.33%)
Mutual labels:  plantuml
Go Plantuml
Generate plantuml diagrams from go source files or directories
Stars: ✭ 167 (+1013.33%)
Mutual labels:  plantuml
Umldoclet
Automatically generate PlantUML diagrams in javadoc
Stars: ✭ 138 (+820%)
Mutual labels:  plantuml
Plantumlclassdiagramgenerator
This is a generator to create a class-diagram of PlantUML from the C# source code.
Stars: ✭ 213 (+1320%)
Mutual labels:  plantuml
Asciidocfx
Asciidoc Editor and Toolchain written with JavaFX 16 (Build PDF, Epub, Mobi and HTML books, documents and slides)
Stars: ✭ 1,533 (+10120%)
Mutual labels:  plantuml
Planter
Generate PlantUML ER diagram textual description from PostgreSQL tables
Stars: ✭ 251 (+1573.33%)
Mutual labels:  plantuml
Pandoc Plot
Render and include figures in Pandoc documents using your plotting toolkit of choice
Stars: ✭ 75 (+400%)
Mutual labels:  plantuml
Database To Plantuml
Compile PostgreSQL and MySQL table information into a PlantUML description.
Stars: ✭ 157 (+946.67%)
Mutual labels:  plantuml
Hands On Devops
A hands-on DevOps course covering the culture, methods and repeated practices of modern software development involving Packer, Vagrant, VirtualBox, Ansible, Kubernetes, K3s, MetalLB, Traefik, Docker-Compose, Docker, Taiga, GitLab, Drone CI, SonarQube, Selenium, InSpec, Alpine 3.10, Ubuntu-bionic, CentOS 7...
Stars: ✭ 196 (+1206.67%)
Mutual labels:  plantuml
C4-PlantumlSkin
This library provides skinning to create C4 diagrams using PlantUml
Stars: ✭ 74 (+393.33%)
Mutual labels:  plantuml

makeitpdf

A close-to-code, modular - and visual - documentation helper.

Motivation

I wanted a better way to communicate software design.
And, it needed to be close to the code, so that it will empower developers on my team, and not slow them down or become a hassle.

The result is short & simple methodology (plus this tool), where:

  1. Solution.md files are kept along source code files

  2. Outer Solution.md files include lower level files (components hierarchy in code is well represented in documentation this way)

  3. Developers can draw diagrams using code - which is their natural way for expressing their thoughts and design processes (using PlantUML)

Install

npm i -g makeitpdf

Usage

makeitpdf --source path/to/Solution.md

Short Example

Imagine a project like the following (or your own):

/my-project
  /Component_One
    one.ts
    one.spec.ts
    Solution.md

  /Component_Two
    two.ts
    two.spec.ts
    Solution.md

  ...

  Functional_Spec.md

And Functional_Spec.md looks like this:

# My Project
This is our amazing project.  
It does really cool stuff!

[:Component One](Component_One/Solution.md)
[:Component Two](Component_Two/Solution.md)

You then render everything together using this:

makeitpdf --source Functional_Spec.md
  • Typically, this will be a git-hook on every push or something like that, uploading the resulting PDF file to your documentation system etc ...

  • A developer working on any part of the project can easily update the documentation of the relevant component or module, hassle free

  • Please see the /examples folder for a full example of how modular your documentation can be

Features

  • Markdown files can include other Markdown files
  • PlantUML syntax for diagrams
  • Auto-generated Table Of Contents
  • Outputs a single PDF file you can easily share and automate


Nested Markdown files

You can include Markdown in other Markdown files using the following syntax:

## Some Foo Notes
[:Foo Placeholder](foo.md)

Notes

  • This will load the contents of foo.md (from the current folder)
  • The path to "foo.md" is always relative to the current file
  • Note that "Foo Placeholder" can be any name you want for the placeholder

PlantUML Diagrams

Add PlantUML diagrams to your document with the following syntax:

## My Solution
Alice can send a message to Bob, and then Bob replies.

    ```plantuml
    @startuml
    Alice -> Bob    :Hi Bob!
    Bob   -> Alice  :Oh, Hi Alice!
    @enduml
    ```    

Notes

This will be rendered using the PlantUML public server, and added as an image in the resulting PDF file


Auto-generated Table-Of-Contents

Just add ${toc} where you want the Table Of Contents to appear:

# My Solution
This is my amazing feature.

## Table Of Contents
${toc}

...


Tips & Tricks

Line breaks

Line breaks can really help make the final document much cleaner.
Luckily, Markdown supports HTML, so I recommend adding this at the top of each separate component (i.e. each separate markdown file):

<div style="page-break-after:always"></div>

## My component
...

GitHub Integration

At the moment, GitHub doesn't support rendering of PlantUML diagrams within a Markdown file.
As an alternative, there's this awesome Chrome / Firefox extension you can use:


To see this in action after you installed the extension, just browser through the Markdown files in the examples folder here

VSCode

I really like seeing my documentation fully rendered when I'm working in VSCode.
To increase your productivity, I highly recommend the following extensions:

  • PlantUML
    This extension integrates well with the built-in Markdown preview sidebar that ships by default with VSCode.
    When your file includes PlantUML diagrams, they will render nicely in the preview sidebar

  • vscode-pdf
    Lets me view the final PDF file within VSCode, saves me the time to switch between a PDF viewer and VSCode.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].