Skip to content

Commit

Permalink
Pin sphinx-autoapi==2.0.0 version (#1609)
Browse files Browse the repository at this point in the history
# Description
## What is the current behavior?
build-docs is broken on sphinx-autoapi-2.0.1 
```
Warning, treated as error:
/Users/pankaj/Documents/astro_code/astro-sdk/python-sdk/docs/autoapi/astro/databases/base/index.rst:80:more than one target found for cross-reference 'FileType': astro.constants.FileType, astro.files.types.base.FileType
make: *** [html] Error 2
```


## What is the new behavior?
pin sphinx-autoapi to 2.0.0

## Does this introduce a breaking change?


### Checklist
- [ ] Created tests which fail without the change (if possible)
- [ ] Extended the README / documentation, if necessary

Co-authored-by: Daniel Imberman <daniel.imberman@gmail.com>
  • Loading branch information
pankajastro and dimberman authored Jan 17, 2023
1 parent 6864dec commit 2112c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ all = [
doc = [
"myst-parser>=0.17",
"sphinx>=4.4.0",
"sphinx-autoapi>=2.0.0",
"sphinx-autoapi==2.0.0", # Multiple FileType class (same name) import is broken in sphinx-autoapi 2.0.1
"sphinx-rtd-theme"
]

Expand Down

0 comments on commit 2112c6d

Please sign in to comment.