md2site 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -19
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +21 -28
  5. data/bin/md2site +26 -31
  6. data/data/_x/diff.txt +337 -0
  7. data/data/_x/list.txt +495 -0
  8. data/data/_x/list2.txt +495 -0
  9. data/data/_x/list3.txt +415 -0
  10. data/data/_x/list4.txt +415 -0
  11. data/data/_x/list5.txt +392 -0
  12. data/data/_x/list6.txt +298 -0
  13. data/data/_x/list7.txt +201 -0
  14. data/data/_x/list8.txt +199 -0
  15. data/data/_x/outer_url.txt +94 -0
  16. data/data/_x/s.txt +140 -0
  17. data/data/conf/conf.sh +0 -2
  18. data/data/testdata/{conf-blog.yml → conf/conf-blog.yml} +0 -0
  19. data/data/testdata/{conf-download.yml → conf/conf-download.yml} +0 -0
  20. data/data/testdata/{conf-link.yml → conf/conf-link.yml} +0 -0
  21. data/data/testdata/{conf-profile.yml → conf/conf-profile.yml} +0 -0
  22. data/data/testdata/{conf-top.yml → conf/conf-top.yml} +0 -0
  23. data/data/testdata/{site.tsv → conf/site.tsv} +0 -0
  24. data/data/testdata0/{conf-appliction.yml → conf/conf-appliction.yml} +0 -0
  25. data/data/testdata0/{conf-attempt.yml → conf/conf-attempt.yml} +16 -16
  26. data/data/testdata0/conf/conf-autosar.yml +11 -0
  27. data/data/testdata0/{conf-community.yml → conf/conf-community.yml} +0 -0
  28. data/data/testdata0/{conf-document.yml → conf/conf-document.yml} +0 -0
  29. data/data/testdata0/{conf-download.yml → conf/conf-download.yml} +0 -0
  30. data/data/testdata0/{conf-edu.yml → conf/conf-edu.yml} +18 -19
  31. data/data/testdata0/{conf-etc.yml → conf/conf-etc.yml} +0 -0
  32. data/data/testdata0/{conf-members.yml → conf/conf-members.yml} +0 -0
  33. data/data/testdata0/{conf-product.yml → conf/conf-product.yml} +9 -9
  34. data/data/testdata0/{conf-project.yml → conf/conf-project.yml} +2 -2
  35. data/data/testdata0/conf/conf-rtk.yml +25 -0
  36. data/data/testdata0/conf/conf-sample.yml +5 -0
  37. data/data/testdata0/{conf-top.yml → conf/conf-top.yml} +0 -0
  38. data/data/testdata0/conf/conf.sh +32 -0
  39. data/data/testdata0/{setting.yml → conf/setting.yml} +11 -0
  40. data/data/testdata0/{site.tsv → conf/site.tsv} +109 -2
  41. data/data/testdata0/conf/status.txt +6 -0
  42. data/lib/md2site/env.rb +248 -276
  43. data/lib/md2site/envcheck.rb +186 -0
  44. data/lib/md2site/htmlutils0.rb +64 -2
  45. data/lib/md2site/info.rb +12 -0
  46. data/lib/md2site/init.rb +61 -5
  47. data/lib/md2site/listfile.rb +16 -0
  48. data/lib/md2site/make.rb +92 -31
  49. data/lib/md2site/nkfguess.rb +8 -0
  50. data/lib/md2site/setup.rb +104 -28
  51. data/lib/md2site/statusfile.rb +98 -6
  52. data/lib/md2site/testdata.rb +43 -3
  53. data/lib/md2site/testx.rb +28 -1
  54. data/lib/md2site/version.rb +1 -1
  55. data/lib/md2site.rb +93 -26
  56. data/md2site.gemspec +5 -6
  57. metadata +77 -76
  58. data/data/testdata0/conf-autosar.yml +0 -11
  59. data/data/testdata0/conf-rtk.yml +0 -25
@@ -1,7 +1,7 @@
1
- edu_base1:
1
+ edu-base1:
2
2
  - for_instructor_members
3
3
  - members
4
- edu_base123_2013:
4
+ edu-base123_2013:
5
5
  - base1_timetable_day1
6
6
  - base1_timetable_day2
7
7
  - base2_timetable_day1
@@ -9,44 +9,43 @@ edu_base123_2013:
9
9
  - base3_timetable_day1
10
10
  - base3_timetable_day2
11
11
  - members
12
- edu_base12_2014:
12
+ edu-base12_2014:
13
13
  - base1_timetable_day1
14
14
  - base1_timetable_day2
15
15
  - base2_timetable_day1
16
16
  - base2_timetable_day2
17
17
  - members
18
- edu_base12_2015:
18
+ edu-base12_2015:
19
19
  - base1_timetable_day1
20
20
  - base1_timetable_day2
21
21
  - base2_timetable_day1
22
22
  - base2_timetable_day2
23
- edu_base12_2016:
23
+ edu-base12_2016:
24
24
  - base1_timetable_day1
25
25
  - base1_timetable_day2
26
26
  - base2_timetable_day1
27
27
  - base2_timetable_day2
28
- edu_base2:
29
- - timetable_day1_output
30
- - timetable_day2_output
28
+ edu-base2:
29
+ - timetable
31
30
  - members
32
- edu_base3:
33
- - timetable_day1_output
34
- - timetable_day2_output
31
+ edu-base3:
32
+ - timetable_day1
33
+ - timetable_day2
35
34
  - members
36
- edu_basebp:
35
+ edu-basebp:
37
36
  - base1_timetable_day1
38
37
  - base1_timetable_day2
39
38
  - base2_timetable_day1
40
39
  - base2_timetable_day2
41
40
  - base3_timetable_day1
42
41
  - base3_timetable_day2
43
- edu_basehd:
44
- edu_baseplatform:
45
- edu_begin:
42
+ edu-basehd:
43
+ edu-baseplatform:
44
+ edu-begin:
46
45
  - timetable
47
46
  - members
48
47
  - pre_members
49
- edu_download:
50
- edu_middle:
51
- edu_robot:
52
- edu_shishi:
48
+ edu-download:
49
+ edu-middle:
50
+ edu-robot:
51
+ edu-shishi:
File without changes
@@ -1,15 +1,15 @@
1
1
  builder:
2
2
  cfg:
3
- clm_download:
3
+ clm-download:
4
4
  clm:
5
- cxx_api:
6
- cxx_download:
5
+ cxx-api:
6
+ cxx-download:
7
7
  dlm:
8
- ecnl_download:
8
+ ecnl-download:
9
9
  ecnl:
10
- fatfs_download:
10
+ fatfs-download:
11
11
  fatfs:
12
- mda_download:
12
+ mda-download:
13
13
  mda:
14
14
  mdcom:
15
15
  park:
@@ -17,7 +17,7 @@ products:
17
17
  rll:
18
18
  safeg:
19
19
  sim:
20
- ssp_kernel:
20
+ ssp-kernel:
21
21
  tecs:
22
22
  - tecs_specific,5col_no_attr.erb
23
23
  - tecs_mruby_ev3rt,5col_no_attr.erb
@@ -29,9 +29,9 @@ tecs_archive:
29
29
  - tecs_mruby_asp
30
30
  - tecs_atk1_tecs
31
31
  - tecs_edu_stm32
32
- testsuites_download:
32
+ testsuites-download:
33
33
  testsuites:
34
- tinet_download:
34
+ tinet-download:
35
35
  tinet:
36
36
  tlv:
37
37
  ttsp:
@@ -1,6 +1,6 @@
1
1
  contacts:
2
2
  events_public:
3
- index:
3
+ faq/index:
4
4
  joinus:
5
5
  license:
6
6
  logo:
@@ -10,5 +10,5 @@ org:
10
10
  prize:
11
11
  project:
12
12
  projmembers:
13
- report:
13
+ #report:
14
14
  rulebook:
@@ -0,0 +1,25 @@
1
+ asp-d-download:
2
+ asp-e-download:
3
+ asp-kernel:
4
+ asp3-d-download:
5
+ asp3-e-download:
6
+ asp3-kernel:
7
+ atk1-download:
8
+ atk1:
9
+ cfg-download:
10
+ etrobo-jsp:
11
+ fdmp-download:
12
+ fdmp-kernel:
13
+ fi4-download:
14
+ fi4-kernel:
15
+ fmp-d-download:
16
+ fmp-e-download:
17
+ fmp-kernel:
18
+ fmp-old-download:
19
+ hrp-download:
20
+ hrp-kernel:
21
+ hrp2-download:
22
+ hrp2-kernel:
23
+ hrp3-kernel:
24
+ jsp-download:
25
+ jsp-kernel:
@@ -0,0 +1,5 @@
1
+ #sample:
2
+ #sample2:
3
+ # - sample2,:include,sample/sample2/work
4
+ #sample3:
5
+ # - sample3_timetable,5col_no_attr_b.erb
File without changes
@@ -0,0 +1,32 @@
1
+ ABSOLUTE_PATH_ROOT=_xtest/wtjx/t12
2
+
3
+ OUTPUT_DIR=output
4
+ TEMPLELATE_DIR=template
5
+ CONF_DIR=conf
6
+ SRC_DIR=src
7
+
8
+ ABSOLUTE_PATH_ROOT_TEMPLATE=${ABSOLUTE_PATH_ROOT}/${TEMPLELATE_DIR}
9
+ ABSOLUTE_PATH_ROOT_CONF=${ABSOLUTE_PATH_ROOT}/${CONF_DIR}
10
+
11
+ ABSOLUTE_PATH_STATUS_FILE=${ABSOLUTE_PATH_ROOT_CONF}/status.txt
12
+ ABSOLUTE_PATH_SITE_FILE=${ABSOLUTE_PATH_ROOT_CONF}/site.tsv
13
+ ABSOLUTE_PATH_ROOT_SETTINGFILE=${ABSOLUTE_PATH_ROOT_CONF}/setting.yml
14
+
15
+ DATA_DIR=data
16
+ WORK_DIR=work
17
+ MATERIAL_DIR=material
18
+
19
+ URL=https://www.toppers.jp
20
+
21
+ TARGET_COMMAND_INDEX=0
22
+ SUBTARGET_COMMAND_INDEX=1
23
+ KEY_INDEX=2
24
+ HTMLFILE_INDEX=3
25
+ ALIAS_HTMLFILE_INDEX=4
26
+
27
+ CATEGORY_CONF_PREFIX=conf-
28
+
29
+ ROOT_TEMPLATE_FUNCTIONS_VARIABLE=/var/www/vhosts/devconf.northern-cross.info/httpdocs/a/tmp/devconf-guest-4/tmp/md2site/data/template/functions_variable.erb
30
+ ROOT_TEMPLATE_FUNCTIONS_STATIC=/var/www/vhosts/devconf.northern-cross.info/httpdocs/a/tmp/devconf-guest-4/tmp/md2site/data/template/functions_static.erb
31
+ DEFAULT_TABLE_TEMPLATE=${ABSOLUTE_PATH_ROOT_TEMPLATE}/5col_no_attr_b.erb
32
+ CONTENT_DIVISION_WAY=0
@@ -1,3 +1,14 @@
1
+ url_mruby_forum: http://forum.mruby.org/
2
+ url_tecs_docs_readthedocs_latest: http://tecs-docs.readthedocs.io/ja/latest/
3
+ url_blog85_fc2: http://tecs22022.blog85.fc2.com/
4
+ url_codezine_article: http://codezine.jp/article/detail/3805
5
+ url_toppers_tecs_changelog: https://www.toppers.jp/tecs-changelog.html
6
+ url_toppers_download_cgi: https://www.toppers.jp/download.cgi
7
+ url_toppers_asp3: ./asp3-kernel.html
8
+ url_toppers_atk2: ./atk2.html
9
+ url_toppers_asp3_e_download: ./asp3-e-download.html
10
+ url_toppers_tecs_thesis: ./tecs-thesis.html
11
+ url_toppers_etrobo_asp: ./etrobo-asp.html
1
12
  img_xls: <img src="./imgs/xls.gif" width="16" height="16">
2
13
  img_pdf: '%Q!<img src="./imgs/pdf.gif" width="16" height="16">!'
3
14
  img_archive: '%Q!<img src="./imgs/archive.gif" width="16" height="16">!'
@@ -62,6 +62,7 @@ prod cxd product cxx-download.html
62
62
  prod d product dlm.html
63
63
  prod ed product ecnl-download.html
64
64
  prod e product ecnl.html
65
+ #prod ecnlcl product ecnl-changelog.html
65
66
  prod fd product fatfs-download.html
66
67
  prod f product fatfs.html
67
68
  prod mdad product mda-download.html
@@ -75,6 +76,7 @@ prod si product sim.html
75
76
  prod ss product ssp-kernel.html
76
77
  tecs a product tecs.html
77
78
  tecs aa product tecs_archive.html tecs.html
79
+ #tecs t product tecs-thesis.html tecs.html
78
80
  prod tes product testsuites-download.html
79
81
  prod tes product testsuites.html
80
82
  prod tid product tinet-download.html
@@ -104,7 +106,8 @@ r asp3 rtk asp3-kernel.html
104
106
  r atk1d rtk atk1-download.html
105
107
  r atk1 rtk atk1.html
106
108
  r cfgd rtk cfg-download.html
107
- r et rtk etrobo-jsp.html
109
+ r etj rtk etrobo-jsp.html
110
+ #r eta rtk etrobo-asp.html
108
111
  r fdmpd rtk fdmp-download.html
109
112
  r fdmp rtk fdmp-kernel.html
110
113
  r fi4d rtk fi4-download.html
@@ -120,4 +123,108 @@ r hrp2 rtk hrp2-kernel.html
120
123
  r hrp3 rtk hrp3-kernel.html
121
124
  r jspd rtk jsp-download.html
122
125
  r jsp rtk jsp-kernel.html
123
- to i top index.html
126
+ to i top index.html
127
+ #r aspcl rtk asp-changelog.html
128
+ #r asp3cl rtk asp3-changelog.html
129
+ #r atk2cl rtk atk2-changelog.html
130
+ #r cfgcl rtk cfg-changelog.html
131
+ #r edu-begincl rtk edu-begin-changelog.html
132
+ #r etrobo-jspcl rtk etrobo-jsp-changelog.html
133
+ #r fdmpcl rtk fdmp-changelog.html
134
+ #r fi4cl rtk fi4-changelog.html
135
+ #r fmpcl rtk fmp-changelog.html
136
+ #r fscl rtk fs-changelog.html
137
+ #r hrp2cl rtk hrp2-changelog.html
138
+ #r jspcl rtk jsp-changelog.html
139
+ #r osekcl rtk osek-changelog.html
140
+ #r sspcl rtk ssp-changelog.html
141
+ #r tinetcl rtk tinet-changelog.html
142
+ #r tlvcl rtk tlv-changelog.html
143
+ #r tecscl rtk tecs-changelog.html
144
+ #
145
+ #! access/index.html
146
+ #! asp-lineoffday.html
147
+ #- com-rule.html
148
+ #- conference2004.html
149
+ #- conference2005.html
150
+ #- conference2006.html
151
+ #- conference2007.html
152
+ #- conference2008.html
153
+ #- conference2009.html
154
+ #- conference2015.html
155
+ #- conference2016.html
156
+ #- conference2017.html
157
+ #- dlm-download.html
158
+ #- edu-base123.html
159
+ #- edu-basebp_2016.html
160
+ #- edu-basebp_2017.html
161
+ #- edu-seminar-enquete-040219.html
162
+ #! esec2004.html
163
+ #! esec2005.html
164
+ #! esec2006.html
165
+ #! estab_speech.html
166
+ #! et2003.html
167
+ #! et2004.html
168
+ #! et2005.html
169
+ #! et2006.html
170
+ #! et2007.html
171
+ #! et2008.html
172
+ #! et2009.html
173
+ #! et2011.html
174
+ #! et2012.html
175
+ #! et2013.html
176
+ #! et2014.html
177
+ #! et2015.html
178
+ #! et2016.html
179
+ #! et2017.html
180
+ #! et2018.html
181
+ #! etrobo-asp.html
182
+ #- etrobo17.html
183
+ #- etrobo_seminar15.html
184
+ #- faq_ct1.html
185
+ #- faq_ct10.html
186
+ #- faq_ct11.html
187
+ #- faq_ct12.html
188
+ #- faq_ct2.html
189
+ #- faq_ct3.html
190
+ #- faq_ct4.html
191
+ #- faq_ct5.html
192
+ #- faq_ct6.html
193
+ #- faq_ct7.html
194
+ #- faq_ct8.html
195
+ #! fmp3-kernel.html
196
+ #! hrmp3-kernel.html
197
+ #- hrp3-d-download.html
198
+ #! ipr-rule.html
199
+ #- kaihi.html
200
+ #- kyuukai.html
201
+ #- logo-rule.html
202
+ #! newpass.html
203
+ #- newsletter/newsletter-0311.html
204
+ #- newsletter/newsletter-0404.html
205
+ #- newsletter/newsletter-0407.html
206
+ #- newsletter/newsletter-0411.html
207
+ #- newsletter/newsletter-0502.html
208
+ #- newsletter/newsletter-0504.html
209
+ #- newsletter/newsletter-0506.html
210
+ #- newsletter/newsletter-0511.html
211
+ #- newsletter/newsletter-0603.html
212
+ #- newsletter/newsletter-0606.html
213
+ #- newsletter/newsletter-0611.html
214
+ #- newsletter/newsletter-0705.html
215
+ #- newsletter/newsletter-0711.html
216
+ #- newsletter/newsletter-0805.html
217
+ #- newsletter/newsletter-0811.html
218
+ #- newsletter/newsletter1.html
219
+ #- newsletter/newsletter2.html
220
+ #- office.html
221
+ #- old_asp-d-download.html
222
+ #- old_asp-e-download.html
223
+ #- old_dev.html
224
+ #- old_tech.html
225
+ #- old_topics.html
226
+ #- oldjsp-download.html
227
+ #- report.html
228
+ #- rll-download.html
229
+ #! tlv-quickstart.html
230
+ #- users_ml.html
@@ -0,0 +1,6 @@
1
+ ---
2
+ :baseurl: https://www.toppers.jp
3
+ :fname:
4
+ :path:
5
+ :last_datetime:
6
+ :last_contents_path: "_xtest/wtjx/t05-contents/20190528-064247"