Skip to content

Commit

Permalink
docs(guides+schematypes): link to custom schematypes docs
Browse files Browse the repository at this point in the history
Fix #7487
  • Loading branch information
vkarpov15 committed Feb 4, 2019
1 parent ad71535 commit bc95a22
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h3 id="mongoose-core-concepts">Mongoose Core Concepts</h3>
</ul>
<h3 id="integrations">Integrations</h3>
<ul>
<li><a href="/docs/customschematypes.html">Custom SchemaTypes</a></li>
<li><a href="/docs/promises.html">Promises</a></li>
<li><a href="/docs/lambda.html">AWS Lambda</a></li>
<li><a href="/docs/browser.html">Browser Library</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/guides.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion docs/schematypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,14 +481,15 @@ <h3 id="getters"><a href="#getters">Getters</a></h3>
</code></pre>
<h3 id="customtypes"><a href="#customtypes">Creating Custom Types</a></h3>

<p>Mongoose can also be extended with custom SchemaTypes. Search the
<p>Mongoose can also be extended with <a href="customschematypes.html">custom SchemaTypes</a>. Search the
<a href="http://plugins.mongoosejs.io">plugins</a>
site for compatible types like
<a href="https://github.com/aheckmann/mongoose-long">mongoose-long</a>,
<a href="https://github.com/vkarpov15/mongoose-int32">mongoose-int32</a>,
and
<a href="https://github.com/aheckmann/mongoose-function">other</a>
<a href="https://github.com/OpenifyIt/mongoose-types">types</a>.</p>
<p>Read more about creating <a href="customschematypes.html">custom SchemaTypes here</a>.</p>
<h3 id="path"><a href="#path">The <code>schema.path()</code> Function</a></h3>

<p>The <code>schema.path()</code> function returns the instantiated schema type for a
Expand Down
4 changes: 3 additions & 1 deletion docs/schematypes.jade
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ block content

<h3 id="customtypes"><a href="#customtypes">Creating Custom Types</a></h3>

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),
Expand All @@ -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).

<h3 id="path"><a href="#path">The `schema.path()` Function</a></h3>

The `schema.path()` function returns the instantiated schema type for a
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ <h2 id="sponsors">Sponsors</h2>
<a href="https://monovm.com/">
<img class="sponsor" src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2FMonoVM.com&height=100" style="height:100px">
</a>
<a href="https://domainwheel.com/">
<img class="sponsor" src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2Fdomainwheel.com&height=100" style="height:100px">
</a>
</div>
</div>

Expand Down

0 comments on commit bc95a22

Please sign in to comment.