Skip to content

Commit

Permalink
update build-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan123t committed Dec 11, 2023
1 parent dc836ef commit 7b6dd3f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Generate Parameter Page
run: |
cd param-docs
python generate-template-param-doc-pages.py # Creates a templated page for each parameter which does not yet have a page
tree parameter-pages
python concat-parameter-pages.py
# - name: Generate Parameter Page
# run: |
# cd param-docs
# python generate-template-param-doc-pages.py # Creates a templated page for each parameter which does not yet have a page
# tree parameter-pages
# python concat-parameter-pages.py

- name: Store Documentation in the gh-pages branch so it gets pushed to the website
run: mkdocs gh-deploy
2 changes: 1 addition & 1 deletion .github/workflows/build-mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Build Documentation
on:
push:
branches:
- main
- main

jobs:
build-documentation:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs
- run: mkdocs gh-deploy --force --clean --verbose
20 changes: 10 additions & 10 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ markdown_extensions:
- def_list
#- mermaid2

- minify:
minify_html: true
minify_js: true
minify_css: true
htmlmin_opts:
remove_comments: true
js_files:
- assets/js/main.js
css_files:
- assets/css/style.css
#- minify:
# minify_html: true
# minify_js: true
# minify_css: true
# htmlmin_opts:
# remove_comments: true
# js_files:
# - assets/js/main.js
# css_files:
# - assets/css/style.css

0 comments on commit 7b6dd3f

Please sign in to comment.