Skip to content

Commit

Permalink
Use material docs theme which has offline support. Closes #118.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fohlen committed Mar 18, 2023
1 parent 1f7f317 commit f697991
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: '3.x'
- name: Install and Build
run: |
pip3 install mkdocs
pip3 install mkdocs mkdocs-material
mkdocs build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -47,7 +47,7 @@ The `assembleBundleDist` task comes with a optional parameter to copy documentat
In order to build the documentation you will need [mkdocs](https://www.mkdocs.org/):

```
pip3 install mkdocs # or use a virtual environment if you prefer
pip3 install mkdocs mkdocs-material # or use a virtual environment if you prefer
mkdocs build
```

Expand Down
4 changes: 4 additions & 0 deletions docs/img/yguard-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions mkdocs.yml
@@ -1,7 +1,10 @@
site_name: yGuard Documentation
theme: readthedocs
repo_url: https://github.com/yWorks/yGuard/
site_description: The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
use_directory_urls: false
extra_css:
- stylesheets/extra.css
theme:
name: material
logo: img/yguard-logo.svg
favicon: img/favicon.ico
plugins:
- offline
- search

0 comments on commit f697991

Please sign in to comment.