All Projects β†’ docuowl β†’ docuowl

docuowl / docuowl

Licence: MIT, Unknown licenses found Licenses found MIT LICENSE Unknown COPYING.md
πŸ¦‰ A documentation generator

Programming Languages

go
31211 projects - #10 most used programming language
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to docuowl

nodejs-markdown-site
Markdown-based site (blog, project documentation, etc) written with NodeJS.
Stars: ✭ 68 (-94.33%)
Mutual labels:  documentation-generator, documentation-site
doctave
A batteries-included developer documentation site generator
Stars: ✭ 349 (-70.89%)
Mutual labels:  documentation-generator, documentation-site
Redoc
πŸ“˜ OpenAPI/Swagger-generated API Reference Documentation
Stars: ✭ 15,935 (+1229.02%)
Mutual labels:  documentation-generator
website
The DocPad Website. Replaced by GitBook: https://docpad.bevry.me
Stars: ✭ 22 (-98.17%)
Mutual labels:  documentation-site
symbiota-docs
Symbiota software centralized hub for documentation
Stars: ✭ 21 (-98.25%)
Mutual labels:  documentation-website
Spectaql
Autogenerate static GraphQL API documentation
Stars: ✭ 198 (-83.49%)
Mutual labels:  documentation-generator
strictdoc
Software for writing technical requirements specifications.
Stars: ✭ 80 (-93.33%)
Mutual labels:  documentation-generator
Drf Yasg
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Stars: ✭ 2,523 (+110.43%)
Mutual labels:  documentation-generator
apollo-studio-community
🎑 Β GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. πŸ“¬
Stars: ✭ 212 (-82.32%)
Mutual labels:  documentation-generator
api-principles
The applicable SBB API Principles
Stars: ✭ 31 (-97.41%)
Mutual labels:  documentation-site
numpydoc.el
Insert NumPy style docstrings in Python functions.
Stars: ✭ 33 (-97.25%)
Mutual labels:  documentation-generator
godoc-generate
Default godoc generator - make your first steps towards better code documentation
Stars: ✭ 21 (-98.25%)
Mutual labels:  documentation-generator
Ford
Automatically generates FORtran Documentation from comments within the code.
Stars: ✭ 245 (-79.57%)
Mutual labels:  documentation-generator
BooGi
Generate GitBook-like modern docs/tutorial websites using Gatsby
Stars: ✭ 117 (-90.24%)
Mutual labels:  documentation-generator
Dart
DART is a test documentation tool created by the Lockheed Martin Red Team to document and report on penetration tests, especially in isolated network environments.
Stars: ✭ 207 (-82.74%)
Mutual labels:  documentation-generator
PowerDocu
Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps
Stars: ✭ 190 (-84.15%)
Mutual labels:  documentation-generator
Cgx
πŸ’»πŸ”₯CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (-84.15%)
Mutual labels:  documentation-generator
AsBuiltReport.Core
Repository for AsBuiltReport core module
Stars: ✭ 38 (-96.83%)
Mutual labels:  documentation-generator
nim-package-directory
Nim package directory - documentation builder
Stars: ✭ 47 (-96.08%)
Mutual labels:  documentation-site
NextBook
NextBook is quick and easy way to build technical books or documentation with markdown that run blazingly fast.
Stars: ✭ 153 (-87.24%)
Mutual labels:  documentation-generator

πŸ¦‰ Docuowl

Docuowl generates a static single-page documentation from Markdown files

Rationale

As a long-time fan of documentation style made by Stripe, and Markdown, I decided to use the former as a base to create a pretty documentation generator that outputs something like Stripe's. Stripe also generously allowed me to use their layout, so here's a big thank you to them! β™₯️

Demo

Looking for a demo? A simple demo is available at https://docuowl.github.io/demo/!

Docuowl Screenshot

Installing

Brew

To install Docuowl using Homebrew, execute the following command:

brew install docuowl/tap/docuowl

Manually

Refer to the releases page to get the latest version.

Documentation Organization

Docuowl takes a directory as input. The directory is expected to have one directory for each section or group. Each group may have subsections, which by their turn must also be placed into directories. Each Section is required to have an content.md file, containing the Frontmatter for that section, and an optional sidenotes.md file, that will be rendered to the right of the section. The Frontmatter must contain at least a Title property, and an optional ID property containing a unique slug for that section. Each Group must contain a single meta.md file, containing a Frontmatter like a Section, and an optional content following the frontmatter.

For instance, take the following directory tree as example:

.
β”œβ”€β”€ 1-introduction
β”‚   └── content.md
β”œβ”€β”€ 2-errors
β”‚   β”œβ”€β”€ content.md
β”‚   └── sidenotes.md
β”œβ”€β”€ 3-authentication
β”‚   β”œβ”€β”€ content.md
β”‚   └── sidenotes.md
β”œβ”€β”€ 4-authorization
β”‚   β”œβ”€β”€ 1-login
β”‚   β”‚   β”œβ”€β”€ content.md
β”‚   β”‚   └── sidenotes.md
β”‚   β”œβ”€β”€ 2-logout
β”‚   β”‚   β”œβ”€β”€ content.md
β”‚   β”‚   └── sidenotes.md
β”‚   β”œβ”€β”€ 4-me
β”‚   β”‚   β”œβ”€β”€ content.md
β”‚   β”‚   └── sidenotes.md
β”‚   └── meta.md
β”œβ”€β”€ 5-foo
β”‚   β”œβ”€β”€ 1-listing-foos
β”‚   β”‚   β”œβ”€β”€ content.md
β”‚   β”‚   └── sidenotes.md
β”‚   β”œβ”€β”€ 2-merged-foos
β”‚   β”‚   β”œβ”€β”€ content.md
β”‚   β”‚   └── sidenotes.md
β”‚   └── meta.md
β”œβ”€β”€ 6-bars
β”‚   β”œβ”€β”€ content.md
β”‚   └── sidenotes.md
β”œβ”€β”€ 7-list-foobars
β”‚   β”œβ”€β”€ content.md
β”‚   └── sidenotes.md
β”œβ”€β”€ 8-get-foobar
β”‚   β”œβ”€β”€ content.md
β”‚   └── sidenotes.md
└── 9-foobar-data
    β”œβ”€β”€ content.md
    └── sidenotes.md

Example of meta.md:

---
Title: Authorization
---

> :warning: **Warning**: All authorization endpoints are currently in maintenance

Markdown Extensions

Docuowl introduces two new blocks to Markdown: Boxes and Attributes List.

Boxes

Boxes can only be used in sidenotes. To create a new box, use the following format:

#! This is a box
And this is the box's content

After one #!, the box will take any content that follows until one of the following conditions are met:

  1. A horizontal ruler is found (----)
  2. Another Box begins.

Attributes List

Attributes Lists can only be used in contents. To create a new Attribute List, use the following format:

#- Attribute List
- Key1 `type`
- Key1 Description

Usage

Docuowl can be invoked in two modes: Compile, and Watch.

Compile

Compilation will output a single index.html file to an specified directory, taking another directory as input. For instance:

$ docuowl --input docs --output docs-html

Watch

Watch allows one to continuously write documentation and see the preview with auto-reload. For that, use:

$ docuowl --input docs --output docs-html --watch

Docuowl v0.1
Listening on 127.0.0.1:8000

Then open your browser and point to 127.0.0.1:8000. The page will be reloaded each time a file changes in the input directory.

Building

In order to locally build, use the provided Makefile. Steps consist of running cmd/static-generator/main.go, responsible for compiling static files required by static/static.go, and running go build on cmd/docuowl/main.go.

TODO

  • Full-text Search
  • Add tests

License

This software uses other open-source components. For a full list, see the LICENSE file.

MIT License

Copyright Β© 2021 Victor Gama
Copyright Β© 2021 Real Artists

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].