Skip to content

Commit

Permalink
Fix broken links
Browse files Browse the repository at this point in the history
Fix malformed `html_meta` header in `virtual-host.md`
  • Loading branch information
stevepiercy committed Nov 27, 2024
1 parent 407496b commit 045d1f0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/effective-volto/architecture/bootstrap-volto.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ To install Docker desktop for Mac, here are the detailed instructions:
2. Install the package as any other Mac software, if required, follow
instructions from:
https://docs.docker.com/desktop/install/mac-install/
https://docs.docker.com/desktop/setup/install/mac-install/
3. Check that docker is installed correctly, open a new terminal and type:
Expand Down
8 changes: 4 additions & 4 deletions docs/effective-volto/development/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ myst:

Internationalization (i18n) is the process of creating user interfaces which are suitable for different languages and cultural contexts.
Volto uses the library [react-intl](https://www.npmjs.com/package/react-intl) to provide translations for any potential language.
Anything you can read in the [official documentation of react-intl](https://formatjs.io/docs/react-intl/) also applies for Volto.
Anything you can read in the [official documentation of react-intl](https://formatjs.github.io/docs/getting-started/installation) also applies for Volto.

However this section teaches you about the most common use cases relating to i18n you probably will have when developing your {doc}`../addons` or contributing to the Volto core itself.

Expand Down Expand Up @@ -95,12 +95,12 @@ function HelloWorld(props) {

The identifier `hello_world` is then commonly used between all the translations.
There are also more features available such as using placeholders.
See the docs for all features in the [FormattedMessage component](https://formatjs.io/docs/react-intl/components#formattedmessage).
See the docs for all features in the [FormattedMessage component](https://formatjs.github.io/docs/react-intl/components/#formattedmessage).

### Translating Attributes

As `FormatMessage` is only suitable for creating text within HTML elements, it cannot be used for translating individual attributes.
But with the method [formatMessage](https://formatjs.io/docs/react-intl/api/#formatmessage) there exists another way to translate primitive strings.
But with the method [`formatMessage()`](https://formatjs.github.io/docs/react-intl/api#formatmessage) there exists another way to translate primitive strings.

This approach can be best explained with an example: Assume you have a component called `TeaserImage` which contains an image that has for accessibility reasons the `alt` attribute.

Expand All @@ -112,7 +112,7 @@ To translate the `alt` attribute, you have to do the following steps:
import { defineMessages, injectIntl, intlShape } from 'react-intl';
```

2. Define a message (or more) via [defineMessages](https://formatjs.io/docs/react-intl/api/#definemessagesdefinemessage):
2. Define a message (or more) via [`defineMessages()`](https://formatjs.github.io/docs/react-intl/api#definemessagesdefinemessage):

```js
const messages = defineMessages({
Expand Down
2 changes: 1 addition & 1 deletion docs/mastering-plone/volto_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ exports[`renders a talk view component with only required props 1`] = `
```

```{seealso}
{doc}`plone6docs:volto/contributing/testing` in docs.plone.org.
{doc}`plone6docs:volto/contributing/testing`
```

(testing-cypress)=
Expand Down
4 changes: 1 addition & 3 deletions docs/plone-deployment/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ You can also configure settings for Docker Desktop.
Under {guilabel}`Prefences > Resources > Advanced`, you can configure appropriate settings for virtual disk limit and memory.

```{seealso}
- [Change Docker Desktop settings on Mac](https://docs.docker.com/desktop/settings/#advanced)
- [Change Docker Desktop settings on Windows](https://docs.docker.com/desktop/settings/#advanced)
- [Change Docker Desktop settings on Linux](https://docs.docker.com/desktop/settings/#advanced)
- [Change Docker Desktop settings](https://docs.docker.com/desktop/settings-and-maintenance/settings/)
```

### Insufficient Docker virtual memory
Expand Down
2 changes: 1 addition & 1 deletion docs/plone-deployment/virtual-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ myst:
html_meta:
"description": "Virtual Hosting Services"
"property=og:description": "Understand how to use Zope infrastructure to rewrite URLs in run time."
"property=og:title": ""Virtual Hosting Services"
"property=og:title": "Virtual Hosting Services"
"keywords": "Plone, Deployment, Stack, Configuration, Guide, Virtual Host Monster, VHM"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/volto-customization/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Getting started with Volto involves setting up a development environment, unders

Before you start working with this training, ensure you have the following prerequisites:

- [Node.js LTS (>=20.x)](https://nodejs.org/en) [see instructions for installation](https://6.docs.plone.org/install/install-from-packages.html#nvm)
- [Node.js LTS (>=20.x)](https://nodejs.org/en) [see instructions for installation](https://6.docs.plone.org/install/create-project.html#nvm)
- [Python](https://www.python.org/) - See below for specific versions.
- [pipx](https://pipx.pypa.io/stable/)
- [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating)
Expand Down

0 comments on commit 045d1f0

Please sign in to comment.