Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomano committed Dec 12, 2024
1 parent 1407354 commit 5b535fc
Show file tree
Hide file tree
Showing 65 changed files with 2,824 additions and 2,610 deletions.
3 changes: 0 additions & 3 deletions docs/.editorconfig

This file was deleted.

21 changes: 21 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
56 changes: 56 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightLinksValidator from 'starlight-links-validator'

// https://astro.build/config
export default defineConfig({
site: 'https://dragomano.github.io/Optimus',
base: '/Optimus/',
integrations: [
starlight({
plugins: [starlightLinksValidator({errorOnRelativeLinks: false})],
customCss: [
'./src/styles/custom.css',
],
title: 'Optimus Docs',
description: 'Guide to Setting Up and Using Optimus',
defaultLocale: 'root',
locales: {
root: {
label: 'English',
lang: 'en',
},
ru: {
label: 'Русский',
lanag: 'ru',
}
},
social: {
github: 'https://github.com/dragomano/Optimus',
},
sidebar: [
{
label: 'Greetings',
translations: {
'ru': 'Приветствие',
},
link: '/',
},
{
label: 'Settings',
translations: {
'ru': 'Настройки',
},
autogenerate: { directory: 'settings' },
},
{
label: 'Addons',
translations: {
'ru': 'Аддоны',
},
autogenerate: { directory: 'addons' },
},
],
}),
],
});
8 changes: 0 additions & 8 deletions docs/middleware.js

This file was deleted.

5 changes: 0 additions & 5 deletions docs/next-env.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions docs/next.config.mjs

This file was deleted.

25 changes: 13 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"name": "optimus-docs",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"next": "^15.0.4",
"nextra": "^3.2.5",
"nextra-theme-docs": "^3.2.5",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "22.10.1"
"@astrojs/starlight": "^0.29.3",
"astro": "^4.16.17",
"sharp": "^0.33.5",
"starlight-links-validator": "^0.13.4"
}
}
}
28 changes: 0 additions & 28 deletions docs/pages/404.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions docs/pages/_app.jsx

This file was deleted.

10 changes: 0 additions & 10 deletions docs/pages/en/_meta.js

This file was deleted.

6 changes: 0 additions & 6 deletions docs/pages/en/addons/_meta.js

This file was deleted.

14 changes: 0 additions & 14 deletions docs/pages/en/addons/hooks.mdx

This file was deleted.

20 changes: 0 additions & 20 deletions docs/pages/en/addons/index.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions docs/pages/en/settings/_meta.js

This file was deleted.

93 changes: 0 additions & 93 deletions docs/pages/en/settings/basic.mdx

This file was deleted.

31 changes: 0 additions & 31 deletions docs/pages/en/settings/counters.mdx

This file was deleted.

Loading

0 comments on commit 5b535fc

Please sign in to comment.