Skip to content

Commit

Permalink
refactor: use google styleguide for docstrings with napoleon extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Feb 3, 2025
1 parent 5abe5e6 commit 5923d0c
Show file tree
Hide file tree
Showing 4 changed files with 303 additions and 185 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
4 changes: 2 additions & 2 deletions openedx_filters/course_authoring/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def run_filter(cls, url: str, org: str) -> tuple[str, str]:
Process the inputs using the configured pipeline steps to modify the URL of the page requested by the user.
Arguments:
- url (str): the URL of the page to be modified.
- org (str): Course org filter used as context data to get LMS configurations.
url (str): the URL of the page to be modified.
org (str): Course org filter used as context data to get LMS configurations.
Returns:
tuple[str, str]:
Expand Down
Loading

0 comments on commit 5923d0c

Please sign in to comment.