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') ->copy('LICENSE.md', 'doc/about/license.md')
->run(); ->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_author: SAB International - contact@sabcomputer.com
site_url: https://dev.sabcomputer.com/gitea.php site_url: https://dev.sabcomputer.com/gitea.php
docs_dir: doc docs_dir: .
site_dir: web site_dir: ../web
repo_name: GitHub repo_name: GitHub
repo_url: https://github.com/sab-international/gitea.php repo_url: https://github.com/sab-international/gitea.php

View File

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