You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/developers/extensions.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,7 @@ The basic structure of an ExtensionApp is shown below:
130
130
name ="myextension"
131
131
default_url ="/myextension"
132
132
load_other_extensions =True
133
+
file_url_prefix ="/render"
133
134
134
135
# --- ExtensionApp traits you can configure ---
135
136
static_paths = [...]
@@ -167,8 +168,9 @@ Methods
167
168
Properties
168
169
169
170
* ``name``: the name of the extension
170
-
* ``default_url``: the default url for this extension—i.e. the landing page for this extension when launched from the CLI.
171
+
* ``default_url``: the default URL for this extension—i.e. the landing page for this extension when launched from the CLI.
171
172
* ``load_other_extensions``: a boolean enabling/disabling other extensions when launching this extension directly.
173
+
* ``file_url_prefix``: the prefix URL added when opening a document directly from the command line. For example, classic Notebook uses ``/notebooks`` to open a document at http://localhost:8888/notebooks/path/to/notebook.ipynb.
0 commit comments