Skip to content

Commit

Permalink
Add plugin to allow for mkdocs.yml file to be in same directory as docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Nov 22, 2024
1 parent 70e5dc0 commit d2aa32a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ copyright: "CC-BY 4.0"
use_directory_urls: true
site_url: https://convert.lincbrain.org
docs_dir: .
site_dir: html
site_dir: ../site
edit_uri: blob/main/docs/

# Material theme
Expand Down Expand Up @@ -44,6 +44,7 @@ plugins:
- search
- open-in-new-tab
- section-index
- same-dir
- gen-files:
scripts:
- scripts/gen_ref_pages.py
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ mkdocs-open-in-new-tab
mkdocstrings[python]>=0.18
mkdocs-gen-files
mkdocs-literate-nav
mkdocs-section-index
mkdocs-section-index
mkdocs-same-dir

0 comments on commit d2aa32a

Please sign in to comment.