You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Daniel Seifert 4686d48902
Merge remote-tracking branch 'remotes/upstream/master'
3 years ago
.github Support Analytics 3 years ago
bin Remove daux.phar 6 years ago
daux don't forget configuration in case of deeper source directory 5 years ago
daux_libraries Update dependencies 3 years ago
docker Update all non-major dependencies Docker tags 3 years ago
docs Allow to create a `style.css` file in the documentation to override some styles. #180 3 years ago
examples/multilanguage Fix multilanguage, make an example, fixes #416 6 years ago
libs Merge remote-tracking branch 'remotes/upstream/master' 3 years ago
scripts Restore report change 3 years ago
src Allow images to be displayed inline #204 3 years ago
templates Allow to create a `style.css` file in the documentation to override some styles. #180 3 years ago
tests More reformatting 3 years ago
themes Merge remote-tracking branch 'remotes/upstream/master' 3 years ago
.dockerignore Add translation of modified_at time, using php-intl 5 years ago
.editorconfig Add an .editorconfig file 9 years ago
.gitattributes Add a .gitattributes file 9 years ago
.gitignore Restore report change 3 years ago
.htaccess Update htaccess 8 years ago
.php_cs More reformatting 3 years ago Reformat documentation 3 years ago
Dockerfile Update composer Docker tag to v1.10.5 3 years ago
LICENSE Adding the MIT License 10 years ago Update 3 years ago
composer.json Merge remote-tracking branch 'remotes/upstream/master' 3 years ago
composer.lock Update dependencies 3 years ago
crafty.config.js Use iife, fix CSS linting warnings 3 years ago
global.json Remove unused translations 3 years ago
index.php Change Daux website 6 years ago
package.json Switch search to use jsonp to load the index, fully works offline. #198 3 years ago
phpunit.xml Update dependencies 5 years ago
renovate.json Change renovate schedule 3 years ago Fix Actions workflow, add SonarCloud 3 years ago
yarn.lock Update dependencies 3 years ago

Latest Version Software License GitHub Workflow Status Coverage Status Quality Score Total Downloads is a documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.


  • 100% Mobile Responsive
  • CommonMark compliant (a Markdown specification)
  • Supports Markdown tables
  • Auto created homepage/landing page
  • Auto Syntax Highlighting
  • Auto Generated Navigation
  • 4 Built-In Themes or roll your own
  • Functional, Flat Design Style
  • Shareable/Linkable SEO Friendly URLs
  • Built On Bootstrap
  • No Build Step
  • Git/SVN Friendly
  • Supports Google Analytics and Piwik Analytics
  • Optional code float layout
  • Static Output Generation


This is a list of sites using

Do you use Send me a pull request or open an issue and I will add you to the list.


PHP and Composer

If you have PHP and Composer installed, you can install the dependency

composer global require daux/

# Next to your `docs` folder, run
daux generate

You can then use the daux command line to generate your documentation.

If the command isn't found, ensure your $PATH contains ~/.composer/vendor/bin


Or if you wish to use Docker, the start of the command will be :

docker run --rm -it -w /build -v "$PWD":/build -u "$(id -u):$(id -g)" daux/ daux

Run on a server

Download this repository as a zip, unpack, and put your documentation in the docs folder, you can then serve it with Apache or Nginx.


The command line tool has two commands: generate and serve, running without an argument will automatically run the generate command.

You can run daux --help to get more details about each command.


By default, the generator will look for folders in the docs folder. Add your folders inside the docs folder. This project contains some example folders and files to get you started.

You can nest folders any number of levels to get the exact structure you want. The folder structure will be converted to the nested navigation.

If you'd prefer to keep your docs somewhere else (like outside of the root directory) you can specify your docs path in the global.json file.


The generator will look for Markdown files (*.md and *.markdown) inside the docs folder and any of the subfolders within docs.

You must use underscores instead of spaces. Here are some example file names and what they will be converted to:


  • = Getting Started
  • = API Calls
  • = Something Else-Cool
  • = 5 Ways To Be Happy


  • File Name With = FAIL


To sort your files and folders in a specific way, you can prefix them with a number and underscore, e.g. /docs/ and /docs/ This will list Hello World before Features, overriding the default alpha-numeric sorting. The numbers will be stripped out of the navigation and urls. For the file 6 Ways to Get Rich, you can use /docs/

Landing page

If you want to create a beautiful landing page for your project, simply create a file in the root of the /docs folder. This file will then be used to create a landing page. You can also add a tagline and image to this page using the config file like this:

    "title": "",
    "tagline": "The Easiest Way To Document Your Project",
    "image": "app.png"

Note: The image can be a local or remote image. Use the convention <base_url> to refer to the root directory of the Daux instance.

Section landing page

If you are interested in having a landing page for a subsection of your docs, all you need to do is add an file to the folder. For example, /docs/01_Examples has a landing page for that section since there exists a /docs/01_Examples/ file. If you wish to have an index page for a section without a landing page format, use the name


To customize the look and feel of your documentation, you can create a config.json file in the of the /docs folder. The config.json file is a simple JSON object that you can use to change some of the basic settings of the documentation.


Change the title bar in the docs

    "title": ""


We have 4 built-in Bootstrap themes. To use one of the themes, just set the theme option to one of the following:

  • daux-blue
  • daux-green
  • daux-navy
  • daux-red
    "html": { "theme": "daux-green" }

More options

Many other options are available:

Running Remotely

Copy the files from the repo to a web server that can run PHP 7.2.0 or newer.

Running Locally

There are several ways to run the docs locally. The recommended way is to run daux serve which will execute PHP's embedded server.

By default the server will run at: http://localhost:8085

This is really only intended be used when you are writing/updating a ton of docs and want to preview the changes locally.

Generating a set of static files

These can be uploaded to a static site hosting service such as

Generating a complete set of pages, with navigation

daux --source=docs --destination=static

Running on IIS

If you have set up a local or remote IIS web site, you may need a web.config with:

  • A rewrite configuration, for handling clean urls.
  • A mime type handler for less files, if using a custom theme.

Clean URLs

The web.config needs an entry for <rewrite> under <system.webServer>:

                <rule name="Main Rule" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll">

To use clean URLs on IIS 6, you will need to use a custom URL rewrite module, such as URL Rewriter.

PHP Requirements is compatible with the officially supported PHP versions; 7.2.0 and up.

Extensions needs the following PHP extensions to work : php-mbstring and php-xml.

If you encounter an error similar to utf8_decode() not found this means that you're missing the php-xml package.


If you need help using, or have found a bug, please create an issue on the GitHub repo.