Moved the MkDocs settings

This commit is contained in:
Cédric Belin
2019-04-11 22:21:31 +02:00
parent 9c69045c39
commit 4408368977
3 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ class RoboFile extends Tasks {
->copy('LICENSE.md', 'doc/about/license.md')
->run();
return $this->_exec('mkdocs build');
return $this->_exec('mkdocs build --config-file=doc/mkdocs.yml');
}
/**

View File

@ -3,8 +3,8 @@ site_description: Gitea client library, in PHP.
site_author: SAB International - contact@sabcomputer.com
site_url: https://dev.sabcomputer.com/gitea.php
docs_dir: doc
site_dir: web
docs_dir: .
site_dir: ../web
repo_name: GitHub
repo_url: https://github.com/sab-international/gitea.php

View File

@ -3,16 +3,16 @@
<title>Gitea for PHP</title>
<parser>
<target>var</target>
<target>../var</target>
</parser>
<transformer>
<target>doc/api</target>
<target>../doc/api</target>
</transformer>
<transformations>
<template name="responsive"/>
</transformations>
<files>
<directory>src</directory>
<directory>../src</directory>
</files>
</phpdoc>