mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
Fixed build errors
This commit is contained in:
parent
a56d0b2041
commit
401a04291b
@ -15,9 +15,8 @@
|
||||
// the bits that are specific to the generation source we use, and make the docs
|
||||
// easier to use. In particular, removing the leading `/ushosted` is likely to
|
||||
// save us loooots of questions.
|
||||
const replaceInFileSync = require('replace-in-file');
|
||||
import { replaceInFileSync } from 'replace-in-file';
|
||||
|
||||
console.log(replaceInFileSync);
|
||||
|
||||
const options = {
|
||||
files: 'docs/reference/api/**/*.api.mdx',
|
||||
@ -11,7 +11,7 @@
|
||||
"build": "yarn generate && yarn fetch-remote-content && docusaurus build",
|
||||
"swizzle": "docusaurus swizzle",
|
||||
"fetch-remote-content": "docusaurus download-remote-content-external && docusaurus download-remote-content-sdks",
|
||||
"generate": "docusaurus gen-api-docs all && node clean-generated-docs.js",
|
||||
"generate": "docusaurus gen-api-docs all && node clean-generated-docs.mjs",
|
||||
"deploy": "yarn generate && yarn fetch-remote-content && docusaurus deploy",
|
||||
"clear": "docusaurus clear",
|
||||
"serve": "docusaurus serve",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { getContributors } from './contributors';
|
||||
import styles from './contributors.module.scss';
|
||||
import styles from './contributors.module.css';
|
||||
|
||||
const unleashTeam = new Map([
|
||||
['alvinometric', 'developer advocate, Unleash'],
|
||||
|
||||
@ -8,18 +8,18 @@
|
||||
gap: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li{
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.unleash{
|
||||
.wrapper li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.unleash {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.unleash:before{
|
||||
.unleash:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
@ -33,18 +33,18 @@
|
||||
|
||||
.contributor {
|
||||
margin-top: 10px;
|
||||
|
||||
img{
|
||||
border-radius: 100%;
|
||||
margin:0;
|
||||
padding: 0;
|
||||
border: 2px solid var(--unleash-color-gray);
|
||||
transition: border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default),
|
||||
scale var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
||||
}
|
||||
}
|
||||
|
||||
.contributor img:hover{
|
||||
.contributor img {
|
||||
border-radius: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 2px solid var(--unleash-color-gray);
|
||||
transition: border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default),
|
||||
scale var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
||||
}
|
||||
|
||||
.contributor img:hover {
|
||||
border-color: var(--ifm-pagination-nav-color-hover);
|
||||
scale: 1.1;
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||
import React from 'react';
|
||||
import Footer from '@theme-original/DocItem/Footer';
|
||||
import { useDoc } from '@docusaurus/theme-common/internal';
|
||||
import { useDoc } from '@docusaurus/plugin-content-docs/client';
|
||||
import GitHubContributors from './GitHubContributors';
|
||||
import GitUrlParse from 'git-url-parse';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user