FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
quantstack.github.io/xeus-python.html at master · yennanliu/quantstack.github.io · GitHub
yennanliu
quantstack.github.io
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
quantstack.github.io
/
xeus-python.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
112 lines (105 loc) · 4.49 KB
Breadcrumbs
quantstack.github.io
/
xeus-python.html
Copy path
File metadata and controls
112 lines (105 loc) · 4.49 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html
>
<
html
lang
="
en
"
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
meta
http-equiv
="
X-UA-Compatible
"
content
="
IE=edge
"
>
<
meta
name
="
viewport
"
content
="
width=device-width, initial-scale=1
"
>
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Bootstrap -->
<
link
href
="
css/bootstrap.min.css
"
rel
="
stylesheet
"
>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<
link
href
="
css/styles.css
"
rel
="
stylesheet
"
>
<
title
>
- Quantstack
</
title
>
</
head
>
<
body
>
<
div
id
="
content-head
"
>
</
div
>
<
div
class
="
container-fluid fond fond4 big
"
>
<
div
class
="
container
"
>
<
div
class
="
col-md-10 col-md-push-1 fleche-retour y
"
>
<
div
class
="
row
"
>
<
div
class
="
col-md-3
"
>
<
a
href
="
projects.html
"
>
<
img
class
="
fleche-gauche
"
src
="
img/fleche-gauche-y.svg
"
>
<
span
>
All our projects
</
span
>
</
a
>
</
div
>
<
div
class
="
col-md-6 p-head
"
>
<
div
id
="
name-project
"
>
</
div
>
<
div
id
="
tag
"
>
</
div
>
<
img
src
=""
class
="
logo-project
"
/>
</
div
>
<
div
class
="
col-md-3
"
>
</
div
>
</
div
>
<
div
id
="
tag2
"
>
</
div
>
<
div
class
="
spacer big
"
>
</
div
>
<
a
href
=""
id
="
code
"
class
="
btn
"
target
="
_blank
"
style
="
margin: 8px auto; width: 200px
"
>
Browse the code
</
a
>
<
a
href
=""
id
="
documentation
"
target
="
_blank
"
class
="
btn transparent
"
style
="
margin: 8px auto; width: 200px
"
>
Documentation
</
a
>
<
a
href
=""
id
="
try
"
target
="
_blank
"
class
="
btn transparent
"
style
="
margin: 8px auto; width: 200px
"
>
Try it Now
</
a
>
<
div
class
="
spacer big
"
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
="
container
"
>
<
div
class
="
col-md-8 col-md-push-2
"
>
<
div
class
="
md
"
>
</
div
>
</
div
>
</
div
>
<
div
class
="
spacer big
"
>
</
div
>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<
script
src
="
js/jquery.min.js
"
>
</
script
>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<
script
src
="
js/bootstrap.min.js
"
>
</
script
>
<
div
id
="
content-foot
"
>
</
div
>
<
script
src
="
js/include-menus.js
"
>
</
script
>
<
script
src
="
js/markdown/Markdown.Converter.js
"
>
</
script
>
<
script
src
="
js/markdown/Markdown.Sanitizer.js
"
>
</
script
>
<
script
src
="
js/markdown/Markdown.highlight.js
"
>
</
script
>
<
script
src
="
js/markdown/Markdown.Extra.js
"
>
</
script
>
<
script
>
var
projectName
=
"xeus-python"
;
// Definition du nom du projet
var
project
;
$
(
document
)
.
ready
(
function
(
)
{
$
(
'title'
)
.
html
(
projectName
+
' - QuantStack'
)
;
$
(
"img.logo-project"
)
.
attr
(
"src"
,
"img/projets/"
+
projectName
+
".svg"
)
;
var
preview
=
$
(
'.md'
)
;
//get the container where markdown Html will be displayed
var
converter
=
new
Markdown
.
getSanitizingConverter
(
)
;
//initialisation converter
Markdown
.
Extra
.
init
(
converter
)
;
// init xtras (for tables and code html tags)
var
convert
=
converter
.
makeHtml
;
function
getMd
(
Url
)
{
$
.
ajax
(
{
type
:
"GET"
,
url
:
Url
,
success
:
function
(
data
)
{
var
tmpMD
=
data
.
replace
(
project
.
tagDel
,
""
)
;
//erase the first description.
preview
.
html
(
convert
(
tmpMD
)
)
;
// convert to HTML
}
}
)
;
}
// Ajax call to projects.json
$
.
ajax
(
{
type
:
"GET"
,
url
:
"assets/projects.json"
,
//get the current project
success
:
function
(
data
)
{
project
=
data
.
Projects
[
projectName
]
;
getMd
(
project
.
md
)
$
(
'#name-project'
)
.
html
(
project
.
name
.
toUpperCase
(
)
)
;
$
(
'#tag'
)
.
html
(
project
.
tag
)
;
$
(
'#tag2'
)
.
html
(
project
.
tag2
)
;
$
(
'#code'
)
.
attr
(
"href"
,
project
.
url
)
;
if
(
project
.
documentation
!=
null
&&
project
.
documentation
!==
""
)
$
(
'#documentation'
)
.
attr
(
"href"
,
project
.
documentation
)
;
else
$
(
'#documentation'
)
.
hide
(
)
;
if
(
project
.
try
!=
null
&&
project
.
try
!==
""
)
$
(
'#try'
)
.
attr
(
"href"
,
project
.
try
)
;
else
$
(
'#try'
)
.
hide
(
)
;
}
}
)
;
}
(
)
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL