Skip to content

Commit

Permalink
Update doc theme and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ericblam committed Nov 4, 2023
1 parent 9a79aee commit 7176a83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_theme = 'python_docs_theme'
html_static_path = ['_static']
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest
sphinx
sphinx-autodoc-typehints
python-docs-theme
wheel
6 changes: 3 additions & 3 deletions src/dancesport_parser/o2cm/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
def parseMain(htmlDOM: BeautifulSoup = None, rawHtml: str = None) -> List[Competition]:
"""Parse o2cm main results screen, i.e. results.o2cm.com.
Keyword arguments:
htmlDOM -- HTML contents to parse.
rawHtml -- If `htmlDOM` is unspecified, raw string to directly parse.
:param htmlDOM: HTML contents to parse.
:param rawHtml: If `htmlDOM` is unspecified, raw string to directly parse.
:return: List of Competitions parsed from HTML
"""
if htmlDOM is None and rawHtml is None:
raise RuntimeError("Expected either htmlDOM or rawHtml to be provided.")
Expand Down

0 comments on commit 7176a83

Please sign in to comment.