Skip to content

Commit

Permalink
Fix lint issues in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed May 23, 2024
1 parent 647c693 commit 59ebb5e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 13 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm-lock.yaml
docs/.docusaurus
2 changes: 2 additions & 0 deletions docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
2 changes: 1 addition & 1 deletion docs/docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 2
---

# Getting Started
Expand Down
7 changes: 0 additions & 7 deletions docs/docs/installation.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/tutorial/_category_.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Tutorial",
"position": 4,
"position": 3,
"link": {
"type": "generated-index",
"description": "Tutorial for using Puffer SDK."
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config, PluginConfig } from '@docusaurus/types';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
Expand Down
4 changes: 2 additions & 2 deletions docs/sidebars.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';

/**
* Creating a sidebar enables you to:
Expand All @@ -12,7 +12,7 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],

// But you can create a sidebar manually
/*
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default [
...tseslint.configs.recommended,
eslintPluginPrettierRecommended,
{
ignores: ['dist/'],
ignores: ['dist/', 'docs/.docusaurus'],
},
{
rules: {
Expand Down

0 comments on commit 59ebb5e

Please sign in to comment.