Skip to content

Commit

Permalink
MLCube documentation update (#283)
Browse files Browse the repository at this point in the history
- Removing unused assets (various icons, `site.webmanifest` file).
- Removing `mkdocs-requirements.txt` in the root directory (use `docs/requirements.txt` instead now.).
- Adding MLC logo and changing color scheme to match other MLCommons web sites.
  • Loading branch information
sergey-serebryakov authored Dec 9, 2022
1 parent 707edfd commit e021ce3
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r mkdocs-requirements.txt
pip install -r docs/requirements.txt
- name: Build Docs
working-directory: './'
run: |
Expand Down
Binary file removed docs/assets/android-chrome-192x192.png
Binary file not shown.
Binary file removed docs/assets/android-chrome-512x512.png
Binary file not shown.
Binary file removed docs/assets/apple-touch-icon.png
Binary file not shown.
Binary file removed docs/assets/favicon-16x16.png
Binary file not shown.
Binary file removed docs/assets/favicon-32x32.png
Binary file not shown.
Binary file added docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/assets/site.webmanifest

This file was deleted.

118 changes: 0 additions & 118 deletions docs/assets/stylesheets/circular.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/mkdocs-requirements.txt → docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
flake8>=3.7.8
mkdocs>=1.0.4
mkdocs-material>=4.4.0
mkdocs-click
Expand Down
6 changes: 0 additions & 6 deletions mkdocs-requirements.txt

This file was deleted.

41 changes: 28 additions & 13 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
site_name: 'MLCube'
site_description: 'Documentation site for MLCube'
site_author: '<MLPerf.org> [email protected]'
docs_dir: 'docs/'
site_name: MLCube
site_description: Documentation site for MLCube
site_author: <mlcommons.org> [email protected]
docs_dir: docs/

repo_url: https://github.com/mlcommons/mlcube
repo_name: mlcommons/mlcube

nav:
- Home: index.md
Expand All @@ -25,18 +28,30 @@ nav:
- GCP Runner: runners/gcp-runner.md

theme:
name: 'material'
favicon: 'assets/favicon.ico'
features:
- search.suggest
- search.highlight
- search.share
name: material
logo: assets/logo.png
favicon: assets/favicon.ico
language: 'en'
palette:
primary: 'blue'
accent: 'blue'
font:
text: 'Circular'
code: 'Inconsolata'
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
toggle:
icon: material/toggle-switch
name: Switch to light mode

extra_css:
- 'assets/stylesheets/circular.css'
plugins:
- search

markdown_extensions:
- admonition
Expand Down

0 comments on commit e021ce3

Please sign in to comment.