style: formatted code

This commit is contained in:
Arthur Fiorette 2023-09-30 15:44:45 -03:00
parent 286b2c0296
commit fe8307089a
No known key found for this signature in database
GPG Key ID: 79FA8EC214FA0233
3 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,9 @@
import {readFileSync} from 'fs';
import { readFileSync } from 'fs';
import { resolve } from 'path';
import { defineConfig } from 'vitepress';
import {resolve} from 'path'
const read = (relative) => readFileSync(resolve(process.cwd(), 'docs', '.vitepress', relative), 'utf-8');
const read = (relative) =>
readFileSync(resolve(process.cwd(), 'docs', '.vitepress', relative), 'utf-8');
const isVersion = process.argv.indexOf('--base');
const VERSION = isVersion > -1 ? process.argv[isVersion + 1].slice(1, -1) : 'Latest';

View File

@ -1,8 +1,8 @@
:root {
--vp-c-brand-1: hsl(35, 78%, 53%);
--vp-button-brand-bg: hsl(35, 78%, 53%);
--vp-button-brand-active-bg: hsla(35, 78%, 53%, 36.5%);
--vp-button-brand-active-bg: hsla(35, 78%, 53%, 36.5%);
--vp-button-brand-hover-bg: hsl(35, 78%, 53%);
--vp-c-brand-light: hsla(35, 78%, 53%, 36.5%);

View File

@ -50,8 +50,8 @@ any possible differences between them and share the same cache for both.
If the default generator is not enough for your use case, you can provide your own custom
generator with the `generateKey` option.
By default, it extracts `method`, `baseURL`, `query`, `params`, `data` and `url` properties from
the request object and hashes it into a number with
By default, it extracts `method`, `baseURL`, `query`, `params`, `data` and `url`
properties from the request object and hashes it into a number with
[`object-code`](https://www.npmjs.com/package/object-code).
Here's an example of a generator that only uses the `url` and `method` and `custom`