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

Misc Documentation changes #13084

Merged
merged 15 commits into from
Mar 13, 2023
Merged

Misc Documentation changes #13084

merged 15 commits into from
Mar 13, 2023

Conversation

hasezoey
Copy link
Collaborator

Summary

This PR does some miscellaneous documentation improvements / changes:

  • remove file prior.pug, because it is not generated anywhere since at least mongoose 4.0
  • remove file contributing.md (in /docs), because that file was not listed in any sidebar and didnt provide any helpful things
  • change api.pug to be api.md, to lessen the amount of pug files (re Switch from Pug to server side rendered Vue for docs #10312)
  • change to use fileName in api_split.pug
  • convert some documentation scripts from var to const / let
  • fix Query.prototype.toStringTag not having a ctx.constructor
  • change Symbols to now be listed as [Symbol.function] instead of .function or .Symbol.function
  • add extra handling for symbols to be listed without a extra dot (now listed as .prototype[Symbol.function] instead of .prototype.[Symbol.function])
  • fix schematypes's isRequired being listed as validators in documentation and at runtime
  • change search script to use history.pushState instead of always reloading
  • change search script to also use navbar search and disable nav-bar search when being in /search.html (but encourage the use of the big input)
  • update purecss from 1.0.0 to 1.0.1

@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Feb 24, 2023
docs/js/navbar-search.js Outdated Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit 39fda98 into Automattic:master Mar 13, 2023
@hasezoey hasezoey deleted the miscDocs branch March 13, 2023 18:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants