Skip to content

Commit

Permalink
Use w3id.org/stax PURL
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed Aug 22, 2024
1 parent 1044d77 commit 3e638cf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fjelly-rdf.github.io%2Fdev%2F)](https://jelly-rdf.github.io/dev/) [![.github/workflows/pre-release.yaml](https://github.com/Jelly-RDF/jelly-rdf.github.io/actions/workflows/publish-dev.yaml/badge.svg)](https://github.com/Jelly-RDF/jelly-rdf.github.io/actions/workflows/publish-dev.yaml) ![GitHub License](https://img.shields.io/github/license/Jelly-RDF/jelly-rdf.github.io)
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fjelly-rdf.github.io%2Fdev%2F)](https://w3id.org/jelly/dev/) [![.github/workflows/pre-release.yaml](https://github.com/Jelly-RDF/jelly-rdf.github.io/actions/workflows/publish-dev.yaml/badge.svg)](https://github.com/Jelly-RDF/jelly-rdf.github.io/actions/workflows/publish-dev.yaml) ![GitHub License](https://img.shields.io/github/license/Jelly-RDF/jelly-rdf.github.io)

# Jelly website and documentation repository

See the deployed website here: **https://jelly-rdf.github.io**
See the deployed website here: **https://w3id.org/jelly**

## Contributing

Expand All @@ -17,15 +17,15 @@ If you want to instead contribute to the Jelly serialization format or the Jelly

The documentation is written in Markdown and built using [MkDocs](https://www.mkdocs.org/), using [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/). The source files are in the `docs` directory – feel free to edit them directly.

**More information on how to edit the documentation can be found in the [contribution guide](https://jelly-rdf.github.io/dev/contributing/) on the website.**
**More information on how to edit the documentation can be found in the [contribution guide](https://w3id.org/jelly/dev/contributing/) on the website.**

### Local testing of the website

Install the project's dependencies from `requirements.txt` (preferably in a virtual environment). Then, run `mkdocs serve` to compile the docs and serve them locally for testing.

### See also

- **[Full contribution guide](https://jelly-rdf.github.io/dev/contributing/)**
- **[Full contribution guide](https://w3id.org/jelly/dev/contributing/)**
- [Material for MkDocs reference](https://squidfunk.github.io/mkdocs-material/reference/) for help with Markdown syntax and other features

## License
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Jelly (superfast jellyfish)](https://jelly-rdf.github.io/dev/assets/jelly_color.png){ align=right width="150" }
![Jelly (superfast jellyfish)](assets/jelly_color.png){ align=right width="150" }

# Jelly

Expand Down
2 changes: 1 addition & 1 deletion docs/licensing.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Jelly was created and is maintained by [Piotr Sowiński (Ostrzyciel)](https://os


<figure markdown>
![Jelly (superfast jellyfish)](https://jelly-rdf.github.io/dev/assets/jelly.webp){ align=right width="320" }
![Jelly (superfast jellyfish)](assets/jelly.webp){ align=right width="320" }
</figure>

## See also
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ def jvm_version():
@env.macro
def jvm_link(page: str = ''):
version = jvm_version()
return f'https://jelly-rdf.github.io/jelly-jvm/{version}/{page}'
return f'https://w3id.org/jelly/jelly-jvm/{version}/{page}'


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

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ nav:
- Protobuf source: 'specification/protobuf-source.md'
- File extension and media type: 'specification/media-type.md'

- JVM (Scala) implementation ⮺: 'https://jelly-rdf.github.io/jelly-jvm/'
- JVM (Scala) implementation ⮺: 'https://w3id.org/jelly/jelly-jvm/'

- Contributing: 'contributing.md'
- Licensing and citation: 'licensing.md'
2 changes: 1 addition & 1 deletion 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/dev/assets/social.jpg" />
<meta property="og:image" content="https://w3id.org/jelly/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

0 comments on commit 3e638cf

Please sign in to comment.