Skip to content

Commit bfa5200

Browse files
committed
feat(mkdocs): Apply mkdocs-same-dir
1 parent 04119d0 commit bfa5200

File tree

9 files changed

+10
-0
lines changed

9 files changed

+10
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/mkdocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
site_name: Mkdocs Material Template
22
# TODO (Set up site name):
33
# - Replace the `site_name` value above with your site name.
4+
5+
# Ref: https://github.com/oprypin/mkdocs-same-dir
6+
docs_dir: .
7+
site_dir: ../site
8+
49
theme:
510
name: material
611
# Ref: https://squidfunk.github.io/mkdocs-material/customization/#extending-the-theme
@@ -129,6 +134,8 @@ plugins:
129134
# Ref: https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/
130135
- tags:
131136
tags_file: tags.md
137+
# Ref: https://github.com/oprypin/mkdocs-same-dir
138+
- same-dir
132139

133140
extra:
134141
# Variable for inserting images easily

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ mkdocs-macros-plugin
1414
# For showing contributors
1515
# Ref: https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#document-contributors
1616
mkdocs-git-committers-plugin-2
17+
# For placing `mkdocs.yml` in the same directory as documentation
18+
# Ref: https://github.com/oprypin/mkdocs-same-dir
19+
mkdocs-same-dir
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)