Skip to content

Commit 63b7769

Browse files
committed
add ci-tenant and awesome-pages plugin
1 parent 839d672 commit 63b7769

File tree

5 files changed

+66
-2
lines changed

5 files changed

+66
-2
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COPY docs ./docs-base
77
COPY .git ./.git
88
COPY tenants ./tenants
99
RUN poetry install --no-dev --no-interaction --ansi --remove-untracked
10-
RUN for TENANT in nav dev-nais ssb tenant; do rm -rf ./docs; mkdir -p ./docs; cp -rf ./docs-base/* ./docs/; cp -rf ./tenants/$TENANT/* ./docs;TENANT=$TENANT poetry run mkdocs build -d out/$TENANT; done
10+
RUN for TENANT in nav dev-nais ci-nais ssb tenant; do rm -rf ./docs; mkdir -p ./docs; cp -rf ./docs-base/* ./docs/; cp -rf ./tenants/$TENANT/* ./docs;TENANT=$TENANT poetry run mkdocs build -d out/$TENANT; done
1111

1212
FROM busybox:latest
1313
ENV PORT=8080

Diff for: docs/explanation/.pages

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
nav:
2+
- nais.md
3+
- what-is-naisdevice.md
4+
- nais-teams.md
5+
- workloads.md
6+
- ...

Diff for: mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ extra_css:
218218
- material_theme_stylesheet_overrides/uu.css
219219
- material_theme_stylesheet_overrides/grid.css
220220
plugins:
221+
- awesome-pages
221222
- macros:
222223
j2_variable_start_string: "<<"
223224
j2_variable_end_string: ">>"

Diff for: poetry.lock

+57-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ mkdocs-git-revision-date-localized-plugin = "^1.2.1"
1515
mkdocs-redirects = "^1.2.1"
1616
mkdocs-git-committers-plugin-2 = "^2.2.2"
1717
mkdocs-macros-plugin = "^1.0.5"
18+
mkdocs-awesome-pages-plugin = "^2.9.2"
1819

1920
[tool.poetry.dev-dependencies]
2021

0 commit comments

Comments
 (0)