From 8ce3e32bdce294d517c43d6cd3d97455f5e4189d Mon Sep 17 00:00:00 2001 From: IShaLinI Date: Sun, 21 Apr 2024 20:51:19 -0700 Subject: [PATCH] Basic Site --- .github/workflows/ci.yaml | 23 +++++++++++++++++++++++ docs/index.md | 7 +++++++ docs/page2.md | 6 ++++++ mkdocs.yml | 31 +++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 .github/workflows/ci.yaml create mode 100644 docs/index.md create mode 100644 docs/page2.md create mode 100644 mkdocs.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..1e853399 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: ci +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs-material + - run: pip install pillow cairosvg + - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 00000000..69eb5c9a --- /dev/null +++ b/docs/index.md @@ -0,0 +1,7 @@ +# Welcome to the DDS Manual + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud + +## Introduction + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. diff --git a/docs/page2.md b/docs/page2.md new file mode 100644 index 00000000..bb6aeea7 --- /dev/null +++ b/docs/page2.md @@ -0,0 +1,6 @@ +# Page 2 +## Lorem + +Ipsum + +Your pocketing is bad and you should feel bad \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 00000000..43b9e761 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,31 @@ +site_name: DDS Manual +theme: + name: material + features: + - navigation.sections + - toc.integrate + - navigation.top + - search.suggest + - search.highlight + - content.tabs.link + - content.code.annotation + - content.code.copy + language: en + palette: + - scheme: default + toggle: + icon: material/toggle-switch-off-outline + name: Switch to dark mode + primary: green + accent: purple + - scheme: slate + toggle: + icon: material/toggle-switch + name: Switch to light mode + primary: green + accent: lime + +extra: + social: + - icon: fontawesome/brands/discord + link: https://discord.gg/jHXTdNjYCg \ No newline at end of file