Skip to content

Commit 4eeaa4a

Browse files
committed
Migrate documentation to ReadTheDocs format
https://www.mkdocs.org is used as it provides ReadTheDocs support and requires only markdown files.
1 parent 014755e commit 4eeaa4a

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ Also, there are several optional addons which can be useful in some circumstance
4747
## Test name template
4848
Use the following test name template - `'<command args>': <describe what will be tested>` like
4949
`'acquire-repository': raise an error if cloneable URL isn't set`.
50+
51+
# Documentation preview
52+
Please install required dependencies by `pip install -r docs/requirements.txt`. After, run `mkdocs serve`
53+
and open <http://127.0.0.1:8000/> in a browser. That's it!
File renamed without changes.

docs/licence.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mkdocs==1.0.4

mkdocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
site_name: Elegant git
2+
site_url:
3+
site_description:
4+
site_author: Dmytro Serdiuk
5+
repo_url: https://github.com/bees-hive/elegant-git
6+
theme: readthedocs
7+
nav:
8+
- Home: index.md
9+
- License: licence.md
10+
11+
copyright: Copyright &copy; 2019 <a href="https://extsoft.pro">Dmytro Serdiuk</a>, Maintained by <a href="https://github.com/bees-hive/elegant-git/graphs/contributors">project contributors</a>.
12+
plugins:
13+
- search

0 commit comments

Comments
 (0)