Update Servers/Containerization/Docker/Compose/Material MkDocs.md
This commit is contained in:
@ -24,7 +24,7 @@ sequenceDiagram
|
||||
```
|
||||
|
||||
## Deploy Material MKDocs
|
||||
```jsx title="docker-compose.yml"
|
||||
```yaml title="docker-compose.yml"
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
@ -46,13 +46,13 @@ networks:
|
||||
external: true
|
||||
```
|
||||
|
||||
```jsx title=".env"
|
||||
```yaml title=".env"
|
||||
N/A
|
||||
```
|
||||
|
||||
## Config Example
|
||||
When you deploy MKDocs, you will need to give it a configuration to tell MKDocs how to structure itself. The configuration below is what I used in my deployment. This file is one folder level higher than the `/docs` folder that holds the documentation of the website.
|
||||
```jsx title="/srv/containers/material-mkdocs/docs/mkdocs.yml"
|
||||
```yaml title="/srv/containers/material-mkdocs/docs/mkdocs.yml"
|
||||
# Project information
|
||||
site_name: Bunny Lab
|
||||
site_url: https://docs.bunny-lab.io
|
||||
|
Reference in New Issue
Block a user