mirror of
https://github.com/go-task/task.git
synced 2025-01-22 05:10:17 +02:00
parent
d1850e8fd2
commit
45ab4dc718
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
- The website got a brand new [translation to Chinese](https://task-zh.readthedocs.io/zh_CN/latest/)
|
||||||
|
by [@DeronW](https://github.com/DeronW). Thanks!
|
||||||
|
|
||||||
## v3.18.0
|
## v3.18.0
|
||||||
|
|
||||||
- Show aliases on `task --list --silent` (`task --ls`). This means that aliases
|
- Show aliases on `task --list --silent` (`task --ls`). This means that aliases
|
||||||
|
11
docs/constants.js
Normal file
11
docs/constants.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const GITHUB_URL = 'https://github.com/go-task/task';
|
||||||
|
const TWITTER_URL = 'https://twitter.com/taskfiledev';
|
||||||
|
const DISCORD_URL = 'https://discord.gg/6TY36E39UK';
|
||||||
|
const CHINESE_URL = 'https://task-zh.readthedocs.io/zh_CN/latest/';
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
GITHUB_URL,
|
||||||
|
TWITTER_URL,
|
||||||
|
DISCORD_URL,
|
||||||
|
CHINESE_URL
|
||||||
|
};
|
@ -9,6 +9,12 @@ Some of the work to improve the Task ecosystem is done by the community, be
|
|||||||
it installation methods or integrations with code editor. I (the author) am
|
it installation methods or integrations with code editor. I (the author) am
|
||||||
thankful for everyone that helps me to improve the overall experience.
|
thankful for everyone that helps me to improve the overall experience.
|
||||||
|
|
||||||
|
## Translations
|
||||||
|
|
||||||
|
[@DeronW](https://github.com/DeronW) maintains the
|
||||||
|
[Chinese translation](https://task-zh.readthedocs.io/zh_CN/latest/) of the
|
||||||
|
website [on this repository](https://github.com/DeronW/task).
|
||||||
|
|
||||||
## Editor Integrations
|
## Editor Integrations
|
||||||
|
|
||||||
### JSON Schema
|
### JSON Schema
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
|
||||||
|
const {
|
||||||
|
GITHUB_URL,
|
||||||
|
TWITTER_URL,
|
||||||
|
DISCORD_URL,
|
||||||
|
CHINESE_URL
|
||||||
|
} = require('./constants');
|
||||||
const lightCodeTheme = require('./src/themes/prismLight');
|
const lightCodeTheme = require('./src/themes/prismLight');
|
||||||
const darkCodeTheme = require('./src/themes/prismDark');
|
const darkCodeTheme = require('./src/themes/prismDark');
|
||||||
|
|
||||||
const GITHUB_URL = 'https://github.com/go-task/task';
|
|
||||||
const TWITTER_URL = 'https://twitter.com/taskfiledev';
|
|
||||||
const DISCORD_URL = 'https://discord.gg/6TY36E39UK';
|
|
||||||
|
|
||||||
/** @type {import('@docusaurus/types').Config} */
|
/** @type {import('@docusaurus/types').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
title: 'Task',
|
title: 'Task',
|
||||||
@ -153,6 +155,15 @@ const config = {
|
|||||||
href: 'https://opencollective.com/task'
|
href: 'https://opencollective.com/task'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Translations',
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
label: 'Chinese',
|
||||||
|
href: CHINESE_URL
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1,9 +1,19 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
|
const { CHINESE_URL } = require('./constants');
|
||||||
|
|
||||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||||
const sidebars = {
|
const sidebars = {
|
||||||
tutorialSidebar: [
|
tutorialSidebar: [
|
||||||
{ type: 'autogenerated', dirName: '.' },
|
{
|
||||||
|
type: 'autogenerated',
|
||||||
|
dirName: '.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'link',
|
||||||
|
label: 'Chinese',
|
||||||
|
href: CHINESE_URL
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'html',
|
type: 'html',
|
||||||
value: '<div id="sidebar-ads"></div>'
|
value: '<div id="sidebar-ads"></div>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user