Skip to content

Commit

Permalink
edit doc
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Sep 24, 2024
1 parent 5377e75 commit e6f4ada
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Import the SHACL shapes graph in the CMEM Shapes catalog by adding an `owl:impor

### Use prefixes

Attempt to fetch namespace prefixes from [http://prefix.cc](http://prefix.cc) instead of from the local database.
If this fails, fall back on local database.
Attempt to fetch namespace prefixes from http://prefix.cc instead of from the local database. If this fails, fall back
on local database. Prefixes defined in the CMEM project override prefixes defined in the external database.


[![eccenca Corporate Memory][cmem-shield]][cmem-link][![workflow](https://github.com/eccenca/cmem-plugin-shapes/actions/workflows/check.yml/badge.svg)](https://github.com/eccenca/cmem-plugin-shapes/actions)
Expand Down
4 changes: 2 additions & 2 deletions cmem_plugin_shapes/doc/shapes_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Import the SHACL shapes graph in the CMEM Shapes catalog by adding an `owl:impor

### Use prefixes

Attempt to fetch namespace prefixes from [http://prefix.cc](http://prefix.cc) instead of from the local database.
If this fails, fall back on local database.
Attempt to fetch namespace prefixes from http://prefix.cc instead of from the local database. If this fails, fall back
on local database. Prefixes defined in the CMEM project override prefixes defined in the external database.
5 changes: 3 additions & 2 deletions cmem_plugin_shapes/plugin_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ def format_namespace(iri: str) -> str:
param_type=BoolParameterType(),
name="prefix_cc",
label="Fetch namespace prefixes from prefix.cc",
description="""IAttempt to fetch namespace prefixes from http://prefix.cc instead of
from the local database. If this fails, fall back on local database.""",
description="""Attempt to fetch namespace prefixes from http://prefix.cc instead of
from the local database. If this fails, fall back on local database. Prefixes defined in
the CMEM project override prefixes defined in the external database.""",
default_value=True,
advanced=True,
),
Expand Down

0 comments on commit e6f4ada

Please sign in to comment.