Giter Site home page Giter Site logo

leadcodedev / bubble_doc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26 KB

The Bubble project is a tool for generating documentation from markdown files, designed to be simple and effective thanks to the Dart language.

Dart 87.90% HTML 5.24% CSS 4.54% JavaScript 2.32%

bubble_doc's Introduction

Bubble Documentation

Motivation

There are a multitude of tools for designing documentation, such as Undocs, VitePress, Docusaurus and Docs-boilerplate used for all Adonis packages. The problem, with the exception of the Adonis boilerplate, is that they all use a frontend framework/library which, in my opinion, is not necessary for the design of documentation.

When we talk about documentation and thus a "content first" approach, we think directly of the Astro framework which promises relatively efficient generation of static documents from markdown files; however, this tool is not designed to be used fully for project documentation.

This is why I decided to create Bubble, a tool for generating documentation from markdown files without the need to use a frontend framework.

Choice of technologies

As a big fan of the Dart language, I decided to create Bubble using the Dart language in order to take advantage of its content generation speed during the build phase.

Note

Bubble can generate more pages than Astro ๐Ÿ‘€

Installation

Installing Bubble is very simple, just use this repository as the template for your project.

Once done, simply run the following command to install the dependencies:

dart pub get

Roadmap

  • Include sitemap.xml
  • Enhance documentation ui
  • Add algolia search engine
  • Add dark mode
  • Simplify the configuration file (via yaml)
  • Add all metadata to the markdown files
  • Target layout file from the markdown file
  • Add a search engine

Benchmark

Bubble is a very fast tool for generating documentation, here is a comparison with other tools:

  • Mac Studio M2
  • Template documentation with one collection and one marddkwn page
Iteration Astro Bubble
10 490ms 21ms
100 720ms 276ms
1000 2690ms 2462ms
10000 ? 25338ms

bubble_doc's People

Contributors

leadcodedev avatar

Stargazers

Victor G. avatar

Watchers

 avatar

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.