Skip to content

Commit 53c4433

Browse files
committed
remove state inheritance docs
1 parent 718f3e4 commit 53c4433

File tree

6 files changed

+6
-271
lines changed

6 files changed

+6
-271
lines changed
File renamed without changes.

docs/substates/overview.md

Lines changed: 0 additions & 264 deletions
This file was deleted.

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def sidebar_icon(name):
136136
"Wrapping React": "atom",
137137
"Vars": "variable",
138138
"Events": "arrow-left-right",
139-
"Substates": "boxes",
139+
"Component State": "boxes",
140140
"API Routes": "route",
141141
"Client Storage": "package-open",
142142
"Database": "database",

pcweb/components/docpage/sidebar/sidebar_items/learn.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ def get_sidebar_items_backend():
119119
api_routes,
120120
authentication,
121121
client_storage,
122+
component_state,
122123
database,
123124
events,
124125
state,
125-
substates,
126126
utility_methods,
127127
vars,
128128
)
@@ -157,10 +157,9 @@ def get_sidebar_items_backend():
157157
],
158158
),
159159
create_item(
160-
"Substates",
160+
"Component State",
161161
children=[
162-
substates.overview,
163-
substates.component_state,
162+
component_state.overview,
164163
],
165164
),
166165
create_item(

pcweb/pages/docs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def exec_blocks(doc, href):
122122
"docs/custom-components/overview.md": "Custom Components Overview",
123123
"docs/api-routes/overview.md": "API Routes Overview",
124124
"docs/client_storage/overview.md": "Client Storage Overview",
125+
"docs/component_state/overview.md": "ComponentState Overview",
125126
"docs/state/overview.md": "State Overview",
126127
"docs/styling/overview.md": "Styling Overview",
127-
"docs/substates/overview.md": "Substates Overview",
128128
"docs/ui/overview.md": "UI Overview",
129129
"docs/wrapping-react/overview.md": "Wrapping React Overview",
130130
"docs/library/html/html.md": "HTML Elements",

pcweb/pcweb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
("/docs/wrapping-react", "/docs/wrapping-react/overview"),
108108
("/docs/vars", "/docs/vars/base-vars"),
109109
("/docs/events", "/docs/events/events-overview"),
110-
("/docs/substates", "/docs/substates/overview"),
110+
("/docs/component-state", "/docs/component-state/overview"),
111111
("/docs/api-routes", "/docs/api-routes/overview"),
112112
("/docs/client-storage", "/docs/client-storage/overview"),
113113
("/docs/authentication", "/docs/authentication/authentication-overview"),

0 commit comments

Comments
 (0)