forked from fossasia/yaydoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.jade
118 lines (117 loc) · 5.46 KB
/
index.jade
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
113
114
115
116
117
118
extends layout
block content
script(src="/socket.io/socket.io.js")
script(src="/scripts/suggestion.js")
script(src="/scripts/defaults.js")
script(src="/scripts/form.js")
.container
.col-md-6.col-md-offset-3
.text-center
if isLoggedIn
a.btn.btn-default(href="/dashboard") Go to Dashboard
else
form(method="post" action="/auth/ci")
button.btn.btn-default Sign in to Yaydoc CI
hr
h2(style='text-align: center') Documentation Generator
form(method='post' action='/generate')
.form-group
label.control-label(for='email') Email:
input.form-control#email(type='email', placeholder='Enter Email', name='email', required='')
.form-group
label.control-label(for='git_url') GITURL:
select.form-control#git_url(type='text', placeholder='Enter URL of Github Repository', name='git_url')
.div#subproject
.form-group
label.control-label(for='doc_theme') Doc Theme:
select#doc_theme.form-control(name='doc_theme')
option(disabled='') Built-in Themes
option(value='alabaster') alabaster
option(value='classic') classic
option(value='sphinxdoc') sphinxdoc
option(value='scrolls') scrolls
option(value='agogo') agogo
option(value='traditional') traditional
option(value='nature') nature
option(value='haiku') haiku
option(value='pyramid') pyramid
option(value='bizstyle') bizstyle
option(disabled='') PyPi Custom Themes
option(value='sphinx_fossasia_theme') sphinx_fossasia_theme
option(value='sphinx_bootstrap_theme') sphinx_bootstrap_theme
option(value='sphinx_adc_theme') sphinx_adc_theme
option(value='rtcat_sphinx_theme') rtcat_sphinx_theme
option(value='guzzle_sphinx_theme') guzzle_sphinx_theme
option(value='sphinx_rtd_theme') sphinx_rtd_theme
option(value='Flask-Sphinx-Themes') Flask-Sphinx-Themes
option(value='sphinxjp.themes.sphinxjp') sphinxjp.themes.sphinxjp
.form-group
input#advanced(type="checkbox")
label(for='advanced') Advanced Configurations
#configs
.form-group
label.control-label Debug Mode:
.btn-group(data-toggle="buttons")
label.btn.btn-default.active
input#disabled(type='radio' name='debug' value='false')
| Disabled
label.btn.btn-default
input#enabled(type='radio' name='debug' value='true')
| Enabled
.form-group
label.control-label(for='target_branch') Branch Name:
.input-group
span.input-group-btn
button.btn.btn-default#btnEditBranch(type='button')
span.glyphicon.glyphicon-unchecked#checkbox_target_branch
input.form-control#target_branch(type='text' placeholder='Default Branch | Received from .yaydoc.yml' name='target_branch' disabled='disabled')
.form-group
label.control-label(for='doc_path') Doc Path:
.input-group
span.input-group-btn
button.btn.btn-default#btnEditPath(type='button')
span.glyphicon.glyphicon-unchecked#checkbox_doc_path
input.form-control#doc_path(type='text' placeholder='Default:- `docs` | Received from .yaydoc.yml' name='doc_path' disabled='')
.form-group#buttons
button.btn.btn-default#btnGenerate(type='button') Generate Docs
button.btn.btn-default#btnSubProject(type='button') Add Sub Project
.row(style='padding-bottom: 25px;')
a.btn.btn-default#btnDownload Download
a.btn.btn-default#btnPreview(target='_blank') Preview
.row
a.btn.btn-default#btnDeployGithub(data-toggle='modal', data-target='#githubModal') Deploy to Github
a.btn.btn-default#btnDeployHeroku(target='_blank') Deploy to Heroku
.progress
#progress.progress-bar(role='progressbar', aria-valuenow='0', aria-valuemin='0', aria-valuemax='100', style='width:0%')
span.sr-only
.logs.pre-scrollable
h4.console-output-header Console Output
ul#messages
.row.btnLogsDiv
a.btn.btn-default#btnLogs Detailed Logs
.modal.fade#githubModal(role='dialog')
.modal-dialog
.modal-content
.modal-header
button.close(type='button', data-dismiss='modal') ×
h5.modal-title Github Deployment
.modal-body
p
| In order to enable continuous deployment of Documentation, use the CI Deploy button
| For more details, refer
a(href='http://yaydoc.fossasia.org' target='_blank') yaydoc Documentation
.modal-footer
a.btn.btn-default(id='onetimeDeploy') Proceed with One-time Deployment
.modal.fade#detailed-logs-modal(role='dialog')
.modal-dialog
.modal-content
.modal-header
button.close(type='button', data-dismiss='modal') ×
h5.modal-title Detailed Logs
.modal-body
pre#detailed-logs.pre-scrollable
.modal-footer
button.btn.btn-default#copy-button(data-clipboard-action='copy' data-clipboard-target='#detailed-logs' style='float: left') Copy to Clipboard
a#downloadDetailedLogs.btn.btn-default Download
script.
$('#doc_theme').editableSelect();