diff --git a/.github/workflows/mkdocs-deployment.yml b/.github/workflows/mkdocs-deployment.yml index 15754f5d..38fe8234 100644 --- a/.github/workflows/mkdocs-deployment.yml +++ b/.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 diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 0f3e0cd5..91d02c8e 100644 --- a/docs/mkdocs.yml +++ b/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 diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..fbee2369 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +mkdocs-same-dir