fix: correct "bugs" to "issues" in routing table and README references across multiple documentation files
This commit is contained in:
@@ -7,6 +7,7 @@ SECTION_TOOLS = "Tools"
|
||||
SECTION_COMPONENTS = "Components"
|
||||
SECTION_STYLES = "Styles"
|
||||
SECTION_API = "API"
|
||||
SECTION_DEVRANT = "devRant API"
|
||||
SECTION_ADMIN = "Administration"
|
||||
SECTION_DEVII = "Devii internals"
|
||||
SECTION_BOTS = "Bots internals"
|
||||
@@ -23,7 +24,10 @@ AUDIENCE_OPERATE = "Operate"
|
||||
|
||||
AUDIENCES = [
|
||||
(AUDIENCE_START, [SECTION_GENERAL, SECTION_TOOLS]),
|
||||
(AUDIENCE_BUILD, [SECTION_API, SECTION_COMPONENTS, SECTION_STYLES]),
|
||||
(
|
||||
AUDIENCE_BUILD,
|
||||
[SECTION_API, SECTION_DEVRANT, SECTION_COMPONENTS, SECTION_STYLES],
|
||||
),
|
||||
(
|
||||
AUDIENCE_CONTRIBUTE,
|
||||
[
|
||||
@@ -226,6 +230,55 @@ DOCS_PAGES = [
|
||||
"kind": "prose",
|
||||
"section": SECTION_API,
|
||||
},
|
||||
{
|
||||
"slug": "xmlrpc",
|
||||
"title": "XML-RPC API",
|
||||
"kind": "prose",
|
||||
"section": SECTION_API,
|
||||
},
|
||||
# devRant API - legacy-compatible protocol, spread over focused pages
|
||||
{
|
||||
"slug": "devrant",
|
||||
"title": "Overview",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-auth",
|
||||
"title": "Authentication & accounts",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-rants",
|
||||
"title": "Rants",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-comments",
|
||||
"title": "Comments",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-users",
|
||||
"title": "Users & avatars",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-notifications",
|
||||
"title": "Notifications",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
{
|
||||
"slug": "devrant-clients",
|
||||
"title": "Client scripts",
|
||||
"kind": "prose",
|
||||
"section": SECTION_DEVRANT,
|
||||
},
|
||||
*[
|
||||
{**page, "section": (SECTION_ADMIN if page.get("admin") else SECTION_API)}
|
||||
for page in api_doc_pages()
|
||||
|
||||
Reference in New Issue
Block a user