Skip to content

Commit

Permalink
Update documentation links for v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Sep 25, 2023
1 parent 9c8a799 commit 7a358b1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Welcome to Mockoon's official CLI, a lightweight and fast NPM package to deploy your mock APIs anywhere.
Feed it with a Mockoon's [data file](https://mockoon.com/docs/latest/mockoon-data-files/data-storage-location/), or OpenAPI specification file (JSON or YAML), and you are good to go.

The CLI supports the same features as the main application: [templating system](https://mockoon.com/docs/latest/templating/overview/), [proxy mode](https://mockoon.com/docs/latest/proxy-mode/), [route response rules](https://mockoon.com/docs/latest/route-responses/dynamic-rules/), etc.
The CLI supports the same features as the main application: [templating system](https://mockoon.com/docs/latest/templating/overview/), [proxy mode](https://mockoon.com/docs/latest/server-configuration/proxy-mode/), [route response rules](https://mockoon.com/docs/latest/route-responses/dynamic-rules/), etc.

![Mockoon CLI screenshot](https://mockoon.com/images/cli-hero-repo.png)

Expand Down
4 changes: 2 additions & 2 deletions packages/commons/src/libs/schema-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const BuildDemoEnvironment = (): Environment => {
{
...BuildRouteResponse(),
headers: [{ key: 'Content-Type', value: 'text/plain' }],
body: "The current path will match the following routes: \nhttp://localhost:3000/path/with/pattern/\nhttp://localhost:3000/path/with/patterns/\nhttp://localhost:3000/path/with/patterns/anything-else\n\nLearn more about Mockoon's routing: https://mockoon.com/docs/latest/routing"
body: "The current path will match the following routes: \nhttp://localhost:3000/path/with/pattern/\nhttp://localhost:3000/path/with/patterns/\nhttp://localhost:3000/path/with/patterns/anything-else\n\nLearn more about Mockoon's routing: https://mockoon.com/docs/latest/api-endpoints/routing/"
}
]
},
Expand All @@ -287,7 +287,7 @@ export const BuildDemoEnvironment = (): Environment => {
{
...BuildRouteResponse(),
headers: [{ key: 'Content-Type', value: 'text/plain' }],
body: "Mockoon can also act as a proxy and forward all entering requests that are not caught by declared routes. \nYou can activate this option in the environment settings ('cog' icon in the upper right corner). \nTo learn more: https://mockoon.com/docs/latest/proxy-mode\n\nAs always, all entering requests, and responses from the proxied server will be recorded ('clock' icon in the upper right corner).\nTo learn more: https://mockoon.com/docs/latest/requests-logging"
body: "Mockoon can also act as a proxy and forward all entering requests that are not caught by declared routes. \nYou can activate this option in the environment settings ('cog' icon in the upper right corner). \nTo learn more: https://mockoon.com/docs/latest/server-configuration/proxy-mode/\n\nAs always, all entering requests, and responses from the proxied server will be recorded ('clock' icon in the upper right corner).\nTo learn more: https://mockoon.com/docs/latest/logging-and-recording/requests-logging/"
}
]
}
Expand Down
10 changes: 5 additions & 5 deletions packages/desktop/src/shared/shared-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export const SharedConfig = (options: {
releasePublicURL: `${options.websiteURL}releases/`,
docs: {
templating: docsURL + 'templating/overview/',
proxy: docsURL + 'proxy-mode/',
cors: docsURL + 'cors/',
https: docsURL + 'serving-over-tls/',
headers: docsURL + 'response-headers/',
proxy: docsURL + 'server-configuration/proxy-mode/',
cors: docsURL + 'server-configuration/cors/',
https: docsURL + 'server-configuration/serving-over-tls/',
headers: docsURL + 'response-configuration/response-headers/',
rules: docsURL + 'route-responses/multiple-responses/',
hostname: docsURL + 'listening-hostname/',
hostname: docsURL + 'server-configuration/listening-hostname/',
faq: options.websiteURL + 'faq/'
},
loginURL: `${options.websiteURL}login/?inapp=true`,
Expand Down
14 changes: 7 additions & 7 deletions packages/desktop/test/tools/documentation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'response-headers',
folder: 'response-configuration/response-headers',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -284,7 +284,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'proxy-mode',
folder: 'server-configuration/proxy-mode',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -506,7 +506,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'serving-over-tls',
folder: 'server-configuration/serving-over-tls',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -554,7 +554,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'cors',
folder: 'server-configuration/cors',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -625,7 +625,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'listening-hostname',
folder: 'server-configuration/listening-hostname',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -658,7 +658,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'response-body/overview',
folder: 'response-configuration/response-body',
screenshots: [
{
tasks: async () => {
Expand Down Expand Up @@ -720,7 +720,7 @@ const documentationTopics: {
},
{
enabled: true,
folder: 'response-body/file-serving',
folder: 'response-configuration/file-serving',
screenshots: [
{
tasks: async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

Mockoon's Serverless package provides an easy way to run Mockoon's mock APIs in cloud functions and serverless environments: AWS Lambda, GCP Functions, Firebase Functions, etc.

The Serverless package supports the same features as the main [application](https://github.com/mockoon/mockoon/blob/main/packages/desktop) and [CLI](https://github.com/mockoon/mockoon/blob/main/packages/cli) (with some limitations, see below): [templating system](https://mockoon.com/docs/latest/templating/overview/), [proxy mode](https://mockoon.com/docs/latest/proxy-mode/), [route response rules](https://mockoon.com/docs/latest/route-responses/dynamic-rules/), etc.
The Serverless package supports the same features as the main [application](https://github.com/mockoon/mockoon/blob/main/packages/desktop) and [CLI](https://github.com/mockoon/mockoon/blob/main/packages/cli) (with some limitations, see below): [templating system](https://mockoon.com/docs/latest/templating/overview/), [proxy mode](https://mockoon.com/docs/latest/server-configuration/proxy-mode/), [route response rules](https://mockoon.com/docs/latest/route-responses/dynamic-rules/), etc.

## Using this package

Expand Down

0 comments on commit 7a358b1

Please sign in to comment.