You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/14 08:06:18 UTC
[GitHub] [apisix-website] SkyeYoung opened a new pull request, #1030: refactor: reduce build time
SkyeYoung opened a new pull request, #1030:
URL: https://github.com/apache/apisix-website/pull/1030
# WIP, Don't Merge
Fixes: #699
Changes:
- reduce sync doc time
-
Screenshots of the change:
none
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] netlify[bot] commented on pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
netlify[bot] commented on PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#issuecomment-1098825462
### <span aria-hidden="true">👷</span> Deploy Preview for *apache-apisix* processing.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 77609198bcd33b0843f4429a5d57a6d039837a7e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/6257d5fa68f6f700092dd03f |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] juzhiyuan merged pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
juzhiyuan merged PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
SkyeYoung commented on PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#issuecomment-1100656667
@juzhiyuan @bzp2010 full build url: https://625ab55e943e5306140b300e--full-build-apache-apisix.netlify.app/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on a diff in pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on code in PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#discussion_r851690720
##########
website/config/apisix-versions.js:
##########
@@ -0,0 +1,49 @@
+/* eslint-disable quote-props */
+
+/**
+ * @type {Array<string>} version list
+ */
+const versions = [
+ '2.12',
+ '2.13',
+];
+
+/**
+ * @type {Array<{label: string, href: string}>}
+ */
+const archivedVersions = [
+ {
+ label: '2.11',
+ href: 'https://625a9090d04b9a6953165811--2-11-old-docs-apache-apisix.netlify.app/docs/apisix/getting-started/',
Review Comment:
Hi, may I know how to get those links?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on a diff in pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
SkyeYoung commented on code in PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#discussion_r851704105
##########
website/config/apisix-versions.js:
##########
@@ -0,0 +1,49 @@
+/* eslint-disable quote-props */
+
+/**
+ * @type {Array<string>} version list
+ */
+const versions = [
+ '2.12',
+ '2.13',
+];
+
+/**
+ * @type {Array<{label: string, href: string}>}
+ */
+const archivedVersions = [
+ {
+ label: '2.11',
+ href: 'https://625a9090d04b9a6953165811--2-11-old-docs-apache-apisix.netlify.app/docs/apisix/getting-started/',
Review Comment:
The site name `2-11-old-docs-apache-apisix.netlify.app` is entered manually. But the `625a9090d04b9a6953165811` is randomly generated. The full host will be returned by netlify cli.
If the prod attribute is passed in during deployment, it seems that there will be no randomly generated ID. But I haven't tried yet.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#issuecomment-1100784973

LGTM!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-website] bzp2010 commented on a diff in pull request #1030: refactor: reduce build time
Posted by GitBox <gi...@apache.org>.
bzp2010 commented on code in PR #1030:
URL: https://github.com/apache/apisix-website/pull/1030#discussion_r851869977
##########
package.json:
##########
@@ -36,4 +37,4 @@
"*.{yml,yaml}": "eslint --cache --fix",
"*.css": "stylelint --cache --fix"
}
-}
+}
Review Comment:
EOL
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org