Skip to content

Commit

Permalink
Merge pull request #278 from chieto-arista/add_required_config
Browse files Browse the repository at this point in the history
Added required yaml documentation
  • Loading branch information
chieto-arista committed Jul 24, 2023
2 parents e9f9ebe + 48877c2 commit 13e93f3
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- htmlzip

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: dev-requirements.txt
- method: pip
path: .
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include .coveragerc
include LICENSE
include Makefile
include VERSION
include *.yaml
recursive-include examples *.conf
recursive-include examples *.py
recursive-include test *.conf
Expand Down
6 changes: 3 additions & 3 deletions pyeapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ class CliVariants:
"""
@staticmethod
def expand( cmds ):
""" Expands cmds argument into a list of all CLI variants
""" Expands cmds argument into a list of all CLI variants
The method returns a list of all full variant combinations present
in the the cmds arguement
Args:
cmds (list): a list made of str and CliVariants types
cmds (list): a list made of str and CliVariants types
Returns:
expanded list, e.g.:
Expand Down

0 comments on commit 13e93f3

Please sign in to comment.