Skip to content

Commit 25c8003

Browse files
committed
Deploying to gh-pages from @ 7076a20 🚀
1 parent e7bb053 commit 25c8003

File tree

8 files changed

+122
-130
lines changed

8 files changed

+122
-130
lines changed

demos/readme/index.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
<script src="index_files/libs/bootstrap/bootstrap.min.js"></script>
3434
<link href="index_files/libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
3535
<link href="index_files/libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
36-
</head><body class="fullcontent">// Document level settings ----
36+
<script type="text/javascript">// Document level settings ----
3737

38-
// Determine if we need to install R packages
38+
// Determine if we need to install python packages
3939
globalThis.qpyodideInstallPythonPackagesList = [''];
4040

4141
// Check to see if we have an empty array, if we do set to skip the installation.
@@ -47,18 +47,16 @@
4747
// Describe the webR settings that should be used
4848
globalThis.qpyodideCustomizedPyodideOptions = {
4949
"baseURL": "https://cdn.jsdelivr.net/pyodide/v0.25.0/",
50-
"serviceWorkerUrl": "{{SERVICEWORKERURL}}",
5150
"homedir": "/home/pyodide",
52-
"channelType": "{{CHANNELTYPE}}"
5351
};
5452

5553
// Store cell data
56-
globalThis.qpyodideCellDetails = [{"options":{"warning":"true","out-width":"700px","fig-cap":"","results":"markup","message":"true","comment":"","autorun":"","context":"interactive","classes":"","out-height":"","fig-height":5,"output":"true","dpi":72,"fig-width":7,"label":""},"id":1,"code":"print(\"Hello Quarto-Pyodide World!\")"}];
57-
58-
54+
globalThis.qpyodideCellDetails = [{"code":"print(\"Hello Quarto-Pyodide World!\")","id":1,"options":{"classes":"","autorun":"","context":"interactive","label":"","fig-cap":"","results":"markup","comment":"","fig-width":7,"warning":"true","message":"true","output":"true","out-width":"700px","dpi":72,"out-height":"","fig-height":5}}];</script>
5955

6056

57+
</head>
6158

59+
<body class="fullcontent">
6260

6361
<div id="quarto-content" class="page-columns page-rows-contents page-layout-article">
6462

demos/readme/index_files/libs/bootstrap/bootstrap.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
gtag('js', new Date());
7676
gtag('config', 'G-ZV56KS59C3', { 'anonymize_ip': true});
7777
</script>
78-
</head><body class="nav-sidebar floating fullcontent">// Document level settings ----
78+
<script type="text/javascript">// Document level settings ----
7979

80-
// Determine if we need to install R packages
80+
// Determine if we need to install python packages
8181
globalThis.qpyodideInstallPythonPackagesList = [''];
8282

8383
// Check to see if we have an empty array, if we do set to skip the installation.
@@ -89,18 +89,16 @@
8989
// Describe the webR settings that should be used
9090
globalThis.qpyodideCustomizedPyodideOptions = {
9191
"baseURL": "https://cdn.jsdelivr.net/pyodide/v0.25.0/",
92-
"serviceWorkerUrl": "{{SERVICEWORKERURL}}",
9392
"homedir": "/home/pyodide",
94-
"channelType": "{{CHANNELTYPE}}"
9593
};
9694

9795
// Store cell data
98-
globalThis.qpyodideCellDetails = [{"options":{"output":"true","context":"interactive","fig-cap":"","fig-width":7,"results":"markup","autorun":"","warning":"true","message":"true","label":"","classes":"","fig-height":5,"out-width":"700px","comment":"","out-height":"","dpi":72},"id":1,"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\nprint(\"Let's start coding and exploring the amazing possibilities!\")\n\n# Feel free to add your own code below and have fun with Python!"}];
99-
100-
96+
globalThis.qpyodideCellDetails = [{"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\nprint(\"Let's start coding and exploring the amazing possibilities!\")\n\n# Feel free to add your own code below and have fun with Python!","options":{"classes":"","out-height":"","autorun":"","message":"true","fig-height":5,"output":"true","context":"interactive","fig-width":7,"comment":"","out-width":"700px","warning":"true","results":"markup","dpi":72,"fig-cap":"","label":""},"id":1}];</script>
10197

10298

99+
</head>
103100

101+
<body class="nav-sidebar floating fullcontent">
104102

105103
<div id="quarto-search-results"></div>
106104
<header id="quarto-header" class="headroom fixed-top">

qpyodide-code-cell-demo.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
gtag('js', new Date());
112112
gtag('config', 'G-ZV56KS59C3', { 'anonymize_ip': true});
113113
</script>
114-
</head><body class="nav-sidebar floating">// Document level settings ----
114+
<script type="text/javascript">// Document level settings ----
115115

116-
// Determine if we need to install R packages
116+
// Determine if we need to install python packages
117117
globalThis.qpyodideInstallPythonPackagesList = [''];
118118

119119
// Check to see if we have an empty array, if we do set to skip the installation.
@@ -125,18 +125,16 @@
125125
// Describe the webR settings that should be used
126126
globalThis.qpyodideCustomizedPyodideOptions = {
127127
"baseURL": "https://cdn.jsdelivr.net/pyodide/v0.25.0/",
128-
"serviceWorkerUrl": "{{SERVICEWORKERURL}}",
129128
"homedir": "/home/pyodide",
130-
"channelType": "{{CHANNELTYPE}}"
131129
};
132130

133131
// Store cell data
134-
globalThis.qpyodideCellDetails = [{"code":"1 + 1","id":1,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"1 + 1","id":2,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"greet = 'Hello'\ngreet","id":3,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"len(greet)","id":4,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"def square(x):\n return x**2\n\nsquare(8)","id":5,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","id":6,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf","id":7,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}},{"code":"import pandas as pd \n\ndf.Age","id":8,"options":{"fig-cap":"","out-height":"","out-width":"700px","comment":"","message":"true","context":"interactive","fig-width":7,"warning":"true","fig-height":5,"results":"markup","output":"true","autorun":"","classes":"","label":"","dpi":72}}];
135-
136-
132+
globalThis.qpyodideCellDetails = [{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":1,"code":"1 + 1"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":2,"code":"1 + 1"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":3,"code":"greet = 'Hello'\ngreet"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":4,"code":"len(greet)"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":5,"code":"def square(x):\n return x**2\n\nsquare(8)"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":6,"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":7,"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf"},{"options":{"label":"","results":"markup","classes":"","out-width":"700px","context":"interactive","warning":"true","fig-cap":"","out-height":"","message":"true","fig-width":7,"dpi":72,"output":"true","autorun":"","comment":"","fig-height":5},"id":8,"code":"import pandas as pd \n\ndf.Age"}];</script>
137133

138134

135+
</head>
139136

137+
<body class="nav-sidebar floating">
140138

141139
<div id="quarto-search-results"></div>
142140
<header id="quarto-header" class="headroom fixed-top">

0 commit comments

Comments
 (0)