An open API service indexing awesome lists of open source software.

https://github.com/cuigh/xdoc

A document site based Markdown
https://github.com/cuigh/xdoc

document documentation-tool markdown xdoc

Last synced: 7 months ago
JSON representation

A document site based Markdown

Awesome Lists containing this project

README

          

# xdoc

A document site based Markdown.

![Snapshot](xdoc.png)

## Usage

### Standalone

```bash
xdoc -d /docs
```

### Docker

First you need create a new docker image base on `cuigh/xdoc`, copy all your documents to `/docs` directory in image. Here is the sample **Dockerfile** file.

```docker
FROM cuigh/xdoc
COPY . /docs/
```

Build the image

```bash
docker build -t docs .
```

Start the container

```bash
docker run -it -p 8000:8000 docs
```

## Customize menus

**xdoc** build document menus according to filename by default, you can customize it by adding a `menu.xml` on document root directory.

```xml










```

> NOTE: **xdoc** will look for `README.md` or `index.md` as index page automatically if exists.