PHP Classes

File: docs/content/build-documentation.md

Recommend this page to a friend!
  Classes of Jose Luis Quintana   GImage   docs/content/build-documentation.md   Download  
File: docs/content/build-documentation.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: GImage
Create graphic images with a fluent interface
Author: By
Last change:
Date: 1 year ago
Size: 1,169 bytes
 

Contents

Class file image Download

Building documentation from source

All HTML documentation is located in the docs/ project's directory and is built using Material for MkDocs.

It's only necessary to have Docker installed.

Building documentation

By default the docs will be built in the /tmp/docs directory, to do so follow these steps.

git clone https://github.com/joseluisq/gimage.git
cd gimage
mkdir /tmp/docs
docker run -it --rm \
    -v $PWD/docs:/docs \
    -v /tmp/docs:/tmp/docs squidfunk/mkdocs-material build

!!! tip "Output the docs in a different directory"

If you want to output the docs in a different directory then append the `--site-dir=/new/dir/path/` argument to the "squidfunk/mkdocs-material" `build` command and make sure to provide the new directory path.

Development server

If you want to improve the documentation then run the built-in development server via docs/docker-compose.yml.

git clone https://github.com/joseluisq/gimage.git
cd gimage
docker-compose -f docs/docker-compose.yml up

Now the server will be available at localhost:8000