Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[documentation] 404s in internal documentation links #11089

Closed
bjrne opened this issue Dec 13, 2021 · 6 comments
Closed

[documentation] 404s in internal documentation links #11089

bjrne opened this issue Dec 13, 2021 · 6 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation

Comments

@bjrne
Copy link

bjrne commented Dec 13, 2021

Bug

What is the current behavior?
When visiting the documentation under https://mongoosejs.com/docs/api.html#mongoose_Mongoose-Document (via first Google hit to api.html and then clicking on the Mongoose.prototype.Document() link), a click on the Document link there leads to https://mongoosejs.com/api/document.html which returns a 404 when it should probably link to https://mongoosejs.com/docs/api.html#Document .

If the current behavior is a bug, please provide the steps to reproduce.
Stated above.

What is the expected behavior?
It should probably link to https://mongoosejs.com/docs/api.html#Document .

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
There is no version number in the docs, but the docs are referring to mongoose 6.1.1

@IslandRhythms IslandRhythms added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Dec 14, 2021
@vkarpov15 vkarpov15 added this to the 6.1.6 milestone Dec 20, 2021
@khairnarsaurabh23
Copy link
Contributor

can i work on this issue?

@vkarpov15
Copy link
Collaborator

@khairnarsaurabh23 of course, feel free to put in a PR. There's no need to ask.

@khairnarsaurabh23
Copy link
Contributor

I've made respective changes, but before PR how can I test those changes? I tried to find it but couldn't.

@khairnarsaurabh23
Copy link
Contributor

@vkarpov15

@vkarpov15
Copy link
Collaborator

@khairnarsaurabh23 make gendocs to compile docs and node ./static.js to run static server

@vkarpov15
Copy link
Collaborator

Should be fixed by #11179

@vkarpov15 vkarpov15 removed this from the 6.1.6 milestone Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

4 participants