feat: docusaurus v3 (#1432)

* feat: docusaurus v3

* feat: update release tool to stop it from converting links - this is now done use mdx plugins

* fix: broken links

* feat: more github links and prettier config

* chore: changelog

* fix: blog emoji
This commit is contained in:
Pete Davison
2023-12-20 19:59:29 -06:00
committed by GitHub
parent 43a2979e77
commit 7c93741670
44 changed files with 5537 additions and 5999 deletions

View File

@@ -9,7 +9,7 @@ const projectId = '574591';
const initClient = () => {
if (!personalToken) {
console.warn(
'No crowding personal token, some features might not work as expected'
'No crowdin personal token, some features might not work as expected'
);
return null;
}
@@ -23,7 +23,7 @@ const initClient = () => {
* Get translation progress
* @return {object} translation progress
*/
async function getTranslationProgress() {
export async function getTranslationProgress() {
let translationProgress = {};
const { translationStatusApi } = initClient() || {};
@@ -44,7 +44,3 @@ async function getTranslationProgress() {
return translationProgress;
}
module.exports = {
getTranslationProgress
};