All Projects → foliant-docs → Foliant

foliant-docs / Foliant

Comprehensive markdown-based documentation toolkit

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Foliant

Press
Minimalist Markdown Publishing for Nuxt.js
Stars: ✭ 181 (+144.59%)
Mutual labels:  documentation, docs, markdown
Parse Comments
Parse JavaScript code comments. Works with block and line comments, and should work with CSS, LESS, SASS, or any language with the same comment formats.
Stars: ✭ 53 (-28.38%)
Mutual labels:  documentation, docs, markdown
Gitdocs
Easy to use, SEO-friendly, beautiful documentation that lives in your git repo.
Stars: ✭ 252 (+240.54%)
Mutual labels:  documentation, docs, markdown
Vuesence Book
Minimalistic Vue.js based documentation system component
Stars: ✭ 48 (-35.14%)
Mutual labels:  documentation, docs, markdown
Docsify Tabs
A docsify.js plugin for rendering tabbed content from markdown
Stars: ✭ 65 (-12.16%)
Mutual labels:  documentation, docs, markdown
Typemill
TYPEMILL is a simple and lightweight Flat-File-CMS for authors and publishers.
Stars: ✭ 150 (+102.7%)
Mutual labels:  documentation, docs, markdown
Docsify
🃏 A magical documentation site generator.
Stars: ✭ 19,310 (+25994.59%)
Mutual labels:  documentation, docs, markdown
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (+2205.41%)
Mutual labels:  documentation, docs, markdown
Mdx Docs
📝 Document and develop React components with MDX and Next.js
Stars: ✭ 412 (+456.76%)
Mutual labels:  documentation, docs, markdown
Assemble
Community
Stars: ✭ 3,995 (+5298.65%)
Mutual labels:  documentation, docs, markdown
Catalog
Create living style guides using Markdown or React
Stars: ✭ 1,527 (+1963.51%)
Mutual labels:  documentation, docs, markdown
Bluedoc
An open-source document management tool for enterprise self host.
Stars: ✭ 579 (+682.43%)
Mutual labels:  documentation, docs, markdown
Docma
A powerful tool to easily generate beautiful HTML documentation from JavaScript (JSDoc), Markdown and HTML files.
Stars: ✭ 287 (+287.84%)
Mutual labels:  documentation, docs, markdown
Readme
👋 - The documentation for being an Artsy Engineer
Stars: ✭ 380 (+413.51%)
Mutual labels:  documentation, docs, markdown
Verb
HEADS UP! Verb is going though a major transition, we've completely refactored everything from the ground up. If you're interested, please see the dev branch.
Stars: ✭ 442 (+497.3%)
Mutual labels:  documentation, docs, markdown
Docnado
Rapid documentation tool that will blow you away...
Stars: ✭ 67 (-9.46%)
Mutual labels:  documentation, docs, markdown
Bsdoc
📚 Documentation Generator for BuckleScript
Stars: ✭ 43 (-41.89%)
Mutual labels:  documentation, docs
App
Fast and searchable Ruby docs
Stars: ✭ 47 (-36.49%)
Mutual labels:  documentation, docs
Covenant Generator
`covgen` generates a code of conduct.
Stars: ✭ 48 (-35.14%)
Mutual labels:  documentation, markdown
Mkdocs With Pdf
Generate a single PDF file from MkDocs repository.
Stars: ✭ 39 (-47.3%)
Mutual labels:  documentation, markdown

PyPI Travis codecov

Foliant

Foliant is a all-in-one documentation authoring tool. It lets you produce standalone documents in pdf and docx, as well as websites, from single Markdown source.

Foliant is a higher order tool, which means that it uses other programs to do its job. For pdf and docx, it uses Pandoc, for websites it uses MkDocs.

Foliant preprocessors let you include parts of documents in other documents, show and hide content with flags, render diagrams from text, and more.

Installation

Foliant is written in Python and requires Python 3.6.

To install Foliant, use pip:

$ pip install foliant

Backends, extensions, and preprocessors are installed with pip as well. For the Quickstart, you'll need the MkDocs backend and init CLI extension:

$ pip install foliantcontrib.mkdocs foliantcontrib.init

To build pdf and docx, install the Pandoc backend:

$ pip install foliantcontrib.pandoc

Quickstart

  1. Create a new project:
$ foliant init
Enter the project name: Hello Foliant
✓ Generating Foliant project
─────────────────────
Project "Hello Foliant" created in /path/to/hello-foliant

This command creates a basic Foliant project:

hello-foliant/
├── foliant.yml
└── src
    └── index.md

1 directory, 2 files

foliant.yml is the project config file, src is the directory that contains the project source files (initially, just one file index.md).

  1. Build a website from the newly created project:
$ foliant make site -p hello-foliant/
✓ Parsing config
✓ Applying preprocessor mkdocs
✓ Making site with MkDocs
─────────────────────
Result: Hello_Foliant-0.1.0-2017-11-24.mkdocs
  1. Run a local webserver in the site directory and see the site in your browser:
$ cd Hello_Foliant-0.1.0-2017-11-24.mkdocs
$ python -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
  1. Build a standalone pdf document from the project:
$ foliant make pdf -p hello-foliant/
✓ Parsing config
✓ Applying preprocessor mkdocs
✓ Making pdf with Pandoc
─────────────────────
Result: Hello_Foliant-0.1.0-2017-11-24.pdf

Important

To produce pdf, Pandoc first converts Markdown to tex and then coverts it to pdf. To convert pdf > from tex, you need to have a LaTeX distribution installed:

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].