Browse Source

Fix mkdocs workflow to use the same directory

pull/1693/head
Hironsan 2 years ago
parent
commit
a359b512ac
3 changed files with 6 additions and 0 deletions
  1. 1
      .github/workflows/mkdocs-deployment.yml
  2. 4
      docs/mkdocs.yml
  3. 1
      docs/requirements.txt

1
.github/workflows/mkdocs-deployment.yml

@ -16,3 +16,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: docs/mkdocs.yml
REQUIREMENTS: docs/requirements.txt

4
docs/mkdocs.yml

@ -3,6 +3,7 @@ site_name: 'doccano'
site_description: 'A Text Annotation tool for Humans'
site_author: 'Hiroki Nakayama'
site_url: 'https://doccano.github.io/doccano/'
docs_dir: .
# Repository
repo_name: 'doccano/doccano'
@ -25,6 +26,9 @@ extra:
- icon: 'fontawesome/brands/github'
link: 'https://twitter.com/Hironsan13'
plugins:
- same-dir
# Page tree
nav:
- Doccano: index.md

1
docs/requirements.txt

@ -0,0 +1 @@
mkdocs-same-dir
Loading…
Cancel
Save