Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 816 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 816 Bytes

ExDoc env

A Devbox environment for ExDoc.

Setup

ExDoc is added as a Git submodule. To checkout the submodule when cloning:

$ git clone --recurse-submodules [email protected]:DavidOliver/ex_doc-env.git

You can subsequently add your own fork of ExDoc as a remote from within the ex_doc directory.

$ cd ex_doc
$ git remote add <name> <url>

Usage

Launch the environment:

$ devbox shell

Develop ExDoc as usual:

(devbox) $ cd ex_doc
(devbox) $ mix setup
(devbox) $ mix build
(devbox) $ npm run --prefix assets build:watch

The built documentation resides in the ex_doc/doc directory.

To make the built documentation available to other devices at port 8082:

(devbox) $ devbox services up