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

Backport documentation versioning changes to 6.x #13253

Merged
merged 26 commits into from Apr 27, 2023

Conversation

hasezoey
Copy link
Collaborator

@hasezoey hasezoey commented Apr 6, 2023

Summary

This PR is a backport of #13222 to 6.x, includes some extra changes:

  • ignore api.pug for all api specific changes (like watchpath, or watching the src/, or using api_split)
  • also rename item.name to item.title in api.pug
  • add a fix to not use a versioned path for pastversion in sidebar if pastversion matches current (deployed) version

re #13148
re #13222 (comment)

Note:
PRs updating 6.x documentation (like #13251) would need to be updated to refer to the proper paths after this PR is merged; or this PR needs to be updated if those PRs would be merged first

because it is now handled by "website"
and dont import "api.js" directly
@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Apr 6, 2023
@hasezoey hasezoey added this to the 6.10.5 milestone Apr 6, 2023
@hasezoey hasezoey requested a review from vkarpov15 April 6, 2023 12:56
@vkarpov15 vkarpov15 modified the milestones: 6.10.5, 6.10.6 Apr 6, 2023
@hasezoey
Copy link
Collaborator Author

updated to also include changes from #13320

@vkarpov15 vkarpov15 merged commit c6398f3 into Automattic:6.x Apr 27, 2023
20 checks passed
@hasezoey hasezoey deleted the unifyDocs6x branch April 27, 2023 18:04
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