-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a1b744
commit 27853bb
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,28 @@ jobs: | |
sudo apt-get update --fix-missing | ||
sudo apt-get autoremove | ||
sudo apt-get autoclean | ||
pip install tomte[tox]==0.2.17 | ||
pip install tomte[tox]==0.2.2 | ||
pip install poetry | ||
poetry update | ||
poetry install --no-root | ||
sudo npm install -g markdown-spellcheck | ||
- name: Generate Documentation | ||
run: mkdocs build --clean --strict | ||
- name: Check spelling | ||
run: tox -e spell-check | ||
|
||
- name: Check doc links | ||
run: tox -e check-doc-links | ||
|
||
- name: markdownlint-cli2-action | ||
uses: DavidAnson/[email protected] | ||
with: | ||
globs: /docs/*.md # optional, default is *.{md,markdown} | ||
|
||
- name: Generate Documentation | ||
run: | | ||
find . -name "mkdocs.yml" | xargs -L1 sed -i.snrbck "s/materialx.emoji.twemoji/material.extensions.emoji.twemoji/g" | ||
find . -name "mkdocs.yml" | xargs -L1 sed -i.snrbck "s/materialx.emoji.to_svg/material.extensions.emoji.to_svg/g" | ||
find . -name "*.snrbck" | xargs -L1 rm | ||
poetry run pip3 install mkdocs-material==9.4.10 mkdocs-material-extensions==1.3 | ||
poetry run pip3 install setuptools | ||
poetry run mkdocs build --clean |