Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init docs #102

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: README
summary: Please read this file before you start editing anything.
authors:
- Zhiyuan Chen
date: 2020-05-03 01:27:32
categories:
tags:
- README
---

Hello, and welcome to py-motmetrics documentation source!

**Please do not merge this branch into any other branch other than documentation branch like this for any reason.**

This documentation uses [MkDocs](https://www.mkdocs.org/) to compile the md documentations to static html web pages. You'll need Python installed on your computer to get started. Please run the following code in your favourite Python environment to install all the packages required.

```python
pip install -r requirements.txt
```
11 changes: 11 additions & 0 deletions docs/home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Home
summary: Home
authors:
- Zhiyuan Chen
date: 2020-05-03 01:50:20
categories:
tags:
---

We probably need some contents here! Meow~
63 changes: 63 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
site_name: py-motmetrics
site_url: https://py-motmetrics.github.io

repo_name: py-motmetrics
repo_url: https://github.com/cheind/py-motmetrics

nav:
- home:
- home: home.md

theme:
name: material
language: 'en'
palette:
primary: 'Teal'
accent: 'Teal'
feature:
tabs: true
font:
text: 'Noto Sans'
code: 'Cascadia Code'

extra:
manifest: 'manifest.webmanifest'

extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML

markdown_extensions:
- admonition
- codehilite:
guess_lang: false
use_pygments: True
noclasses: True
pygments_style: monokai
- def_list
- footnotes
- mdx_math
- meta
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_png
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- toc:
permalink: "#"

plugins:
- search
- awesome-pages
# - git-committers
4 changes: 4 additions & 0 deletions requirments.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs
mkdocs-material
mkdocs-awesome-pages-plugin
python-markdown-math