Skip to content

DOCSP-48812 - Match PyMongo TOC #556

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
merged 10 commits into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions snooty.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
toc_landing_pages = [
"/fundamentals/connection",
"/fundamentals/crud",
"/usage-examples",
"/fundamentals",
"/fundamentals/serialization",
"/fundamentals/crud/write-operations/update-one",
"/fundamentals/crud/write-operations/update-many",
"/fundamentals/authentication",
"/upgrade",
"/fundamentals/database-collection",
"/get-started"
Comment on lines -2 to -12
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that some pages here that are landing pages in Pymongo (like Databases and Collections) have been removed as landing pages here. The Databases and Collections page still exists and can be accessed through the URL but not the sidebar. Is that intended and would be fixed when working on the Databases and Collections ticket?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. databases and collections definitely should be viewable; it wasn't because it still had Run a Database Command under it. that page should be (and is now) its own L1.

In PyMongo, many of the L1/landing pages are there only to show usage examples. We're going to be moving the examples to the content pages as part of Comp Coverage, so my thinking was that we could make L1s viewable only if needed (i.e., if they have content other than usage examples to show). Does that work?

"/get-started",
"/connect/connection-options",
"/security/authentication"
]
name = "csharp"
title = "C#/.NET"
Expand Down Expand Up @@ -47,5 +39,5 @@ string-data-type = "``string``"
int-data-type = "``integer``"
not-available = "N/A"
analyzer = "MongoDB C# Analyzer"
analyzer-short = "C# Analzyer"
analyzer-short = "C# Analyzer"
query-api = "MongoDB Query API"
Loading
Loading