-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: broken links on documentation (#2293)
* Use same command to build as docs repo * Fix links
- Loading branch information
1 parent
530e7d5
commit aa04466
Showing
7 changed files
with
58 additions
and
25 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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.8] | ||
python-version: ['3.10'] | ||
|
||
timeout-minutes: 30 | ||
|
||
|
@@ -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: tox -e docs | ||
- 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 |
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
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,17 @@ | ||
[tool.poetry] | ||
name = "open-autonomy" | ||
version = "0.1.0" | ||
description = "Open Autonomy Framework" | ||
authors = ["developer-valory <[email protected]>"] | ||
license = "Apache-2.0 license" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
tomte = {extras = ["tox","docs"], version = "==0.2.15"} | ||
mkdocs-monorepo-plugin = "^1.0.5" | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
requires = ["setuptools", "wheel","poetry-core>=1.0.0"] | ||
build_backend = "setuptools.build_meta" |