feat: serve docs flat at /<repo>/ with no redirects
- collect.py copies each repo's built site contents directly to a top-level <repo>/ dir (was libs|apis|wiki/<repo>/site nesting) - nginx uses `index index.html lib/index.html api/index.html` so /dagpipe/ -> lib/index.html, /auth-server/ -> api/index.html are served internally with no redirects - _index regenerates links against the flat layout (/dagpipe/lib/, /auth-server/api/, /mongo-ops/, /blog/...) - config.yml static entries point at vendored blog/ + media-manager/ - Dockerfile copies per-repo dirs flat into the nginx html root - removed stale libs/, apis/, wiki/, tutorials/ category trees
This commit is contained in:
71
py-jwt/mcp/modules/jwtlib.models.mongo.json
Normal file
71
py-jwt/mcp/modules/jwtlib.models.mongo.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"module": "jwtlib.models.mongo",
|
||||
"content": {
|
||||
"path": "jwtlib.models.mongo",
|
||||
"docstring": "# Summary\n\nPersistence-layer user model for MongoDB.\n\nThis module defines the internal database representation of a user.\nIt is used exclusively by the repository and persistence layers and\nmust never be exposed directly to consumers.\n\nPublic-facing user data is provided via dedicated projection models.",
|
||||
"objects": {
|
||||
"BaseDocument": {
|
||||
"name": "BaseDocument",
|
||||
"kind": "alias",
|
||||
"path": "jwtlib.models.mongo.BaseDocument",
|
||||
"signature": "<bound method Alias.signature of Alias('BaseDocument', 'mongo_ops.BaseDocument')>",
|
||||
"docstring": null
|
||||
},
|
||||
"ActiveStateMixin": {
|
||||
"name": "ActiveStateMixin",
|
||||
"kind": "class",
|
||||
"path": "jwtlib.models.mongo.ActiveStateMixin",
|
||||
"signature": "<bound method Alias.signature of Alias('ActiveStateMixin', 'jwtlib.models.common.ActiveStateMixin')>",
|
||||
"docstring": "Mixin for entities with an active status flag.\n\nAttributes:\n is_active (bool):\n Indicates whether the account is active and allowed to\n authenticate.",
|
||||
"members": {
|
||||
"is_active": {
|
||||
"name": "is_active",
|
||||
"kind": "attribute",
|
||||
"path": "jwtlib.models.mongo.ActiveStateMixin.is_active",
|
||||
"signature": "<bound method Alias.signature of Alias('is_active', 'jwtlib.models.common.ActiveStateMixin.is_active')>",
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"IdentityMixin": {
|
||||
"name": "IdentityMixin",
|
||||
"kind": "class",
|
||||
"path": "jwtlib.models.mongo.IdentityMixin",
|
||||
"signature": "<bound method Alias.signature of Alias('IdentityMixin', 'jwtlib.models.common.IdentityMixin')>",
|
||||
"docstring": "Mixin for entities with a username and email.\n\nAttributes:\n username (str):\n Unique username used for authentication and display.\n email (Optional[EmailStr]):\n Primary email address associated with the account.",
|
||||
"members": {
|
||||
"username": {
|
||||
"name": "username",
|
||||
"kind": "attribute",
|
||||
"path": "jwtlib.models.mongo.IdentityMixin.username",
|
||||
"signature": "<bound method Alias.signature of Alias('username', 'jwtlib.models.common.IdentityMixin.username')>",
|
||||
"docstring": null
|
||||
},
|
||||
"email": {
|
||||
"name": "email",
|
||||
"kind": "attribute",
|
||||
"path": "jwtlib.models.mongo.IdentityMixin.email",
|
||||
"signature": "<bound method Alias.signature of Alias('email', 'jwtlib.models.common.IdentityMixin.email')>",
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"User": {
|
||||
"name": "User",
|
||||
"kind": "class",
|
||||
"path": "jwtlib.models.mongo.User",
|
||||
"signature": "<bound method Class.signature of Class('User', 18, 40)>",
|
||||
"docstring": "Internal user persistence model.\n\nAttributes:\n hashed_password (str):\n Secure hash of the user's password.\n\nNotes:\n **Responsibilities:**\n\n - Represents a user record as stored in the database. Includes\n sensitive fields and is strictly confined to the persistence\n layer.\n\n **Guarantees:**\n\n - This model MUST NOT be returned from authentication APIs.\n Consumers should use `PublicUser` instead. Password verification\n is handled by the repository layer.",
|
||||
"members": {
|
||||
"hashed_password": {
|
||||
"name": "hashed_password",
|
||||
"kind": "attribute",
|
||||
"path": "jwtlib.models.mongo.User.hashed_password",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user