Skip to content

Commit

Permalink
CI: Add readthedocs.yaml configuration file (#681)
Browse files Browse the repository at this point in the history
* CI: Add readthedocs.yaml configuration file

* update docs requirements

* update mkdocs requiremens

* update docs requirements

* removing old requirement of fontawesome

---------

Co-authored-by: JulioPDX <[email protected]>
  • Loading branch information
carlbuchmann and JulioPDX authored Nov 6, 2023
1 parent 0d501e6 commit 3a1367d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation with mkdocs
mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

python:
install:
- requirements: ansible_collections/arista/cvp/docs/requirements.txt
3 changes: 1 addition & 2 deletions ansible_collections/arista/cvp/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
mkdocs
mkdocs-bootswatch
mkdocs-material==8.5.7
mkdocs-material==9.0.15
mkdocs-material-extensions
fontawesome-markdown
pymdown-extensions
mdx_truly_sane_lists
mkdocs-git-revision-date-localized-plugin
Expand Down
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ plugins:
markdown_extensions:
- admonition
- attr_list
- fontawesome_markdown
- mdx_truly_sane_lists
- smarty
- pymdownx.arithmatex
Expand Down

0 comments on commit 3a1367d

Please sign in to comment.