diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5d7fc8d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: ci +on: + push: + branches: + - master + - main +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..9a34cbe --- /dev/null +++ b/docs/index.md @@ -0,0 +1,2 @@ +# 系统化交易 + diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..11e214d --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,81 @@ +site_name: Systematic Trading +site_author: FunCoder +site_description: >- + Awesome Systematic Trading +repo_name: awesome-systematic-trading +repo_url: https://github.com/wangzhe3224/awesome-systematic-trading + +copyright: Copyright © 2022-present FunCoder + +theme: + name: material + # favicon: assets/bitcoin.png + # logo: assets/bitcoin.png + language: zh + include_search_page: false + search_index_only: true + plugins: + - meta + features: + # - navigation.instant + # - navigation.expand + # - navigation.sections + # - navigation.tabs + # - navigation.tabs.sticky + # - navigation.indexes + # - toc.integrate + - header.autohide + - navigation.tracking + - navigation.top + - search.highlight + - search.share + - search.suggest + - content.code.annotate + palette: + - media: "(prefers-color-scheme: light)" + scheme: default + primary: light blue + accent: deep purple + toggle: + icon: material/weather-sunny + name: Switch to dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: cyan + accent: deep purple + toggle: + icon: material/weather-night + name: Switch to light mode + icon: + repo: fontawesome/brands/github + admonition: + note: octicons/tag-16 + abstract: octicons/checklist-16 + info: octicons/info-16 + tip: octicons/squirrel-16 + success: octicons/check-16 + question: octicons/question-16 + warning: octicons/alert-16 + failure: octicons/x-circle-16 + danger: octicons/zap-16 + bug: octicons/bug-16 + example: octicons/beaker-16 + quote: octicons/quote-16 + +markdown_extensions: + - attr_list + - md_in_html + - admonition + - pymdownx.details + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - pymdownx.tabbed: + alternate_style: true + - pymdownx.emoji: + emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:materialx.emoji.to_svg + +extra_javascript: + - https://polyfill.io/v3/polyfill.min.js?features=es6 + - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js \ No newline at end of file