You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "sy-records (via GitHub)" <gi...@apache.org> on 2024/12/04 06:04:04 UTC
[PR] chore: Remove the date from the blog URL [incubator-answer-website]
sy-records opened a new pull request, #276:
URL: https://github.com/apache/incubator-answer-website/pull/276
Fix #275
How should we name the post file?
1. As before, the `slug` needs to be added. Example: `2024-11-27-apache-answer-1.4.1-release`, Add `slug`
2. Move out the year, month and day, the default is `slug`. Example: `apache-answer-1.4.1-release`
--
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: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Remove the date from the blog URL [incubator-answer-website]
Posted by "fenbox (via GitHub)" <gi...@apache.org>.
fenbox commented on PR #276:
URL: https://github.com/apache/incubator-answer-website/pull/276#issuecomment-2516325213
Long pain is not as good as short pain, I choose choice 2.
--
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: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Remove the date from the blog URL [incubator-answer-website]
Posted by "sy-records (via GitHub)" <gi...@apache.org>.
sy-records commented on PR #276:
URL: https://github.com/apache/incubator-answer-website/pull/276#issuecomment-2516472166
Done. It can be accessed at https://change-url.apache-answer.pages.dev/.
--
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: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Remove the date from the blog URL [incubator-answer-website]
Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on PR #276:
URL: https://github.com/apache/incubator-answer-website/pull/276#issuecomment-2519456345
> Done. It can be accessed at https://change-url.apache-answer.pages.dev/.
Functionality is fine, the `docusaurus.config.js` configuration file could be optimized by extracting the url for redirect into a separate file so that it doesn't affect the reading of `docusaurus.config.js`.
eg:
create `redirect.js` file
```
module.exports = [
{
to: '/community/support',
from: ['/contact', '/community'],
},
...
]
```
require and use in docusaurus.config.js file
eg:
```
const redirectPaths = require('./redirect.js');
[
'@docusaurus/plugin-client-redirects',
{
redirects: redirectPaths,
},
],
```
--
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: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Remove the date from the blog URL [incubator-answer-website]
Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai merged PR #276:
URL: https://github.com/apache/incubator-answer-website/pull/276
--
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: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org