Skip to content

Commit

Permalink
Merge pull request #1765 from douglas-raillard-arm/_home_pr90041
Browse files Browse the repository at this point in the history
Update subtrees
  • Loading branch information
douglas-raillard-arm committed Nov 3, 2021
2 parents 348a736 + b2121d1 commit c0d7588
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
20 changes: 20 additions & 0 deletions external/devlib/.readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: doc/conf.py

# Build the docs in additional formats such as PDF and ePub
formats: all

# Set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: doc/requirements.txt
15 changes: 8 additions & 7 deletions external/devlib/devlib/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,14 @@ def __init__(self,
if connect:
self.connect()

def __copy__(self):
new = self.__class__.__new__(self.__class__)
new.__dict__ = self.__dict__.copy()
# Avoid sharing the connection instance with the original target, so
# that each target can live its own independent life
del new.__dict__['_conn']
return new
def __getstate__(self):
return {
k: v
for k, v in self.__dict__.items()
# Avoid sharing the connection instance with the original target,
# so that each target can live its own independent life
if k != '_conn'
}

# connection and initialization

Expand Down
3 changes: 3 additions & 0 deletions external/devlib/doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx==4.2
sphinx-rtd-theme==1.0.0
docutils<0.18
1 change: 1 addition & 0 deletions external/workload-automation/.readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ python:
install:
- method: setuptools
path: .
- requirements: doc/requirements.txt
4 changes: 3 additions & 1 deletion external/workload-automation/doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
nose
numpy
pandas
sphinx_rtd_theme>=0.3.1
sphinx_rtd_theme==1.0.0
sphinx==4.2
docutils<0.18

0 comments on commit c0d7588

Please sign in to comment.