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

43
doc/mkdocs.yml Normal file
View File

@ -0,0 +1,43 @@
site_name: Gitea for PHP
site_description: Gitea client library, in PHP.
site_author: SAB International - contact@sabcomputer.com
site_url: https://dev.sabcomputer.com/gitea.php
docs_dir: .
site_dir: ../web
repo_name: GitHub
repo_url: https://github.com/sab-international/gitea.php
edit_uri: ''
copyright: Copyright © 2018 - 2019 SAB International
google_analytics:
- !!python/object/apply:os.getenv [GOOGLE_ANALYTICS_ID]
- auto
extra:
social:
- {type: globe, link: 'http://www.sabcomputer.com'}
- {type: github, link: 'https://github.com/sab-international'}
- {type: facebook, link: 'https://www.facebook.com/sabinternational34'}
- {type: twitter, link: 'https://twitter.com/SABDistribution'}
- {type: linkedin, link: 'https://linkedin.com/company/sab-international-sarl'}
markdown_extensions:
- admonition
- codehilite
- meta
nav:
- Overview: index.md
- Installation: installation.md
- Usage: usage.md
- About:
- Changelog: about/changelog.md
- License: about/license.md
- See also: about/see_also.md
theme:
name: material
favicon: img/favicon.ico
palette: {primary: deep purple, accent: deep purple}

18
doc/phpdoc.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<phpdoc>
<title>Gitea for PHP</title>
<parser>
<target>../var</target>
</parser>
<transformer>
<target>../doc/api</target>
</transformer>
<transformations>
<template name="responsive"/>
</transformations>
<files>
<directory>../src</directory>
</files>
</phpdoc>