Skip to content

Commit

Permalink
Convert and clean up custom component reference notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Aug 19, 2024
1 parent 530071c commit 5df7176
Show file tree
Hide file tree
Showing 10 changed files with 1,988 additions and 1,511 deletions.
9 changes: 7 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@
'layouts',
# 3 most important by expected usage. Rest alphabetically
'chat',
'custom_components',
'global',
'indicators',
'templates',
'custom_components',
],
'titles': {
'Vega': 'Altair & Vega',
Expand Down Expand Up @@ -167,9 +167,14 @@ def get_requirements():
requirements[src] = deps
return requirements


html_js_files = [
(None, {'body': '{"shimMode": true}', 'type': 'esms-options'}),
f'https://cdn.holoviz.org/panel/{js_version}/dist/bundled/reactiveesm/es-module-shims@^1.10.0/dist/es-module-shims.min.js'
]

nbsite_pyodide_conf = {
'PYODIDE_URL': f'https://cdn.jsdelivr.net/pyodide/{PYODIDE_VERSION}/full/pyodide.js',
'preamble': '<script type="esms-options">{"shimMode": true}</script>',
'requirements': [bokeh_req, panel_req, 'pyodide-http'],
'requires': get_requirements(),
}
Expand Down
Loading

0 comments on commit 5df7176

Please sign in to comment.