Remove contributing and component docs from the public docs site
Drop the Contributing and internals section, Architecture, Frontend, and dp-* component pages from the docs registry, prose files, nav, and legacy redirect target. Guard with tests that fail if they return.
This commit is contained in:
+1
-13
@@ -10,9 +10,7 @@ from molodetz.rendering import normalize_dashes
|
||||
|
||||
PROSE_DIR = config.TEMPLATES_DIR / "docs" / "prose"
|
||||
|
||||
SECTIONS = ("Start here", "Building with the API", "Contributing and internals", "Admin")
|
||||
|
||||
COMPONENTS = ("avatar", "code", "content", "title", "toast", "dialog", "context-menu", "upload", "lightbox", "chat")
|
||||
SECTIONS = ("Start here", "Building with the API", "Admin")
|
||||
|
||||
DOCS_PAGES = [
|
||||
{"slug": "welcome", "title": "Welcome", "section": "Start here", "file": "welcome.md"},
|
||||
@@ -20,18 +18,8 @@ DOCS_PAGES = [
|
||||
{"slug": "join", "title": "Joining", "section": "Start here", "file": "join.md"},
|
||||
{"slug": "legal", "title": "Terms and privacy", "section": "Start here", "file": "legal.md"},
|
||||
{"slug": "api", "title": "API and authentication", "section": "Building with the API", "file": "api.md"},
|
||||
{"slug": "architecture", "title": "Architecture", "section": "Contributing and internals", "file": "architecture.md"},
|
||||
{"slug": "frontend", "title": "Frontend and components", "section": "Contributing and internals", "file": "frontend.md"},
|
||||
{"slug": "admin", "title": "Admin and services", "section": "Admin", "file": "admin.md", "admin": True},
|
||||
{"slug": "backups", "title": "Backups and maintenance", "section": "Admin", "file": "backups.md", "admin": True},
|
||||
] + [
|
||||
{
|
||||
"slug": f"component-{name}",
|
||||
"title": f"dp-{name}",
|
||||
"section": "Contributing and internals",
|
||||
"file": f"component-{name}.md",
|
||||
}
|
||||
for name in COMPONENTS
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user