Skip to content

Commit

Permalink
fix: docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii committed Dec 3, 2024
1 parent 3236098 commit eb12a56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/lms/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def fulfill_order_placed_send_enroll_in_course_task(
f'LMS fulfill_order_placed_send_enroll_in_course_task fired with {locals()},'
)

user = User.objects.get(lms_user_id=1)
user = User.objects.get(lms_user_id=edx_lms_user_id)

enrollment_data = {
'user': user.username,
Expand Down
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def get_version(*file_paths):
# A list of warning types to suppress arbitrary warning messages.
suppress_warnings = [
'image.nonlocal_uri',
'role:setting',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -557,3 +556,8 @@ def setup(app):
"""Sphinx extension: run sphinx-apidoc."""
event = 'builder-inited'
app.connect(event, on_init)

rst_prolog = """
.. role:: setting
.. role:: sig
"""

0 comments on commit eb12a56

Please sign in to comment.