Skip to content

fix: failing Docs Builds - #35846

Merged
irtazaakram merged 1 commit into
openedx:masterfrom
irtazaakram:fix35807
Nov 18, 2024
Merged

fix: failing Docs Builds#35846
irtazaakram merged 1 commit into
openedx:masterfrom
irtazaakram:fix35807

Conversation

@irtazaakram

Copy link
Copy Markdown
Member

@irtazaakram
irtazaakram marked this pull request as ready for review November 15, 2024 06:58
@irtazaakram
irtazaakram requested a review from a team as a code owner November 15, 2024 06:58
Comment on lines +54 to +58
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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes: ValueError: 'platform_name_base' does not appear to be an IPv4 or IPv6 address

Comment thread docs/conf.py
]

autoapi_type = 'python'
autoapi_dirs = ['../lms', '../openedx']

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@irtazaakram
irtazaakram requested a review from feanil November 15, 2024 10:44
@feanil

feanil commented Nov 15, 2024

Copy link
Copy Markdown
Contributor

@irtazaakram I'm still seeing the following error when I run make docs

Extension error (autoapi.extension):
Handler <function run_autoapi at 0x7a41042537e0> for event 'builder-inited' threw an exception (exception: 'list' object has no attribute 'get_children')
make: *** [Makefile:22: html] Error 2

Comment thread openedx/core/lib/xblock_serializer/data.py Outdated
@irtazaakram
irtazaakram marked this pull request as draft November 15, 2024 18:19
Comment thread docs/conf.py
'*/tests/*',
'*.pyc',
'__init__.py',
'**/xblock_serializer/data.py',

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary workaround as It requires too many changes here to be able to build using autoapi.

@irtazaakram
irtazaakram marked this pull request as ready for review November 15, 2024 18:37
@irtazaakram
irtazaakram merged commit 68a626a into openedx:master Nov 18, 2024
@irtazaakram
irtazaakram deleted the fix35807 branch November 18, 2024 06:30
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Failing edx-platform Docs Builds

4 participants