├── public └── .keep ├── resources └── .keep ├── .gitignore ├── config ├── production │ ├── params.toml │ └── config.toml ├── preview │ ├── config.zh-cn.toml │ ├── config.toml │ ├── params.toml │ └── params.zh-cn.toml └── _default │ ├── config.zh-cn.toml │ ├── languages.toml │ ├── author.toml │ ├── menu.en.toml │ ├── menu.zh-cn.toml │ ├── highlight.toml │ ├── social.toml │ ├── params.zh-cn.toml │ ├── config.toml │ └── params.toml ├── i18n ├── zh-cn.toml └── en.toml ├── content ├── en │ ├── posts │ │ ├── _index.md │ │ ├── shortcodes │ │ │ ├── _index.md │ │ │ ├── jsrun.md │ │ │ ├── codepen.md │ │ │ ├── youku.md │ │ │ ├── jsfiddle.md │ │ │ ├── bilibili.md │ │ │ ├── tencentvideo.md │ │ │ ├── iqiyi.md │ │ │ ├── neteasemusic.md │ │ │ └── alert.md │ │ ├── math-typesetting.md │ │ ├── rich-content.md │ │ ├── emoji-support.md │ │ ├── placeholder-text.md │ │ └── markdown-syntax.md │ ├── search │ │ └── _index.md │ ├── tags │ │ └── _index.md │ ├── docs │ │ ├── _index.md │ │ └── gas.md │ ├── series │ │ └── _index.md │ ├── hello.md │ ├── categories │ │ └── _index.md │ ├── archives │ │ └── _index.md │ └── about │ │ └── index.md └── zh-cn │ ├── pages │ ├── _index.md │ └── about.md │ ├── posts │ ├── _index.md │ ├── shortcodes │ │ ├── _index.md │ │ ├── jsrun.md │ │ ├── youku.md │ │ ├── codepen.md │ │ ├── bilibili.md │ │ ├── tencentvideo.md │ │ ├── iqiyi.md │ │ ├── jsfiddle.md │ │ ├── neteasemusic.md │ │ └── alert.md │ ├── 20200820-ccf-aca │ │ ├── 1.png │ │ ├── 10.png │ │ ├── 11.png │ │ ├── 12.png │ │ ├── 13.png │ │ ├── 14.png │ │ ├── 15.png │ │ ├── 16.png │ │ ├── 17.png │ │ ├── 18.png │ │ ├── 19.png │ │ ├── 2.png │ │ ├── 20.png │ │ ├── 21.png │ │ ├── 22.png │ │ ├── 23.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ ├── 6.png │ │ ├── 7.png │ │ ├── 8.png │ │ ├── 9.png │ │ └── index.md │ ├── 20210501-loongarch-manual │ │ ├── 1.webp │ │ ├── 2.webp │ │ ├── 3.webp │ │ ├── 4.webp │ │ └── index.md │ ├── 20210508-upstream-community.md │ ├── 20200127-binutils-and-autotools.md │ ├── hugoisforlovers.md │ ├── 20210801-upstream-community.md │ ├── markdown-syntax.md │ ├── 2021q4-upstream-community.md │ ├── 2021116-upstream-community.md │ ├── goisforlovers.md │ └── 3a5000-uefi.md │ ├── search │ └── _index.md │ ├── docs │ ├── _index.md │ ├── migrate-from-jekyll.md │ ├── gas.md │ └── creating-a-new-theme.md │ ├── tags │ └── _index.md │ ├── series │ └── _index.md │ ├── categories │ └── _index.md │ └── archives │ └── _index.md ├── static ├── images │ ├── banner.jpg │ ├── logo.png │ ├── logo2.png │ ├── markdown.png │ ├── shortcode.png │ └── favicons │ │ ├── favicon.ico │ │ └── favicon-32x32.png ├── css │ └── custom.css └── js │ ├── custom.js │ └── jquery.watermark.js ├── layouts ├── docs │ ├── list.html │ └── single.html ├── partials │ ├── hooks │ │ └── sidebar-begin.html │ └── post │ │ └── meta.html └── _default │ └── baseof.html ├── .gitmodules ├── view.sh ├── README.md ├── archetypes ├── default.md └── page.md └── .github └── workflows ├── deploy.yml └── preview.yml /public/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | public 2 | -------------------------------------------------------------------------------- /config/production/params.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /i18n/zh-cn.toml: -------------------------------------------------------------------------------- 1 | [manual] 2 | other = "开发者手册" 3 | -------------------------------------------------------------------------------- /i18n/en.toml: -------------------------------------------------------------------------------- 1 | [manual] 2 | other = "Developer's Manual" 3 | -------------------------------------------------------------------------------- /content/en/posts/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Posts" 3 | +++ 4 | -------------------------------------------------------------------------------- /content/zh-cn/pages/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title="页面" 3 | +++ 4 | -------------------------------------------------------------------------------- /content/zh-cn/posts/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "文章" 3 | +++ 4 | -------------------------------------------------------------------------------- /config/preview/config.zh-cn.toml: -------------------------------------------------------------------------------- 1 | title = "LoongArch 开放社区-网站预览" 2 | -------------------------------------------------------------------------------- /config/production/config.toml: -------------------------------------------------------------------------------- 1 | baseURL = "/" 2 | googleAnalytics = "" 3 | -------------------------------------------------------------------------------- /content/en/posts/shortcodes/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Shortcode" 3 | +++ 4 | -------------------------------------------------------------------------------- /content/zh-cn/posts/shortcodes/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Shortcode" 3 | +++ 4 | -------------------------------------------------------------------------------- /config/_default/config.zh-cn.toml: -------------------------------------------------------------------------------- 1 | title = "LoongArch 开放社区" 2 | hasCJKLanguage = true 3 | -------------------------------------------------------------------------------- /content/en/search/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Search" 3 | layout = "search" 4 | +++ 5 | -------------------------------------------------------------------------------- /content/zh-cn/search/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "搜索" 3 | layout = "search" 4 | +++ 5 | -------------------------------------------------------------------------------- /static/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/banner.jpg -------------------------------------------------------------------------------- /static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/logo.png -------------------------------------------------------------------------------- /static/images/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/logo2.png -------------------------------------------------------------------------------- /static/images/markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/markdown.png -------------------------------------------------------------------------------- /static/images/shortcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/shortcode.png -------------------------------------------------------------------------------- /static/images/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/favicons/favicon.ico -------------------------------------------------------------------------------- /static/images/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/static/images/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /config/preview/config.toml: -------------------------------------------------------------------------------- 1 | baseURL = "https://preview.loongarch.dev" 2 | title = "LoongArch Opensource Community - Website Preview" 3 | -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/1.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/10.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/11.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/12.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/13.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/14.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/15.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/16.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/17.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/18.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/19.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/2.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/20.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/21.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/22.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/23.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/3.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/4.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/5.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/6.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/7.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/8.png -------------------------------------------------------------------------------- /content/zh-cn/posts/20200820-ccf-aca/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/website/main/content/zh-cn/posts/20200820-ccf-aca/9.png -------------------------------------------------------------------------------- /layouts/docs/list.html: -------------------------------------------------------------------------------- 1 | {{ define "content" }} 2 |
🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
Test
88 | 89 | 90 | ``` 91 | 92 | ### Code block indented with four spaces 93 | 94 | 95 | 96 | 97 | 98 |Test
102 | 103 | 104 | 105 | ### Code block with Hugo's internal highlight shortcode 106 | {{< highlight html >}} 107 | 108 | 109 | 110 | 111 |Test
115 | 116 | 117 | {{< /highlight >}} 118 | 119 | ## List Types 120 | 121 | ### Ordered List 122 | 123 | 1. First item 124 | 2. Second item 125 | 3. Third item 126 | 127 | ### Unordered List 128 | 129 | * List item 130 | * Another item 131 | * And another item 132 | 133 | ### Nested list 134 | 135 | * Fruit 136 | * Apple 137 | * Orange 138 | * Banana 139 | * Dairy 140 | * Milk 141 | * Cheese 142 | 143 | ## Other Elements — abbr, sub, sup, kbd, mark 144 | 145 | GIF is a bitmap image format. 146 | 147 | H2O 148 | 149 | Xn + Yn = Zn 150 | 151 | Press CTRL+ALT+Delete to end the session. 152 | 153 | Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. 154 | -------------------------------------------------------------------------------- /content/zh-cn/posts/markdown-syntax.md: -------------------------------------------------------------------------------- 1 | +++ 2 | author = "Hugo Authors" 3 | title = "Markdown Syntax Guide" 4 | date = "2020-01-09" 5 | description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements." 6 | featured = false 7 | categories = [ 8 | ] 9 | tags = [ 10 | "Markdown", 11 | "CSS", 12 | "HTML", 13 | ] 14 | series = [ 15 | "用户手册" 16 | ] 17 | aliases = ["migrate-from-jekyl"] 18 | images = [ 19 | "images/markdown.png" 20 | ] 21 | # toc = false 22 | +++ 23 | 24 | This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. 25 | 26 | 27 | ## Headings 28 | 29 | The following HTML `Test
88 | 89 | 90 | ``` 91 | 92 | ### Code block indented with four spaces 93 | 94 | 95 | 96 | 97 | 98 |Test
102 | 103 | 104 | 105 | ### Code block with Hugo's internal highlight shortcode 106 | {{< highlight html >}} 107 | 108 | 109 | 110 | 111 |Test
115 | 116 | 117 | {{< /highlight >}} 118 | 119 | ## List Types 120 | 121 | ### Ordered List 122 | 123 | 1. First item 124 | 2. Second item 125 | 3. Third item 126 | 127 | ### Unordered List 128 | 129 | * List item 130 | * Another item 131 | * And another item 132 | 133 | ### Nested list 134 | 135 | * Fruit 136 | * Apple 137 | * Orange 138 | * Banana 139 | * Dairy 140 | * Milk 141 | * Cheese 142 | 143 | ## Other Elements — abbr, sub, sup, kbd, mark 144 | 145 | GIF is a bitmap image format. 146 | 147 | H2O 148 | 149 | Xn + Yn = Zn 150 | 151 | Press CTRL+ALT+Delete to end the session. 152 | 153 | Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. 154 | -------------------------------------------------------------------------------- /static/js/jquery.watermark.js: -------------------------------------------------------------------------------- 1 | /* 2 | * MIT License 3 | * 4 | * Copyright (c) 2017 海角在眼前 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | (function(){ 26 | 27 | var watermark = function(self){ 28 | this.elem = self; 29 | } 30 | 31 | watermark.prototype = { 32 | defaults : { 33 | texts : ['Watermark Text'], 34 | width : 100, 35 | height : 100, 36 | textRotate : -30, 37 | textColor : '#e5e5e5', 38 | textFont : '14px Sans' 39 | }, 40 | options : { 41 | canvas : [] 42 | }, 43 | init : function(options){ 44 | $.extend(this.options, this.defaults, options); 45 | var $body = $('body'), 46 | can1 = this.__createCanvas($body), 47 | can2 = this.__createCanvas($body), 48 | canAll = this.__createCanvas($body), 49 | settings = this.options, 50 | txtlen = settings.texts.length; 51 | 52 | settings.deg = settings.textRotate * Math.PI / 180; 53 | 54 | this.__calcTextSize($body); 55 | var repeatTimes = Math.ceil(screen.width / settings.txts.length / settings.width); 56 | settings.canvasWidth = settings.canvasWidth * repeatTimes; 57 | var extTxts = []; 58 | while(repeatTimes--) extTxts = extTxts.concat(settings.txts); 59 | settings.txts = extTxts; 60 | 61 | var fixH = settings.maxWidth * Math.abs(Math.sin(settings.deg)) + Math.cos(settings.deg) * settings.textHeight; 62 | if(fixH > settings.height) settings.height = fixH; 63 | var ctx1 = this.__setCanvasStyle(can1, settings.canvasWidth, settings.height); 64 | var ctx2 = this.__setCanvasStyle(can2, settings.canvasWidth, settings.height); 65 | var ctx = this.__setCanvasStyle(canAll, settings.canvasWidth, settings.height * 2, true); 66 | 67 | this.__drawText(ctx1, settings.txts); 68 | this.__drawText(ctx2, settings.txts.reverse()); 69 | 70 | //合并canvas 71 | ctx.drawImage(can1, 0, 0, settings.canvasWidth, settings.height); 72 | ctx.drawImage(can2, 0, settings.height, settings.canvasWidth, settings.height); 73 | var dataURL = canAll.toDataURL("image/png"); 74 | $(this.elem).css('backgroundImage', "url("+ dataURL +")"); 75 | //this.__destory(); 76 | }, 77 | __createCanvas : function($container){ 78 | var canvas = document.createElement('canvas'); 79 | $container.append(canvas); 80 | this.options.canvas.push(canvas); 81 | return canvas; 82 | }, 83 | __calcTextSize : function($container){ 84 | var txts = [], 85 | maxWidth = 0, 86 | canvasWidth = 0, 87 | settings = this.options; 88 | $.each(settings.texts, function(i, text){ 89 | var span = $('') 90 | .appendTo($container); 91 | var tWidth = span[0].offsetWidth, 92 | tHeight = span[0].offsetHeight; 93 | span.remove(); 94 | txts.push({ 95 | txt : text, 96 | width : tWidth, 97 | height : tHeight 98 | }); 99 | maxWidth = Math.max(maxWidth, tWidth); 100 | settings.textHeight = tHeight; 101 | var shadow = Math.cos(settings.deg) * tWidth; 102 | canvasWidth += (settings.width < shadow ? shadow : settings.width) - tHeight * Math.sin(settings.deg); 103 | }); 104 | settings.txts = txts; 105 | settings.maxWidth = maxWidth; 106 | settings.canvasWidth = canvasWidth; 107 | }, 108 | __setCanvasStyle : function(canvas, width, height, notextstyle){ 109 | canvas.width = width; 110 | canvas.height = height; 111 | canvas.style.display='none'; 112 | 113 | var ctx = canvas.getContext('2d'); 114 | if(!notextstyle){ 115 | var deg = this.options.deg, 116 | absSindeg = Math.abs(Math.sin(deg)); 117 | ctx.rotate(deg); 118 | // based on windows's x/y offset 119 | var offset = absSindeg * this.options.height - this.options.textHeight * absSindeg; 120 | var nx = - offset * Math.cos(deg), 121 | ny = - offset * absSindeg; 122 | ctx.translate( nx, ny * absSindeg); 123 | 124 | ctx.font = this.options.textFont; 125 | ctx.fillStyle = this.options.textColor; 126 | ctx.textAlign = 'left'; 127 | ctx.textBaseline = 'Middle'; 128 | } 129 | return ctx; 130 | }, 131 | __drawText: function(ctx, txts){ 132 | var settings = this.options; 133 | $.each(txts, function(i, obj){ 134 | 135 | var wnap = (settings.maxWidth - obj.width) / 2 ; 136 | var x = settings.width * Math.cos(settings.deg) * i, 137 | y = - x * Math.tan(settings.deg) + settings.height; 138 | ctx.fillText(obj.txt, x + wnap, y); 139 | }); 140 | }, 141 | __destory : function(){ 142 | $.each(this.options.canvas, function(i, canvas){ 143 | canvas.remove(); 144 | canvas = null; 145 | }); 146 | } 147 | } 148 | 149 | $.fn.watermark = function(options){ 150 | new watermark(this).init(options); 151 | } 152 | 153 | })(jQuery); 154 | -------------------------------------------------------------------------------- /content/zh-cn/posts/2021q4-upstream-community.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "2021年四季度社区动态" 3 | linktitle = "2021年四季度社区动态" 4 | description = "2021年四季度社区动态" 5 | date = 2022-01-25T14:35:00+08:00 6 | draft = false 7 | comment = true 8 | toc = true 9 | reward = false 10 | categories = [ 11 | "" 12 | ] 13 | tags = [ 14 | "新闻" 15 | ] 16 | +++ 17 | 18 | 2021年四季度,LoongArch 平台开发者手册开放更新中;基础软件、开发语言、系统软件继续稳步推进。 19 | 20 | ## 开发者手册 21 | 22 | [LoongArch Processor SMBIOS Spec](https://loongson.github.io/LoongArch-Documentation/LoongArch-Processor-SMBIOS-Spec-EN.html): 为上游 SMBIOS 规范增加 LoongArch 处理器部分,预计在 V3.6.0 版本将合并到上游。 23 | 24 | 以上手册作为开发者必备的参考资料,同时也是指导工具链实现的规范,目前在社区开放讨论并持续更新中, https://github.com/loongson/LoongArch-Documentation 25 | 26 | ## 基础软件 27 | 28 | ### QEMU 29 | 30 | WANG Xuerui 提交的 LoongArch TCG host 支持补丁上游已合并。 31 | 32 | https://patchew.org/QEMU/20211221054105.178795-1-git@xen0n.name/ 33 | 34 | ## 开发语言 35 | 36 | ### golang 37 | 38 | limeidan 和 liuxiaodong 提交的 golang/net 补丁上游已合并。 39 | 40 | https://github.com/golang/net/commit/d55c255bac037b8052cb2cb906e2a42ef152ff79 41 | 42 | ## 系统软件 43 | 44 | ### beetle-pce-fast-libretro 45 | 46 | fyl 提交的 LoongArch 架构支持补丁上游已合并。 47 | 48 | https://github.com/libretro/beetle-pce-fast-libretro/commit/eb57e0c21f082de9f0ba86f26b3c716a2ed18b14 49 | 50 | ### benchmark 51 | 52 | huajingyun 提交的 LoongArch 架构支持补丁上游已合并。 53 | 54 | https://github.com/google/benchmark/commit/f90215f1cc2c22d32d96e903ea031278681e4adb 55 | 56 | ### chromium 57 | 58 | Zhao Jiazhong 提交的 LoongArch 架构支持补丁上游已合并。 59 | 60 | https://github.com/chromium/chromium/commit/8f1041be06763964d54b6bfac7faa751569b4a48 61 | 62 | ### ffmpeg 63 | 64 | guxiwei、yin shiyou、Hao Chen、Jin Bo 等人提交的 LoongArch 架构支持补丁上游已合并。 65 | 66 | https://github.com/FFmpeg/FFmpeg/commit/024e934480a34ff534020f1617c94a7212f88a0f 67 | https://github.com/FFmpeg/FFmpeg/commit/07f8f78a5fb8b6a28f7b9d79fae6e411a17114ee 68 | https://github.com/FFmpeg/FFmpeg/commit/1ccc45896096b39b9a0d5650618d384df30d15e4 69 | https://github.com/FFmpeg/FFmpeg/commit/2fd914e079645ad08a4068b46c161f4a01b5b996 70 | https://github.com/FFmpeg/FFmpeg/commit/3f294ec8799390af0bfc6916c312e5b1e0035c10 71 | https://github.com/FFmpeg/FFmpeg/commit/555b850bd56c87007c6b7b02dbb1e474e9911dfa 72 | https://github.com/FFmpeg/FFmpeg/commit/5d58355bf1a7bd07b0f08bf1f90f4aba8b89d727 73 | https://github.com/FFmpeg/FFmpeg/commit/5ff58b77bb1f44a2074967cb0e0b7db3b437df10 74 | https://github.com/FFmpeg/FFmpeg/commit/6038a9eb92b2daac907c941dbb245ed43c350501 75 | https://github.com/FFmpeg/FFmpeg/commit/72bcbe216ef3d47498392ed2bada83994cd9fc86 76 | https://github.com/FFmpeg/FFmpeg/commit/8ca7d474c19f856b28fa588e040b23b1a58368ed 77 | https://github.com/FFmpeg/FFmpeg/commit/8ca7d474c19f856b28fa588e040b23b1a58368ed 78 | https://github.com/FFmpeg/FFmpeg/commit/9a840ffa176038d44e0197283590f891b2cf9eeb 79 | https://github.com/FFmpeg/FFmpeg/commit/afcb36b7e54727d533b45303b36fa0d13ce02797 80 | https://github.com/FFmpeg/FFmpeg/commit/cba7c0267dad3963ff52f146012dd99fd5b55c2c 81 | https://github.com/FFmpeg/FFmpeg/commit/df46d7cb49ce301d83c1d20cfc4ef47390d47691 82 | https://github.com/FFmpeg/FFmpeg/commit/fea299f8768adbbddcb5b26a34f622a8606945a6 83 | 84 | ffmpeg 5.0 版本已经增加了 LoongArch 架构,参见 Changelog: 85 | 86 | https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/refs/heads/release/5.0:/Changelog 87 | 88 | ### jnr-constants 89 | 90 | shanjiantao 提交的 LoongArch 架构支持补丁上游已合并。 91 | 92 | https://github.com/jnr/jnr-constants/commit/413ff6e502c86edda2ebae9f8689e2b9c462e743 93 | 94 | jnr-constants 0.10.2 版本已经增加了 LoongArch 架构 95 | 96 | ### libffcall 97 | 98 | https://git.savannah.gnu.org/gitweb/?p=libffcall.git;a=commit;h=600d713cd18f09a698f937ff6c2cead41036e3da 99 | 100 | ### libunwind 101 | 102 | Tiezhu Yang、 Qing Zhang、 Jinyang He、 Youling Tang 等人提交的 LoongArch 架构支持补丁上游已合并。 103 | 104 | https://github.com/libunwind/libunwind/commit/c5f1d12c77dea6a60740730c675fc56b3c52b86a 105 | 106 | ### libyuv 107 | 108 | Hao Chen 提交的 LoongArch 架构支持补丁上游已合并。 109 | 110 | https://github.com/noiseless/libyuv/commit/2f87e9a7135b83656c86b3b23ba582e0dfeb7fbb 111 | https://github.com/noiseless/libyuv/commit/f8e2da48aed24a7b2608172aa5e59421f1f802d4 112 | https://github.com/noiseless/libyuv/commit/dfe046d27255cff06fc4cfe42c6d373fd83bc2aa 113 | https://github.com/noiseless/libyuv/commit/de8ae8c679f5a42fb9f9f65318d6cb95112180d6 114 | https://github.com/noiseless/libyuv/commit/51de1e16f20bb93468d7c538629b40ece8420b71 115 | 116 | ### Nim 117 | 118 | wenghongquan 提交的 LoongArch 架构支持补丁上游已合并。 119 | 120 | https://github.com/nim-lang/Nim/commit/742e9d65ad6b56387dc6bf9a2be1b95c510fd0c4 121 | 122 | ### NodeJS 123 | 124 | Shi Pujin 提交的 LoongArch 架构支持补丁上游已合并。 125 | 126 | https://github.com/nodejs/node/commit/81e88f27b7199bafc9e26bb1def2d06bac2b9fad 127 | 128 | ### NumPy 129 | 130 | NumPy 1.22.0 版本已经支持 LoongArch 架构,参见 Release Notes: 131 | 132 | https://numpy.org/doc/stable/release/1.22.0-notes.html 133 | 134 | ### ode 135 | 136 | zhangna 提交的 LoongArch 架构支持补丁上游已合并。 137 | 138 | https://bitbucket.org/odedevs/ode/commits/04f4c2d33f4abcb2970e8377d1a35e06c6ff3504 139 | 140 | ### OpenBLAS 141 | 142 | gxw 提交的 LoongArch 架构支持补丁上游已合并。 143 | 144 | https://github.com/xianyi/OpenBLAS/commit/af0a69f355a086d70cc08ccda8bde7a48b3133c4 145 | 146 | OpenBLAS 0.3.18 版本已经支持 LoongArch 架构,参见 Release Notes: 147 | 148 | https://github.com/xianyi/OpenBLAS/releases/tag/v0.3.18 149 | 150 | ### OpenH264 151 | 152 | jinboson、Lu Wang 等人提交的 LoongArch 架构支持补丁上游已合并。 153 | 154 | https://github.com/cisco/openh264/commit/a8094d85f5dd5ef112fbcfec2974e18fd0387c0b 155 | 156 | ### patchelf 157 | 158 | zhangwenlong 提交的 LoongArch 架构支持补丁上游已合并。 159 | 160 | https://github.com/NixOS/patchelf/commit/a174cf3006baf31e0e9eaa62bc9adead93af63f7 161 | 162 | ### pwsafe 163 | 164 | Yaling Fang 提交的 LoongArch 架构支持补丁上游已合并。 165 | 166 | https://github.com/pwsafe/pwsafe/commit/faf1545c3c0327fb5e7c84502146014d1550cb50 167 | 168 | ### pyroute2 169 | 170 | zhangwenlong 提交的 LoongArch 架构支持补丁上游已合并。 171 | 172 | https://github.com/svinota/pyroute2/commit/6fdae02ff0666c11e726166e296d67c75782587b 173 | 174 | ### strace 175 | 176 | WANG Xuerui 提交的 LoongArch 架构支持补丁上游已合并。 177 | 178 | https://github.com/strace/strace/commit/2bf68c3b08ba82f4f41035e58149c06d2421cbd6 179 | https://github.com/strace/strace/commit/665f7bb525b2a800257af5d3d83b796e6cd9ddbe 180 | https://github.com/strace/strace/commit/819a2c5ff74e8fd957d36ae1e70cb87f02d2b9b6 181 | 182 | ### stringi 183 | 184 | liuxiang88 提交的 LoongArch 架构支持补丁上游已合并。 185 | 186 | https://github.com/gagolews/stringi/commit/23b92c604c2bb48cc5b6a241e4875182c5889aeb 187 | 188 | ### systemd 189 | 190 | Wu Xiaotian 提交的 LoongArch 架构支持补丁上游已合并。 191 | 192 | https://github.com/systemd/systemd/commit/646b01121a9cf2009768af2dac080940b9803624 193 | https://github.com/systemd/systemd/commit/ff6d286902b4330a07e0d4a141751344257ef0c1 194 | https://github.com/systemd/systemd/commit/eebbd595f0de9505f4df3c3460ab36d46d8262f8 195 | https://github.com/systemd/systemd/commit/89f60c217c3f095db8e530c63fcb761fd64dc2d4 196 | https://github.com/systemd/systemd/commit/0444a6e4be6bdc4d57076609f182497ea79aa7b5 197 | 198 | systemd 250 版本已经初步增加了 LoongArch 架构,参见 Release Notes: 199 | 200 | https://github.com/systemd/systemd/releases/tag/v250 201 | 202 | ### tilibs 203 | 204 | suntie 提交的 LoongArch 架构支持补丁上游已合并。 205 | 206 | https://github.com/debrouxl/tilibs/commit/3447f6e786b377f2eb5c40cc840024098633a9e0 207 | 208 | ### tup 209 | 210 | Yaling Fang 提交的 LoongArch 架构支持补丁上游已合并。 211 | 212 | https://github.com/gittup/tup/commit/324d0cd97b0d78566f19f0b30cb072eddeabd99d 213 | 214 | ### unarr 215 | 216 | liuxiang88 提交的 LoongArch 架构支持补丁上游已合并。 217 | 218 | https://github.com/selmf/unarr/commit/a9c2c6f71ad3ad5f3fd0bfed2b06148b51ed7555 219 | 220 | 注: 本网站为完全开放社区,欢迎广大爱好者通过为 [website](https://github.com/loongarch64/website) 发起 PR 进行投稿! 221 | -------------------------------------------------------------------------------- /content/zh-cn/docs/migrate-from-jekyll.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2014-03-10 3 | linktitle: Migrating from Jekyll 4 | prev: /tutorials/mathjax 5 | draft: true 6 | title: Migrate to Hugo from Jekyll 7 | --- 8 | 9 | ## Move static content to `static` 10 | Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there. 11 | With Jekyll, something that looked like 12 | 13 | ▾124 | {{ .Get "caption" }} 125 | {{ with .Get "attrlink"}} {{ end }} 126 | {{ .Get "attr" }} 127 | {{ if .Get "attrlink"}} {{ end }} 128 |
{{ end }} 129 |