Skip to content

Commit

Permalink
[docs] add readthedocs doc files
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed May 4, 2020
1 parent 468e8bd commit 26c7149
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Movigo library

Movigo is a light and modern JS animation library which makes the creation of DOM element animations easier.
Movigo use new ECMAScript features and the so-called method chaining technique, and save the state of the animation in each function.
This means that you can break the chain and create new chains with additional functions by building different animations.
Library functions allow you to change CSS property values or to set some animation options.
It is also possible to extend the library with a plugin system that allows you to add functions.
You can find some use cases on the Movigo [website](https://movigo.cedoor.dev).
2 changes: 2 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Install

1 change: 1 addition & 0 deletions docs/plugins/drawer-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Drawer plugin
1 change: 1 addition & 0 deletions docs/plugins/focus-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Focus plugin
1 change: 1 addition & 0 deletions docs/plugins/list-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# List plugin
10 changes: 10 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mkdocs==1.1
mkdocs-material==4.6.3
Markdown==3.2.1
markdown-fenced-code-tabs==1.0.3
markdown-include==0.5.1
MarkupSafe==1.1.1
mkdocs-markdownextradata-plugin==0.1.3
mkdocs-exclude==1.0.2
mkdocs-redirects==1.0.0
mkdocs-git-revision-date-localized-plugin==0.5.0
1 change: 1 addition & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Usage
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<meta name="keywords" lang="en" content="js-animations animations animations-library">
<meta name="language" content="en"/>
<meta name="rating" content="general"/>
<link rel="icon" type="image/png" href="/resources/icon.png">
<link rel="shortcut icon" href="/resources/favicon.ico" type="image/x-icon">
<link rel="icon" href="/resources/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="./layout.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/zenburn.min.css">
Expand Down
32 changes: 32 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
site_name: Movigo
site_url: https://movigo.cedoor.dev
site_description: Movigo library core with base features to animate your DOM elements.
site_author: Omar Desogus
copyright: Copyright (c) 2020 Omar Desogus

extra:
support:
email: [email protected]
website: https://movigo.cedoor.dev
search:
language: 'en'
tokenizer: '[\s]+'

repo_name: movigo/core
repo_url: https://github.com/movigo/core

theme:
name: material
palette:
primary: blue-grey
accent: teal
nav:
- Install: install.md
- Usage: usage.md
- Plugins: plugins.md
- List: plugins/list-plugin.md
- Focus: plugins/focus-plugin.md
- Drawer: plugins/drawer-plugin.md

plugins:
- search
15 changes: 15 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# readthedocs.yml

version: 2

build:
image: latest

python:
version: 3.7
install:
- requirements: docs/requirements.txt

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false
Binary file added resources/favicon.ico
Binary file not shown.

0 comments on commit 26c7149

Please sign in to comment.