Skip to content

Commit

Permalink
docs: Update website links to refer to v3 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Apr 12, 2020
1 parent 9a7546a commit 104b04b
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
@@ -1,6 +1,6 @@
# Contributing to `messageformat`

We welcome all relevant issues and pull requests, and aim to provide a constructive environment. If something is not clear and you have looked at our [documentation site](https://messageformat.github.io/), then it probably counts as a bug of some sort.
We welcome all relevant issues and pull requests, and aim to provide a constructive environment. If something is not clear and you have looked at our [documentation site](https://messageformat.github.io/messageformat/v3/), then it probably counts as a bug of some sort.

Messageformat is an [OpenJS Foundation](https://openjsf.org) project, and we follow its [Code of Conduct](https://github.com/openjs-foundation/cross-project-council/blob/master/CODE_OF_CONDUCT.md).

Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -15,7 +15,7 @@ This monorepo consists of the following packages that make up our JS implementat
- [messageformat-loader-example](packages/loader-example/) - Usage example for the loader
- [messageformat-parser](packages/parser/) - Parses MessageFormat source strings into an AST
- [messageformat-runtime](packages/runtime/) - Runtime dependencies of compiled message modules
- [messageformat-website](packages/website/) - The source of our [documentation site](https://messageformat.github.io/)
- [messageformat-website](packages/website/) - The source of our [documentation site](https://messageformat.github.io/messageformat/v3/)

## Getting Started

Expand All @@ -26,8 +26,8 @@ npm install --save messageformat-runtime

This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our [Format Guide] will help with the ICU MessageFormat Syntax, and the [Usage Guide] provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.

[format guide]: https://messageformat.github.io/messageformat/page-guide
[usage guide]: https://messageformat.github.io/messageformat/page-build
[format guide]: https://messageformat.github.io/messageformat/v3/page-guide
[usage guide]: https://messageformat.github.io/messageformat/v3/page-build

---

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -139,7 +139,7 @@ <h2>Getting Started</h2>
<p>To install just the core package, use:</p>
<pre class="prettyprint source"><code>npm install messageformat
</code></pre>
<p>This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our <a href="https://messageformat.github.io/messageformat/page-guide">Format Guide</a> will help with the ICU MessageFormat Syntax, and the <a href="https://messageformat.github.io/messageformat/page-build">Build-time Compilation Guide</a> provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.</p></article>
<p>This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our <a href="https://messageformat.github.io/messageformat/v3/page-guide">Format Guide</a> will help with the ICU MessageFormat Syntax, and the <a href="https://messageformat.github.io/messageformat/v3/page-build">Build-time Compilation Guide</a> provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.</p></article>
</section>


Expand Down
2 changes: 1 addition & 1 deletion docs/v3/index.html
Expand Up @@ -139,7 +139,7 @@ <h2>Getting Started</h2>
<pre class="prettyprint source"><code>npm install --save-dev messageformat@next
npm install --save messageformat-runtime
</code></pre>
<p>This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our <a href="https://messageformat.github.io/messageformat/page-guide">Format Guide</a> will help with the ICU MessageFormat Syntax, and the <a href="https://messageformat.github.io/messageformat/page-build">Usage Guide</a> provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.</p>
<p>This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our <a href="https://messageformat.github.io/messageformat/v3/page-guide">Format Guide</a> will help with the ICU MessageFormat Syntax, and the <a href="https://messageformat.github.io/messageformat/v3/page-build">Usage Guide</a> provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.</p>
<hr>
<p><a href="https://messageformat.github.io/">Messageformat</a> is an OpenJS Foundation project, and we follow its <a href="https://github.com/openjs-foundation/cross-project-council/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a>.</p>
<a href="https://openjsf.org">
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -13,7 +13,7 @@
"Eemeli Aro <eemeli@gmail.com>"
],
"license": "MIT",
"homepage": "https://messageformat.github.io/",
"homepage": "https://messageformat.github.io/messageformat/v3/",
"repository": "messageformat/messageformat",
"bin": {
"messageformat": "./cli.js"
Expand Down
8 changes: 4 additions & 4 deletions packages/loader/README.md
@@ -1,6 +1,6 @@
# ICU MessageFormat loader for Webpack

Loader that parses input JSON & YAML objects of strings as objects of JavaScript message functions with a matching structure, using [`messageformat`](https://messageformat.github.io/messageformat/).
Loader that parses input JSON & YAML objects of strings as objects of JavaScript message functions with a matching structure, using [`messageformat`](https://messageformat.github.io/messageformat/v3/).

## Installation

Expand Down Expand Up @@ -73,14 +73,14 @@ messages['ordinal-example']({ N: 1 });
- `customFormatters` Add custom formatter functions to this MessageFormat instance.
- `strictNumberSign` Follow the stricter ICU MessageFormat spec and throw a runtime error if # is used with non-numeric input. Defaults to `false`.

[`locale`]: https://messageformat.github.io/messageformat.js/doc/MessageFormat.html#MessageFormat
[`locale`]: https://messageformat.github.io/messageformat/v3/MessageFormat#MessageFormat
[cldr language code]: http://www.unicode.org/cldr/charts/29/supplemental/language_territory_information.html
[`messageformat`]: https://messageformat.github.io/messageformat.js/doc/MessageFormat.html
[`messageformat`]: https://messageformat.github.io/messageformat/v3/MessageFormat
[`convert`]: https://github.com/messageformat/messageformat/tree/master/packages/convert

## Links

- [messageformat](https://messageformat.github.io/)
- [messageformat v3](https://messageformat.github.io/messageformat/v3/)
- Loaders:
- [Webpack v1](https://webpack.github.io/docs/using-loaders.html)
- [Webpack v2+](https://webpack.js.org/concepts/loaders/)
Expand Down
2 changes: 1 addition & 1 deletion packages/loader/package.json
Expand Up @@ -16,7 +16,7 @@
],
"author": "Clayton Watts <cletusw@gmail.com> (https://github.com/cletusw)",
"license": "MIT",
"homepage": "https://messageformat.github.io/",
"homepage": "https://messageformat.github.io/messageformat/v3/",
"repository": "messageformat/messageformat",
"main": "index.js",
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/messageformat/README.md
Expand Up @@ -58,8 +58,8 @@ npm install --save messageformat-runtime

This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our [Format Guide] will help with the ICU MessageFormat Syntax, and the [Usage Guide] provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.

[format guide]: https://messageformat.github.io/messageformat/page-guide
[usage guide]: https://messageformat.github.io/messageformat/page-build
[format guide]: https://messageformat.github.io/messageformat/v3/page-guide
[usage guide]: https://messageformat.github.io/messageformat/v3/page-build

---

Expand Down
2 changes: 1 addition & 1 deletion packages/messageformat/package.json
Expand Up @@ -17,7 +17,7 @@
"Eemeli Aro <eemeli@gmail.com>"
],
"license": "MIT",
"homepage": "https://messageformat.github.io/messageformat/",
"homepage": "https://messageformat.github.io/messageformat/v3/",
"repository": "messageformat/messageformat",
"main": "lib/messageformat.js",
"browser": "./messageformat.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Expand Up @@ -10,7 +10,7 @@
],
"author": "Eemeli Aro <eemeli@gmail.com>",
"license": "MIT",
"homepage": "https://messageformat.github.io/",
"homepage": "https://messageformat.github.io/messageformat/v3/",
"repository": "messageformat/messageformat",
"main": "lib/runtime",
"sideEffects": false,
Expand Down

0 comments on commit 104b04b

Please sign in to comment.