Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed Oct 10, 2023
1 parent c4eeb4c commit 411c805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cyclonedx/factory/license.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


class LicenseFactory:
"""Factory for :class:`cyclonedx.model.License`."""
"""Factory for :class:`cyclonedx.model.license.License`."""

def make_from_string(self, value: str, *,
license_text: Optional['AttachedText'] = None,
Expand All @@ -46,7 +46,7 @@ def make_with_expression(self, value: str) -> LicenseExpression:
Utilizes :func:`cyclonedx.spdx.is_compound_expression`.
:raises InvalidLicenseExpressionException: if :param value: is not known/supported license expression
:raises InvalidLicenseExpressionException: if param `value` is not known/supported license expression
"""
if is_spdx_compound_expression(value):
return LicenseExpression(value)
Expand All @@ -57,7 +57,7 @@ def make_with_id(self, spdx_id: str, *,
url: Optional['XsUri'] = None) -> DisjunctiveLicense:
"""Make a :class:`cyclonedx.model.license.DisjunctiveLicense` from an SPDX-ID.
:raises InvalidSpdxLicenseException: if :param spdx_id: was not known/supported SPDX-ID
:raises InvalidSpdxLicenseException: if param `spdx_id` was not known/supported SPDX-ID
"""
spdx_license_id = spdx_fixup(spdx_id)
if spdx_license_id is None:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv']

# -- Options for HTML output -------------------------------------------------

Expand Down

0 comments on commit 411c805

Please sign in to comment.