mirror of https://github.com/axmolengine/axmol.git
Change axmol domain axmol.org --> axmol.dev
This commit is contained in:
parent
7c7d3beb02
commit
1c45d3f598
|
@ -1,10 +1,10 @@
|
|||
<p align="center"><a href="https://axmol.org" target="_blank" rel="noopener noreferrer"><img width="160" src="docs/logo.png" alt="axmol logo"></a></p>
|
||||
<p align="center"><a href="https://axmol.dev" target="_blank" rel="noopener noreferrer"><img width="160" src="docs/logo.png" alt="axmol logo"></a></p>
|
||||
|
||||
# Axmol Engine
|
||||
|
||||
## A Multi-platform Engine for Mobile, Desktop and Xbox.
|
||||
|
||||
[Axmol Engine](https://axmol.org) is an open-source, C++ multi-platform engine designed for mobile devices, desktop, and Xbox, well-suited for 2D game development. It was launched in November 2019 as a fork of Cocos2d-x v4.0.
|
||||
[Axmol Engine](https://axmol.dev) is an open-source, C++ multi-platform engine designed for mobile devices, desktop, and Xbox, well-suited for 2D game development. It was launched in November 2019 as a fork of Cocos2d-x v4.0.
|
||||
|
||||
Please [visit our Wiki](https://github.com/axmolengine/axmol/wiki) to know more about Axmol.
|
||||
|
||||
|
@ -39,7 +39,7 @@ If you have a Cocos2d-x project, migrating to Axmol Engine is easy. We have prep
|
|||
|
||||
## Learning and docs
|
||||
|
||||
* [Documentation](https://axmol.org/manual/latest/)
|
||||
* [Documentation](https://axmol.dev/manual/latest/)
|
||||
* [Axmol Wiki](https://github.com/axmolengine/axmol/wiki)
|
||||
* [Tutorials Page](https://github.com/axmolengine/axmol/wiki/Tutorials)
|
||||
* [Frequently Asked Questions](https://github.com/axmolengine/axmol/wiki/FAQ)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<p align="center"><a href="https://axmol.org" target="_blank" rel="noopener noreferrer"><img width="160" src="docs/logo.png" alt="axmol logo"></a></p>
|
||||
<p align="center"><a href="https://axmol.dev" target="_blank" rel="noopener noreferrer"><img width="160" src="docs/logo.png" alt="axmol logo"></a></p>
|
||||
|
||||
# Axmol Engine
|
||||
|
||||
## A Multi-platform Engine for Mobile, Desktop and Xbox.
|
||||
|
||||
[Axmol Engine](https://axmol.org) 是一个开源的专为移动、桌面和XBox设备设计的 C++ 多平台引擎。该项目于2019年11月作为`Cocos2d-X-4.0`的一个分支启动。
|
||||
[Axmol Engine](https://axmol.dev) 是一个开源的专为移动、桌面和XBox设备设计的 C++ 多平台引擎。该项目于2019年11月作为`Cocos2d-X-4.0`的一个分支启动。
|
||||
|
||||
请 [访问我们的 Wiki](https://github.com/axmolengine/axmol/wiki) 了解关于 Axmol 的更多信息。
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
|
||||
## 教程和文档
|
||||
|
||||
* [API文档](https://axmol.org/manual/latest/)
|
||||
* [API文档](https://axmol.dev/manual/latest/)
|
||||
* [Axmol Wiki](https://github.com/axmolengine/axmol/wiki)
|
||||
* [教程](https://github.com/axmolengine/axmol/wiki/Tutorials)
|
||||
* [常见问题](https://github.com/axmolengine/axmol/wiki/FAQ)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p align="center"><a href="https://axmol.org" target="_blank" rel="noopener noreferrer"><img width="160" src="logo.png" alt="axmol logo"></a></p>
|
||||
<p align="center"><a href="https://axmol.dev" target="_blank" rel="noopener noreferrer"><img width="160" src="logo.png" alt="axmol logo"></a></p>
|
||||
|
||||
# Axmol Engine - C++ coding style
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
||||
Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md).
|
||||
|
||||
https://axmol.org/
|
||||
https://axmol.dev/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -10,7 +10,7 @@ axmol is a open source project is designed to be a cross-platform 2D game engine
|
|||
It runs on top of OpenGL 3.3(ES 2.0)/Metal and is written in C++.\n
|
||||
This project is a fork of <A HREF="https://github.com/cocos2d/cocos2d-x">"cocos2d-x-4.0"</A>.\n
|
||||
|
||||
- website: https://axmol.org/
|
||||
- website: https://axmol.dev/
|
||||
|
||||
- <A HREF="https://github.com/axmolengine/axmol/issues">FAQ</A>
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=https://axmol.org/manual/@VERSION@" />
|
||||
<meta http-equiv="refresh" content="1; url=https://axmol.dev/manual/@VERSION@" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.href = 'https://axmol.org/manual/@VERSION@';
|
||||
window.location.href = 'https://axmol.dev/manual/@VERSION@';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="https://axmol.org/manual/@VERSION@">https://axmol.org/manual/@VERSION@</a>
|
||||
Redirecting to <a href="https://axmol.dev/manual/@VERSION@">https://axmol.dev/manual/@VERSION@</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -95,8 +95,8 @@ $(document).ready(function() {
|
|||
*/
|
||||
(function(c){c.fn.footnotes=function(d){var e=c.extend({},c.fn.footnotes.defaults,d);return this.each(function(f){b("INFO: Building footnotes for "+(f+1)+"...",e.debugMode);c(e.footnotes,this).addClass(e.autoFootnoteClass);var h=(""===e.contentBlock)?c(this):c(e.contentBlock,this),g=e.orderedList?"<ol/>":"<ul/>";c("."+e.autoFootnoteClass).each(function(l){var t=-1,n=f+"-"+l,q=c(this),j,r,s,u,p,m,o,k;if(e.singleFootnoteDestination){j=c("#"+e.destination);if(0===j.length){b("INFO: No #autoFootnotes found; adding our own",e.debugMode);j=c(g).attr("id",e.destination).addClass("footnotesList").appendTo(h)}}else{j=c("#"+e.destination+f);if(0===j.length){b("INFO: No #autoFootnotes"+f+" found; adding our own for "+(f+1),e.debugMode);j=c(g).attr("id",e.destination+f).addClass("footnotesList").appendTo(h)}}q.removeClass(e.autoFootnoteClass);r=e.fnExtractFootnote(this);t=-1;n=f+"-"+l;j.find("li > .footnoteContent").each(function(i){var v=c(this);if(v.html()===r){t=i;s=c(v.parents("li").get(0));return false}});if(-1===t){u=c("<a/>").attr("href","#cite-text-"+n).attr("name","cite-ref-"+n).attr("id","cite-ref-"+n).attr("dir","ltr").attr("title",r).text("["+(j.find("li").length+1)+"]").addClass("footnoteLink");if(q.is(e.prependTags)){c("<sup/>").prependTo(this).append(u)}else{c("<sup/>").appendTo(this).append(u)}p=c("<li/>").attr("id","cite-text-"+n);m=c("<span/>").addClass("footnoteBackReferenceGroup").appendTo(p);c("<span/>").addClass("footnoteContent").html(r).appendTo(p);u=c("<a/>").text("^").attr("href","#cite-ref-"+n).addClass("footnoteBackref").prependTo(m);j.append(p)}else{n=f+"-"+t;m=c(c("li > .footnoteBackReferenceGroup",j).get(t));o=m.find(".footnoteBackref");k=o.length;if(0===o.length){b("ERROR: $backRefs.length == 0, which should have prevented this code path",e.debugMode)}else{if(1===o.length){c("<sup/>").text("^ ").addClass("footnoteBackref").prependTo(m);o.html("<sup>a</sup>");++k}u=c("<a/>").attr("href","#"+s.attr("id")).attr("name","cite-ref-"+n+"-"+o.length).attr("id","cite-ref-"+n+"-"+o.length).attr("title",r).text("["+(t+1)+"]").addClass("footnoteLink");if(q.is(e.prependTags)){c("<sup/>").prependTo(this).append(u)}else{c("<sup/>").appendTo(this).append(u)}u=c("<a/>").attr("href","#cite-ref-"+n+"-"+o.length).addClass("footnoteBackref");if(k>=26){b("WARN: multiple letter functionality is probably broken when more than 26 footnotes exist",e.debugMode)}u.prepend(String.fromCharCode((k)+96));c("<sup/>").appendTo(m).append(u)}}});b("INFO: Done building footnotes for "+(f+1),e.debugMode)})};c.fn.footnotes.version=function(){return"1.2.2"};c.fn.footnotes.defaults={footnotes:"blockquote[title],span.footnote,blockquote[cite]",prependTags:"blockquote",singleFootnoteDestination:false,destination:"autoFootnotes",contentBlock:".content",autoFootnoteClass:"autoFootnote",fnExtractFootnote:a,orderedList:true,debugMode:true};function b(e,d){if(d){if(window.console&&window.console.log){window.console.log(e)}}}function a(i){var j=c(i),e,f,h,g,d;if(j.is("span.footnote")){e=c(i).html();f=/^(?:(?: )|\s)*\(([\S\s]+)\)(?:(?: )|\s)*$/;h=e.match(f);if(h&&2===h.length){e=h[1]}j.empty()}else{if(j.is("blockquote[title]")){g=j.attr("cite");e=j.attr("title");if(""!==g){d=c("<a/>").attr("href",g);if(0===c(e).length){e=d.text(e)}else{e=d.text(g).wrap("<span/>").parent().append(": "+e);j.attr("title","")}}}else{if(j.is("blockquote[cite]")){g=j.attr("cite");e=c("<a/>").attr("href",g).text(g)}}}return e}})(jQuery);
|
||||
(function(){
|
||||
if(window.location.href.includes("axmol.org")){
|
||||
var url='https://axmol.org/manual/latest/menu_version.js';
|
||||
if(window.location.href.includes("axmol.dev")){
|
||||
var url='https://axmol.dev/manual/latest/menu_version.js';
|
||||
var script = document.createElement("script"); // Make a script DOM node
|
||||
script.src = url; // Set it's src to the provided URL
|
||||
document.head.appendChild(script);
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="The axmol home page" />
|
||||
<meta property="og:description" content="The axmol home page" />
|
||||
<link rel="canonical" href="https://axmol.org/" />
|
||||
<meta property="og:url" content="https://axmol.org/" />
|
||||
<meta property="og:site_name" content="axmol.org" />
|
||||
<link rel="canonical" href="https://axmol.dev/" />
|
||||
<meta property="og:url" content="https://axmol.dev/" />
|
||||
<meta property="og:site_name" content="axmol.dev" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="Axmol Engine" />
|
||||
<script type="application/ld+json">
|
||||
{"@context":"https://schema.org","@type":"WebSite","description":"The axmol home page","headline":"Axmol Engine","name":"axmol.org","url":"https://axmol.org/"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","description":"The axmol home page","headline":"Axmol Engine","name":"axmol.dev","url":"https://axmol.dev/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
|
@ -91,7 +91,7 @@
|
|||
</ul>
|
||||
<p>Important links:</p>
|
||||
<ul>
|
||||
<li><a href="https://axmol.org/manual/latest/">API Documentation</a></li>
|
||||
<li><a href="https://axmol.dev/manual/latest/">API Documentation</a></li>
|
||||
<li><a href="https://github.com/axmolengine/axmol">GitHub</a></li>
|
||||
<li><a href="https://github.com/axmolengine/axmol/wiki">Wiki</a></li>
|
||||
<li><a href="https://github.com/axmolengine/axmol/blob/dev/LICENSE">Licence</a></li>
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="The axmol home page" />
|
||||
<meta property="og:description" content="The axmol home page" />
|
||||
<link rel="canonical" href="https://axmol.org/" />
|
||||
<meta property="og:url" content="https://axmol.org/" />
|
||||
<meta property="og:site_name" content="axmol.org" />
|
||||
<link rel="canonical" href="https://axmol.dev/" />
|
||||
<meta property="og:url" content="https://axmol.dev/" />
|
||||
<meta property="og:site_name" content="axmol.dev" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="Axmol Engine" />
|
||||
<script type="application/ld+json">
|
||||
{"@context":"https://schema.org","@type":"WebSite","description":"The axmol home page","headline":"Axmol Engine","name":"axmol.org","url":"https://axmol.org/"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","description":"The axmol home page","headline":"Axmol Engine","name":"axmol.dev","url":"https://axmol.dev/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
}
|
||||
|
||||
function patch_url(url, new_version) {
|
||||
if(url.includes("axmol.org")){
|
||||
return url.replace(url_re, 'axmol.org/manual/' + new_version + '/');
|
||||
if(url.includes("axmol.dev")){
|
||||
return url.replace(url_re, 'axmol.dev/manual/' + new_version + '/');
|
||||
}
|
||||
else {
|
||||
return url.replace(url_local, 'docs/dist/manual/' + new_version + '/');
|
||||
|
|
Loading…
Reference in New Issue