Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use w3id.org/jelly PURL for doc refs #132

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ object JellyOptions:
* - stream name (we don't care about it)
*
* See also the stream options handling table in the gRPC spec:
* https://jelly-rdf.github.io/dev/specification/streaming/#stream-options-handling
* https://w3id.org/jelly/dev/specification/streaming/#stream-options-handling
* This is not exactly what we are doing here (the table is about client-server interactions), but it's a good
* reference for the logic used here.
*
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This directory houses the sources for the documentation displayed on the [Jelly website](https://jelly-rdf.github.io/jelly-jvm).
This directory houses the sources for the documentation displayed on the [Jelly website](https://w3id.org/jelly/jelly-jvm).

The actual documentation files are in the `docs` subdirectory.
4 changes: 2 additions & 2 deletions docs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def proto_version():
@env.macro
def proto_link(page: str):
version = proto_version()
return f'https://jelly-rdf.github.io/{version}/{page}'
return f'https://w3id.org/jelly/{version}/{page}'


@env.macro
Expand All @@ -77,7 +77,7 @@ def module_badges(module):


def transform_nav_item(item):
if list(item.values())[0] == 'https://jelly-rdf.github.io/':
if list(item.values())[0] == 'https://w3id.org/jelly/':
return {list(item.keys())[0]: proto_link('')}
return item

Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ nav:
- Developer guide:
- Releases: 'dev/releases.md'
- Implementing Jelly for other libraries: 'dev/implementing.md'
- Back to main Jelly docs ↩: 'https://jelly-rdf.github.io/'
- Back to main Jelly docs ↩: 'https://w3id.org/jelly/'
2 changes: 1 addition & 1 deletion docs/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ config.site_description }}" />
<meta property="og:image" content="https://jelly-rdf.github.io/jelly-jvm/dev/assets/social.jpg" />
<meta property="og:image" content="https://w3id.org/jelly/jelly-jvm/dev/assets/social.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
Expand Down