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