diff --git a/RoboFile.php b/RoboFile.php index d723ea0..de23eba 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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'); } /** diff --git a/mkdocs.yml b/doc/mkdocs.yml similarity index 97% rename from mkdocs.yml rename to doc/mkdocs.yml index 58fe456..f4ebd12 100644 --- a/mkdocs.yml +++ b/doc/mkdocs.yml @@ -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 diff --git a/phpdoc.xml b/doc/phpdoc.xml similarity index 70% rename from phpdoc.xml rename to doc/phpdoc.xml index 88afa6c..4a423d8 100644 --- a/phpdoc.xml +++ b/doc/phpdoc.xml @@ -3,16 +3,16 @@