From bc95a222a568a8ac758cc960d1f1e978f4fa6dbd Mon Sep 17 00:00:00 2001
From: Valeri Karpov
Date: Mon, 4 Feb 2019 18:38:50 -0500
Subject: [PATCH] docs(guides+schematypes): link to custom schematypes docs
Fix #7487
---
docs/guides.html | 1 +
docs/guides.jade | 1 +
docs/schematypes.html | 3 ++-
docs/schematypes.jade | 4 +++-
index.html | 3 +++
5 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/guides.html b/docs/guides.html
index 3f4d07eb2e1..4b1a3222110 100644
--- a/docs/guides.html
+++ b/docs/guides.html
@@ -18,6 +18,7 @@ Mongoose Core Concepts
Integrations
+- Custom SchemaTypes
- Promises
- AWS Lambda
- Browser Library
diff --git a/docs/guides.jade b/docs/guides.jade
index eb5535b3929..6b70f8f98fd 100644
--- a/docs/guides.jade
+++ b/docs/guides.jade
@@ -28,6 +28,7 @@ block content
### Integrations
+ * [Custom SchemaTypes](/docs/customschematypes.html)
* [Promises](/docs/promises.html)
* [AWS Lambda](/docs/lambda.html)
* [Browser Library](/docs/browser.html)
diff --git a/docs/schematypes.html b/docs/schematypes.html
index b8f87c72b17..c434f010eba 100644
--- a/docs/schematypes.html
+++ b/docs/schematypes.html
@@ -481,7 +481,7 @@
-Mongoose can also be extended with custom SchemaTypes. Search the
+
Mongoose can also be extended with custom SchemaTypes. Search the
plugins
site for compatible types like
mongoose-long,
@@ -489,6 +489,7 @@
and
other
types.
+Read more about creating custom SchemaTypes here.
The schema.path()
function returns the instantiated schema type for a
diff --git a/docs/schematypes.jade b/docs/schematypes.jade
index a5d31ceabda..481d4b9b43d 100644
--- a/docs/schematypes.jade
+++ b/docs/schematypes.jade
@@ -571,7 +571,7 @@ block content
- Mongoose can also be extended with custom SchemaTypes. Search the
+ Mongoose can also be extended with [custom SchemaTypes](customschematypes.html). Search the
[plugins](http://plugins.mongoosejs.io)
site for compatible types like
[mongoose-long](https://github.com/aheckmann/mongoose-long),
@@ -580,6 +580,8 @@ block content
[other](https://github.com/aheckmann/mongoose-function)
[types](https://github.com/OpenifyIt/mongoose-types).
+ Read more about creating [custom SchemaTypes here](customschematypes.html).
+
The `schema.path()` function returns the instantiated schema type for a
diff --git a/index.html b/index.html
index 391f6fdd1cc..81994bef8f7 100644
--- a/index.html
+++ b/index.html
@@ -121,6 +121,9 @@
+
+
+