From 9a090fb7b89240e99a2bebfdc4f67c7e8a649113 Mon Sep 17 00:00:00 2001 From: wildemberg-sales Date: Sun, 7 Apr 2024 11:55:56 -0300 Subject: [PATCH] =?UTF-8?q?Subindo=20documenta=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ README.md | 19 +++++++++++++++++-- docs/index.md | 19 ++----------------- mkdocs.yml | 20 ++++++++++++++++++++ 4 files changed, 60 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4b3289b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: ci +on: + push: + branches: + - docs +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: mkdocs gh-deploy --force \ No newline at end of file diff --git a/README.md b/README.md index 770b60a..000ea34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ -# Plants-Diseases -Repositório destinado a criação de um modelo de aprendizado de máquina para identificação de doenças em plantas. +# Welcome to MkDocs + +For full documentation visit [mkdocs.org](https://www.mkdocs.org). + +## Commands + +* `mkdocs new [dir-name]` - Create a new project. +* `mkdocs serve` - Start the live-reloading docs server. +* `mkdocs build` - Build the documentation site. +* `mkdocs -h` - Print help message and exit. + +## Project layout + + mkdocs.yml # The configuration file. + docs/ + index.md # The documentation homepage. + ... # Other markdown pages, images and other files. diff --git a/docs/index.md b/docs/index.md index 000ea34..770b60a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,17 +1,2 @@ -# Welcome to MkDocs - -For full documentation visit [mkdocs.org](https://www.mkdocs.org). - -## Commands - -* `mkdocs new [dir-name]` - Create a new project. -* `mkdocs serve` - Start the live-reloading docs server. -* `mkdocs build` - Build the documentation site. -* `mkdocs -h` - Print help message and exit. - -## Project layout - - mkdocs.yml # The configuration file. - docs/ - index.md # The documentation homepage. - ... # Other markdown pages, images and other files. +# Plants-Diseases +Repositório destinado a criação de um modelo de aprendizado de máquina para identificação de doenças em plantas. diff --git a/mkdocs.yml b/mkdocs.yml index fa7ec7a..bee443c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1 +1,21 @@ site_name: Plants Diseases + +copyright: "Copyright © 2023" + +theme: + name: material + language: "pt" + palette: + primary: dark blue + accent: green + features: + - navigation.tabs + font: + text: "Open Sans" + code: "sans-serif" + # logo: assets/logo.png + # favicon: assets/logo.png + + +nav: + - Início: index.md \ No newline at end of file