@@ -4,7 +4,7 @@ package docs
4
4
5
5
var data = []* FileInfo {{
6
6
Name : "config.xml" ,
7
- ContentType : "application/xml" ,
7
+ ContentType : "application/xml; charset=utf-8 " ,
8
8
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
9
9
10
10
<!-- 该文件由工具自动生成,请勿手动修改!-->
@@ -38,11 +38,11 @@ var data = []*FileInfo{{
38
38
},
39
39
{
40
40
Name : "example/index.xml" ,
41
- ContentType : "application/xml" ,
41
+ ContentType : "application/xml; charset=utf-8 " ,
42
42
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
43
43
44
44
<?xml-stylesheet type="text/xsl" href="../v6/apidoc.xsl"?>
45
- <apidoc apidoc="6.0.0" created="2020-01-07T23:39:48 +08:00" version="1.1.1">
45
+ <apidoc apidoc="6.0.0" created="2020-01-08T00:44:41 +08:00" version="1.1.1">
46
46
<title>示例文档</title>
47
47
<description type="html"><![CDATA[
48
48
@@ -265,7 +265,7 @@ var data = []*FileInfo{{
265
265
},
266
266
{
267
267
Name : "icon.svg" ,
268
- ContentType : "image/svg+xml" ,
268
+ ContentType : "image/svg+xml; charset=utf-8 " ,
269
269
Content : []byte (`<?xml version="1.0" encoding="utf-8" ?>
270
270
271
271
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" stroke="#f60">
@@ -281,7 +281,7 @@ var data = []*FileInfo{{
281
281
},
282
282
{
283
283
Name : "index.css" ,
284
- ContentType : "text/css" ,
284
+ ContentType : "text/css; charset=utf-8 " ,
285
285
Content : []byte (`@charset "utf-8";
286
286
287
287
:root {
@@ -482,7 +482,7 @@ footer .wrap {
482
482
},
483
483
{
484
484
Name : "index.js" ,
485
- ContentType : "application/javascript" ,
485
+ ContentType : "application/javascript; charset=utf-8 " ,
486
486
Content : []byte (`'use strict';
487
487
488
488
window.onload = function() {
@@ -506,7 +506,7 @@ function initGotoTop() {
506
506
},
507
507
{
508
508
Name : "index.xml" ,
509
- ContentType : "application/xml" ,
509
+ ContentType : "application/xml; charset=utf-8 " ,
510
510
Content : []byte (`<?xml version="1.0" encoding="utf-8"?>
511
511
<?xml-stylesheet type="text/xsl" href="./index.xsl"?>
512
512
@@ -801,7 +801,7 @@ function initGotoTop() {
801
801
},
802
802
{
803
803
Name : "index.xsl" ,
804
- ContentType : "text/xsl" ,
804
+ ContentType : "text/xsl; charset=utf-8 " ,
805
805
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
806
806
807
807
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -1009,7 +1009,7 @@ function initGotoTop() {
1009
1009
},
1010
1010
{
1011
1011
Name : "index.zh-hant.xml" ,
1012
- ContentType : "application/xml" ,
1012
+ ContentType : "application/xml; charset=utf-8 " ,
1013
1013
Content : []byte (`<?xml version="1.0" encoding="utf-8"?>
1014
1014
<?xml-stylesheet type="text/xsl" href="./index.xsl"?>
1015
1015
@@ -1304,7 +1304,7 @@ function initGotoTop() {
1304
1304
},
1305
1305
{
1306
1306
Name : "locales.xml" ,
1307
- ContentType : "application/xml" ,
1307
+ ContentType : "application/xml; charset=utf-8 " ,
1308
1308
Content : []byte (`<?xml version="1.0" encoding="utf-8"?>
1309
1309
1310
1310
<locales>
@@ -1315,7 +1315,7 @@ function initGotoTop() {
1315
1315
},
1316
1316
{
1317
1317
Name : "types.xml" ,
1318
- ContentType : "application/xml" ,
1318
+ ContentType : "application/xml; charset=utf-8 " ,
1319
1319
Content : []byte (`<?xml version="1.0" encoding="utf-8"?>
1320
1320
1321
1321
<types>
@@ -1478,7 +1478,7 @@ function initGotoTop() {
1478
1478
},
1479
1479
{
1480
1480
Name : "v5/apidoc.css" ,
1481
- ContentType : "text/css" ,
1481
+ ContentType : "text/css; charset=utf-8 " ,
1482
1482
Content : []byte (`@charset "utf-8";
1483
1483
1484
1484
:root {
@@ -1879,7 +1879,7 @@ footer .wrap {
1879
1879
},
1880
1880
{
1881
1881
Name : "v5/apidoc.js" ,
1882
- ContentType : "application/javascript" ,
1882
+ ContentType : "application/javascript; charset=utf-8 " ,
1883
1883
Content : []byte (`'use strict';
1884
1884
1885
1885
window.onload = function () {
@@ -2008,7 +2008,7 @@ function prettyDescription() {
2008
2008
},
2009
2009
{
2010
2010
Name : "v5/apidoc.xsl" ,
2011
- ContentType : "text/xsl" ,
2011
+ ContentType : "text/xsl; charset=utf-8 " ,
2012
2012
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
2013
2013
2014
2014
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -2546,7 +2546,7 @@ xsl 2.0 可以直接采用 base-uri(document(''))
2546
2546
},
2547
2547
{
2548
2548
Name : "v5/locales.xsl" ,
2549
- ContentType : "text/xsl" ,
2549
+ ContentType : "text/xsl; charset=utf-8 " ,
2550
2550
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
2551
2551
2552
2552
<!-- 当前文件实现了简单的翻译功能 -->
@@ -2894,7 +2894,7 @@ exclude-result-prefixes="l">
2894
2894
},
2895
2895
{
2896
2896
Name : "v5/view.html" ,
2897
- ContentType : "text/html" ,
2897
+ ContentType : "text/html; charset=utf-8 " ,
2898
2898
Content : []byte (`<!DOCTYPE html>
2899
2899
<html lang="en">
2900
2900
@@ -2983,7 +2983,7 @@ exclude-result-prefixes="l">
2983
2983
},
2984
2984
{
2985
2985
Name : "v6/apidoc.css" ,
2986
- ContentType : "text/css" ,
2986
+ ContentType : "text/css; charset=utf-8 " ,
2987
2987
Content : []byte (`@charset "utf-8";
2988
2988
2989
2989
:root {
@@ -3394,7 +3394,7 @@ footer .wrap {
3394
3394
},
3395
3395
{
3396
3396
Name : "v6/apidoc.js" ,
3397
- ContentType : "application/javascript" ,
3397
+ ContentType : "application/javascript; charset=utf-8 " ,
3398
3398
Content : []byte (`'use strict';
3399
3399
3400
3400
window.onload = function () {
@@ -3490,7 +3490,7 @@ function prettyDescription() {
3490
3490
},
3491
3491
{
3492
3492
Name : "v6/apidoc.xsl" ,
3493
- ContentType : "text/xsl" ,
3493
+ ContentType : "text/xsl; charset=utf-8 " ,
3494
3494
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
3495
3495
3496
3496
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -4070,7 +4070,7 @@ xsl 2.0 可以直接采用 base-uri(document(''))
4070
4070
},
4071
4071
{
4072
4072
Name : "v6/locales.xsl" ,
4073
- ContentType : "text/xsl" ,
4073
+ ContentType : "text/xsl; charset=utf-8 " ,
4074
4074
Content : []byte (`<?xml version="1.0" encoding="UTF-8"?>
4075
4075
4076
4076
<!-- 当前文件实现了简单的翻译功能 -->
@@ -4418,7 +4418,7 @@ exclude-result-prefixes="l">
4418
4418
},
4419
4419
{
4420
4420
Name : "v6/view.html" ,
4421
- ContentType : "text/html" ,
4421
+ ContentType : "text/html; charset=utf-8 " ,
4422
4422
Content : []byte (`<!DOCTYPE html>
4423
4423
<html lang="en">
4424
4424
0 commit comments