Skip to content

Commit

Permalink
Add project README to site
Browse files Browse the repository at this point in the history
  • Loading branch information
RealOrangeOne committed Mar 3, 2020
1 parent c453d71 commit e902857
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Pull dependencies
run: docker-compose pull
- name: Build containers
run: docker-compose build

- name: Build site
run: docker-compose run wiki build -v
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Pull dependencies
run: docker-compose pull
- name: Build containers
run: docker-compose build

- name: Build site
run: docker-compose run wiki build -v
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM squidfunk/mkdocs-material:latest

COPY requirements.txt /docs/requirements.txt

RUN pip install -U -r /docs/requirements.txt
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "2.4"

services:
wiki:
image: squidfunk/mkdocs-material:latest
build: .
volumes:
- .:/docs
ports:
Expand Down
1 change: 1 addition & 0 deletions docs/wiki/project-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{!../README.md!}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ extra:
link: 'https://linuxacademy.com'
- type: 'linux'
link: 'https://jupiterbroadcasting.com'

markdown_extensions:
- admonition
- codehilite:
guess_lang: false
- toc:
permalink: true
- mdx_include:
base_path: docs
plugins:
- search
- minify:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mdx-include==1.3.3

0 comments on commit e902857

Please sign in to comment.