Skip to content

Commit c8cc2d1

Browse files
committed
documentation changes
1 parent 5f84bb3 commit c8cc2d1

File tree

6 files changed

+15
-52
lines changed

6 files changed

+15
-52
lines changed

website/blog/2019-05-28-hola.md

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

website/blog/2019-05-29-hello-world.md

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

website/blog/2019-05-30-welcome.md

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

website/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const pkg = require('../package.json')
1010
module.exports = {
1111
title: 'JSPython',
1212
tagline: 'Run your Python scripts in browser or NodeJS environment',
13-
url: 'http://jspython-dev.github.io',
13+
url: 'https://jspython.dev',
1414
baseUrl: '/',
1515
favicon: 'img/favicon.ico',
16-
organizationName: 'jspython-dev', // Usually your GitHub org/user name.
17-
projectName: 'jspython', // Usually your repo name.
16+
organizationName: 'FalconSoft Ltd', // Usually your GitHub org/user name.
17+
projectName: 'JSPython', // Usually your repo name.
1818
themeConfig: {
1919
navbar: {
2020
title: 'JSPython',

website/src/pages/playground.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,19 @@ function getInterpreter() {
6161
});
6262
}
6363

64-
const scripts = `
65-
"""|------------------------------|"""
66-
"""| Welcome My JSPython program! |"""
67-
"""|------------------------------|"""
64+
const scripts = `"""
65+
|------------------------------|
66+
| Welcome My JSPython program! |
67+
|------------------------------|
68+
"""
69+
70+
def mapFunction(r, i):
71+
v = r * i
72+
return v
73+
6874
x = [1, 2, 3, 4]
69-
x.map((r, i) =>
70-
v = r * i
71-
return v
72-
)
75+
x
76+
.map(mapFunction)
7377
.filter(r => r * r)
7478
.join(",")
7579
`;

website/static/img/favicon.ico

3.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)