Skip to content

Commit 47a851c

Browse files
committed
change doc structure and navigation in webui
1 parent 1676b09 commit 47a851c

72 files changed

Lines changed: 1399 additions & 988 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.asyncapi-tool.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Your API Mocking Tool for Agile Development. Mock and simulate AsyncAPI and OpenAPI services for local testing, development, and CI pipelines — with a visual dashboard to inspect your mocks and a powerful test data generator fully customizable with JavaScript.",
44
"links": {
55
"websiteUrl": "https://mokapi.io",
6-
"docsUrl": "https://mokapi.io/docs/guides/welcome",
6+
"docsUrl": "https://mokapi.io/docs/welcome",
77
"repoUrl": "https://github.com/marle3003/mokapi"
88
},
99
"filters": {

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</p>
1515
<p align="center">
1616
<a href="https://github.com/marle3003/mokapi/releases">Download</a> ·
17-
<a href="https://mokapi.io/docs/guides/welcome">Documentation</a>
17+
<a href="https://mokapi.io/docs/welcome">Documentation</a>
1818
</p>
1919

2020
# 🚀 Overview
@@ -99,32 +99,32 @@ Mokapi’s dashboard lets you visualize your mock APIs. View requests and respon
9999

100100
Explore tutorials that walk you through mocking different protocols and scenarios:
101101

102-
- 🌍 [Get started with REST API](https://mokapi.io/docs/resources/tutorials/get-started-with-rest-api)\
102+
- 🌍 [Get started with REST API](https://mokapi.io/resources/tutorials/get-started-with-rest-api)\
103103
This tutorial will show you how to mock a REST API using an OpenAPI specification.
104104

105-
-[Mocking Kafka with AsyncAPI](https://mokapi.io/docs/resources/tutorials/get-started-with-kafka)\
105+
-[Mocking Kafka with AsyncAPI](https://mokapi.io/resources/tutorials/get-started-with-kafka)\
106106
Mocking a Kafka topic using Mokapi and verifying that a producer generates valid messages.
107107

108-
- 👨‍💻 [Mocking LDAP Authentication](https://mokapi.io/docs/resources/tutorials/mock-ldap-authentication-in-node)\
108+
- 👨‍💻 [Mocking LDAP Authentication](https://mokapi.io/resources/tutorials/mock-ldap-authentication-in-node)\
109109
Simulate LDAP-based login flows, including group-based permissions.
110110

111-
- 📧 [Mocking SMTP Mail Servers](https://mokapi.io/docs/resources/tutorials/mock-smtp-server-send-mail-using-node)\
111+
- 📧 [Mocking SMTP Mail Servers](https://mokapi.io/resources/tutorials/mock-smtp-server-send-mail-using-node)\
112112
Use Mokapi to simulate sending and receiving emails in Node.js apps.
113113

114-
- 🖥️ [End-to-End Testing with Jest and GitHub Actions](https://mokapi.io/docs/resources/tutorials/running-mokapi-in-a-ci-cd-pipeline)\
114+
- 🖥️ [End-to-End Testing with Jest and GitHub Actions](https://mokapi.io/resources/tutorials/running-mokapi-in-a-ci-cd-pipeline)\
115115
Integrate Mokapi into your CI pipeline for full-stack E2E testing.
116116

117-
> More examples are available on [mokapi.io/docs/resources](https://mokapi.io/docs/resources)
117+
> More examples are available on [mokapi.io/resources](https://mokapi.io/resources)
118118
119119
# 📚 Documentation
120120

121-
- [Get Started](https://mokapi.io/docs/guides/welcome)
122-
- [HTTP](https://mokapi.io/docs/guides/http)
123-
- [Kafka](https://mokapi.io/docs/guides/kafka)
124-
- [LDAP](https://mokapi.io/docs/guides/ldap)
125-
- [SMTP](https://mokapi.io/docs/guides/mail)
126-
- [Javascript API](https://mokapi.io/docs/javascript-api)
127-
- [Resources](https://mokapi.io/docs/resources)
121+
- [Get Started](https://mokapi.io/docs/welcome)
122+
- [HTTP](https://mokapi.io/docs/http/overview)
123+
- [Kafka](https://mokapi.io/docs/kafka/overview)
124+
- [LDAP](https://mokapi.io/docs/ldap/overview)
125+
- [SMTP](https://mokapi.io/docs/mail/overview)
126+
- [Javascript API](https://mokapi.io/docs/javascript-api/overview)
127+
- [Resources](https://mokapi.io/resources)
128128

129129
# ☕ Support
130130

config/dynamic/mail/parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func (c *Config) Parse(config *dynamic.Config, _ dynamic.Reader) error {
1010
return nil
1111
}
1212

13-
log.Warnf("Deprecated mail configuration in %s. This format is deprecated and will be removed in future versions. Please migrate to the new format. More info: https://mokapi.io/docs/guides/email", config.Info.Path())
13+
log.Warnf("Deprecated mail configuration in %s. This format is deprecated and will be removed in future versions. Please migrate to the new format. More info: https://mokapi.io/docs/email/overview", config.Info.Path())
1414

1515
converted := c.Convert()
1616
config.Data = converted

config/dynamic/mail/parse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ func TestConfig_Parse(t *testing.T) {
3333

3434
require.Len(t, hook.Entries, 1)
3535
require.Equal(t, logrus.WarnLevel, hook.Entries[0].Level)
36-
require.Equal(t, "Deprecated mail configuration in file://foo.yml. This format is deprecated and will be removed in future versions. Please migrate to the new format. More info: https://mokapi.io/docs/guides/email", hook.Entries[0].Message)
36+
require.Equal(t, "Deprecated mail configuration in file://foo.yml. This format is deprecated and will be removed in future versions. Please migrate to the new format. More info: https://mokapi.io/docs/email/overview", hook.Entries[0].Message)
3737
}

0 commit comments

Comments
 (0)