Skip to content

Commit

Permalink
Update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
fmind committed Mar 21, 2024
1 parent 0029ac8 commit 7ddad8d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
python-version: 3.12
cache: poetry
- run: poetry install
- run: poetry run invoke deploy --force
- run: poetry run invoke deploy
29 changes: 23 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# https://www.mkdocs.org/user-guide/configuration/#configuration

repo_name: MLOPS-University/mlops-coding-course
repo_url: https://github.com/MLOPS-University/mlops-coding-course
# Project information
site_author: MLOps University
site_name: MLOps Coding Course
site_description: Learn how to create, develop, and maintain a state-of-the-art MLOps code base.
site_autor: MLOps University
site_url: https://mlops-university.github.io/mlops-coding-course/
edit_uri: edit/main/docs/
site_description: Learn how to create, develop, and maintain a state-of-the-art MLOps code base.

# Repository
repo_name: MLOPS-University/mlops-coding-course
repo_url: https://github.com/MLOPS-University/mlops-coding-course

# Copyright
copyright: Copyright © MLOps University

# Theme
theme:
name: material
# favicon: images/favicon.ico
palette:
- media: "(prefers-color-scheme)"
toggle:
Expand All @@ -28,9 +36,18 @@ theme:
name: Switch to system preference
features:
- content.code.copy
- navigation.footer

# Extra
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/MLOPS-University/mlops-coding-course

# Extensions
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
format: !!python/name:pymdownx.superfences.fence_code_format
9 changes: 8 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ def install(ctx: Context) -> None:
ctx.run("poetry install")


@task
def reset(ctx: Context) -> None:
"""Reset the installation."""
ctx.run("rm -rf .venv/")
ctx.run("rm -f poetry.lock")


@task
def build(ctx: Context) -> None:
"""Build the documentation."""
Expand All @@ -29,4 +36,4 @@ def serve(ctx: Context) -> None:
@task
def deploy(ctx: Context) -> None:
"""Deploy the documentation."""
ctx.run("poetry run mkdocs gh-deploy")
ctx.run("poetry run mkdocs gh-deploy --force")

0 comments on commit 7ddad8d

Please sign in to comment.