mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Only link Python and Rich types when building full docs
It looks like mkdocstrings will fail out if it can't download the inv files. Unless there's a setting where you can tell it "try, but if you can't grab them just don't try and create links" the approach here seems reasonable and has the same effect. https://github.com/Textualize/textual/issues/2629#issuecomment-1566672594 for reference.
This commit is contained in:
@@ -67,9 +67,6 @@ plugins:
|
||||
default_handler: python
|
||||
handlers:
|
||||
python:
|
||||
import:
|
||||
- https://docs.python.org/3/objects.inv
|
||||
- https://rich.readthedocs.io/en/stable/objects.inv
|
||||
options:
|
||||
show_signature_annotations: false
|
||||
separate_signature: true
|
||||
|
||||
@@ -14,3 +14,9 @@ plugins:
|
||||
- categories
|
||||
- release
|
||||
- tags
|
||||
mkdocstrings:
|
||||
handlers:
|
||||
python:
|
||||
import:
|
||||
- https://docs.python.org/3/objects.inv
|
||||
- https://rich.readthedocs.io/en/stable/objects.inv
|
||||
|
||||
Reference in New Issue
Block a user