-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Implement custom 404 (and 401,403,410) pages for docs site #116
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout.html modified to add logic to alter Google Analytics code depending on whether it's an error page being generated or a normal page. The .htaccess file needs to be dropped in the root directory of the manual (or appended to the one for the site). Sphinx ignores the .htaccess file and does not copy it to the built html directory.
mongo-cr-bot
pushed a commit
that referenced
this pull request
Dec 9, 2021
* DOCSP-19981 insert updates pt7 * DOCSP-19981 insert updates pt7 * Fix upstream merge conflict * Method swaps * Old include * Staging updates * Review comments
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
May 22, 2025
* DOCSP-34657 release notes for 100.9.4 * external review
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jun 6, 2025
* DOCSP-38469 Add OpenAPI Docs * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * rename spec file * update spec file * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jun 24, 2025
DOCSP-30047 | Added patch version 1.10.1
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jun 26, 2025
* DOCSP-7412 - Kubernetes v1.3.0 release notes. * DOCSP-7454 - Updated per Anton's review. * DOCSP-7454 - Prep additional files for 1.3
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 11, 2025
* DOCSP-14019 fix for typo/error in path syntax example * DOCSP-14019 updates for review feedback
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 15, 2025
* Add missing meta descriptions * Update source/testing.txt * Update source/thread-safety.txt --------- Co-authored-by: Rachel Mackintosh <[email protected]>
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 15, 2025
* Add missing meta descriptions * Update source/testing.txt * Update source/thread-safety.txt --------- Co-authored-by: Rachel Mackintosh <[email protected]> (cherry picked from commit 8390a62) Co-authored-by: Nick Larew <[email protected]>
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 22, 2025
* Add PR template * Scaffolding * DOCSP-41953: Create a deployment (#93) * DOCSP-41953: Create a deployment * toc * add troubleshoot file * DOCSP-41954: Create a connection string (#99) * DOCSP-41954: Create a connection string * edits * spacing * DOCSP-42388: Next steps (#101) * DOCSP-41975: Retrieve data (#102) * DOCSP-41975: Retrieve data * fixes * quotes * code fix * JS feedback * JT feedback * code format * fix * JT feedback 2 * edit * DOCSP-41952: Download and Install (#92) * DOCSP-41952: Download and Install * edits * toc, fixes * AS feedback * AS feedback 2 * typo * JT feedback * DOCSP-41976: Projection guide (#104) * DOCSP-41976: Projection guide * edits * fixes * code edits, output * JS feedback * JT feedback * DOCSP-41955: Connect to MongoDB (#100) * DOCSP-41955: Connect to MongoDB * edits * edit * RR feedback * typo * code edit * DOCSP-41974: Specify a query (#103) * DOCSP-41974: Specify a query * edits * output * fix * snooty.toml * RR feedback * code edits * DOCSP-41977: Specify documents to return (#105) * DOCSP-41977: Specify documents to return * edits * code output * toc * MM feedback, code edits * edit * JT feedback * edit * test * MM feedback 2 * DOCSP-41957 - Mongo Client (#106) Co-authored-by: Rea Rustagi <[email protected]> * DOCSP-41960 - TLS (#114) * DOCSP-41978: Count documents (#108) * DOCSP-41978: Count documents * edits * code ex format * link * RR feedback * DOCSP-41979: Distinct values (#109) Adds a Distinct Values guide. * DOCSP-41981: Change streams (#113) Adds a Change Streams guide. * DOCSP-41993 Compatibility Table * test webhook * toc and sharedincludes * lang table * edits * headings * retry on shared include * shared includes * callout * help links * DOCSP-41958 - Connection Targets (#107) Co-authored-by: Nora Reidy <[email protected]> Co-authored-by: Andreas Braun <[email protected]> * tech review * DOCSP-41968: Update documents (#118) * DOCSP-41968: Update documents * snooty fix * edits * DOCSP-41967: Insert documents (#116) * DOCSP-41967: Insert documents * build * snooty * edit * JS feedback * JT feedback * JT feedback 2 * DOCSP-41980: Cursor guide (#110) * DOCSP-41980: Cursor guide * edits * code edits * output * vale fix * MM feedback * edit * fix code ex * edit * JT feedback * DOCSP-41988: Aggregation (#115) * DOCSP-41988: Aggregation * toc * edits * code edit * JS feedback * dev center * JM feedback * explain api link * JM feedback 2 * DOCSP-41983: indexes landing pg * wip * wip * MM PR fixes 1 * JM tech review 1 * JM tech review 1 * wip * wip * DOCSP-41969: Replace documents (#125) * DOCSP-41969: Replace documents * edits * wording * SA * JT feedback * JM tech review 2 * Add files via upload * DOCSP-41970: Delete documents (#128) Adds a guide that shows how to delete documents. * DOCSP-41984: single field index * wip * JS PR fixes 1 * wip * DOCSP-41986: multikey indexes * links * bullet pts * JS suggestion * fix whitespace per JM comment * uncomment * DOCSP-41985: compound idx * small fix * DOCSP-41966: Write operations landing (#135) * DOCSP-41966: Write operations landing * edits * RR feedback * JT feedback * JT feedback 2 * gridfs examples * DOCSP-42026: In use encryption (#142) * DOCSP-42026: In use encryption * edit * DOCSP-41972: GridFS guide (#133) * DOCSP-41972: GridFS guide * fixes * code edits * fix * RR feedback * phpmethod * fix * JM most feedback * alternate upload/download methods * file revisions * code fix * tojson * edits * JM feedback 2 * edits * JM last feedback * DOCSP-41971: Bulk write (#130) * DOCSP-41971: Bulk write * edits * JS feedback * api links * DOCSP-41987: atlas search idx * resolve todos * toc * DOCSP-41963: Databases and collections (#136) * DOCSP-41963: Databases and collections * edits * phpmethod * code fix * MW feedback * fix * MW feedback 2 * JM feedback * JM feedback 2 * JS fix * internal review * DOCSP-41982: cluster monitoring * small fixes * MW PR fixes 1 * test netlify * spacing * try using out of repo ref and add back legend * ou of repo ref * legend glitch * JM tech review 1 * single quotes * links * vale * remove older driver version past 1.15 * DOCSP-41991 What's New * add rest of versions * fix links * fix links * JM tech review 2 * DOCSP-41964: Time series collections (#138) * DOCSP-41964: Time series collections * toc * edits * keywords * SA feedback * JT feedback * JM final fixes * review comments * typo * DOCSP-41973 Read Landing Page * review comments * vale errors * small thing * full page with ex * add page * meta * DOCSP-41965: Read and write settings (#146) * DOCSP-41965: Read and write settings * more info * edits * edits * headers * fix link * fix * RR feedback * api docs * fix * fix * DOCSP-41950: Landing page (#150) * DOCSP-41950: Landing page * fix build errors * fixes, data formats * toc * fix * data formats folder * RR feedback * fix * remove file * edit sample app intro * change links in count sections * update sample app intro * DOCSP-41990: Authentication mechanisms (#139) * DOCSP-41990: Authentication mechanisms * client tabs * edits * edits * add info * reduce repetition * add section * fix link * MW feedback * fix * JM most feedback * move to code file * more JM edits * JM feedback 2 * DOCSP-41989: Security landing page (#149) * DOCSP-41989: Security landing page * more info * edits * snooty.toml * edits * RR feedback * JM feedback * DOCSP-41962 - Stable API (#117) Co-authored-by: Jeremy Mikola <[email protected]> * DOCSP-41992 Upgrade versions * toc * edits * how to upgrade sections * style * edit * edit * review comments * ref * Revise descriptions for server opening/closed events * DOCSP-43204: Connection landing page (#147) * DOCSP-43204: Connection landing page * toc edit * edits * remove compression * fix * sample app * snooty * JM feedback * replica set * JM feedback 2 * JM last feedback * DOCSP-43819: php 1.20 release * fix * DOCSP-41956: run a command * wip * formatting fix * JS PR fixes 1 * link fix * style fixes * JT tech review 1 * wip * JM tech review * tree * api links * links * JM tech review 2 * small fixes * add ext upgrade command * DOCSP-41995: transaction * wip * update code * NR PR fixes 1 * wip * add emphasis * add with_txn() method to api links * cxn string env * edit * JM tech review 1 * remove dupe sc * tech review * wrap fix * edit copy * DOCSP-41959 - Connection Options (#112) Co-authored-by: Nora Reidy <[email protected]> Co-authored-by: Jeremy Mikola <[email protected]> * DOCSP-43396: Cleanup (#151) * DOCSP-43396: Cleanup * quickstart fix * code fixes * edit * snooty * edit * code output * build log errors * another build fix * add info * upgrade guide to landing * fix * driver mentions * RR feedback * build fix * build fix * php directives --------- Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Rea Rustagi <[email protected]> Co-authored-by: Lindsey Moore <[email protected]> Co-authored-by: Andreas Braun <[email protected]> Co-authored-by: rustagir <[email protected]> Co-authored-by: Brandon Ly <[email protected]> Co-authored-by: lindseymoore <[email protected]> Co-authored-by: Jeremy Mikola <[email protected]>
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 330f2d7)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 330f2d7)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
Co-authored-by: lindseymoore <[email protected]>
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 88383e1)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 88383e1)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 88383e1)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 25, 2025
(cherry picked from commit 88383e1)
mongodb-server-docs-sync-bot bot
pushed a commit
that referenced
this pull request
Jul 30, 2025
* susnet atlas cli v2 * change order
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created four custom error pages (meta/401.txt, meta/403.txt, meta/404.txt and meta/410.txt).
Modified layout.html to alter the Google Analytics trackPageView line depending on whether it's an error page or normal page being generated.