fix: failing Docs Builds - #35846
Conversation
| Returns: | ||
| - An empty string if `new_social_link` is empty. | ||
| - A formatted URL if `new_social_link` is a username. | ||
| - Returns `new_social_link` if it is a valid URL. | ||
| - None for unparseable inputs. |
There was a problem hiding this comment.
Fixes: ValueError: 'platform_name_base' does not appear to be an IPv4 or IPv6 address
| ] | ||
|
|
||
| autoapi_type = 'python' | ||
| autoapi_dirs = ['../lms', '../openedx'] |
There was a problem hiding this comment.
This is inline with settings here: https://github.com/openedx/edx-platform/blob/1b405afe2d9d782b30c7edd525e3d4f3ff59c723/docs/conf.py#L290-L299
|
@irtazaakram I'm still seeing the following error when I run |
4e88dfa to
e9648e4
Compare
| '*/tests/*', | ||
| '*.pyc', | ||
| '__init__.py', | ||
| '**/xblock_serializer/data.py', |
There was a problem hiding this comment.
Temporary workaround as It requires too many changes here to be able to build using autoapi.
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
|
2U Release Notice: This PR has been deployed to the edX production environment. |
Replaces autodoc with autoapi
https://docs.readthedocs.io/en/latest/guides/build-using-too-many-resources.html#document-python-modules-api-statically