Skip to content

Commit

Permalink
Improve repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaitanLyss committed Aug 7, 2024
1 parent 088e1ba commit 3152a76
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 17 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ All commands are run from the root of the project, from a terminal:
## 👀 Want to learn more?

Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).

## TODO
- Improve lightning css configuration
5 changes: 5 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ export default defineConfig({
}
}),
],
vite: {
css: {
transformer: 'lightningcss'
}
},
server: {
port: 4444,
host: true
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.2",
"@astrojs/starlight": "^0.25.4",
"astro": "^4.10.2",
"lightningcss": "^1.26.0",
"sharp": "^0.32.5",
"@astrojs/check": "^0.9.2",
"typescript": "^5.5.4"
},
"devDependencies": {
Expand Down
48 changes: 38 additions & 10 deletions src/components/starlight/Head.astro
Original file line number Diff line number Diff line change
@@ -1,23 +1,51 @@
---
import type { Props } from '@astrojs/starlight/props';
import StarlightHead from '@astrojs/starlight/components/Head.astro';
import VtbotStarlight from 'astro-vtbot/components/starlight/Base.astro';
import LoadingIndicator from 'astro-vtbot/components/LoadingIndicator.astro';
import ProgressBar from 'astro-vtbot/components/ProgressBar.astro';
import type { Props } from "@astrojs/starlight/props";
import StarlightHead from "@astrojs/starlight/components/Head.astro";
import VtbotStarlight from "astro-vtbot/components/starlight/Base.astro";
import LoadingIndicator from "astro-vtbot/components/LoadingIndicator.astro";
import ProgressBar from "astro-vtbot/components/ProgressBar.astro";
---

<VtbotStarlight {...Astro.props}>
<StarlightHead {...Astro.props}><slot /></StarlightHead>
<StarlightHead {...Astro.props}><slot /></StarlightHead>
</VtbotStarlight>
<LoadingIndicator />
<ProgressBar />

<!-- <style is:global>
html.loading {
<style is:global lang="scss">
h1,
h2,
h3,
h4,
h5,
h6 {
img {
transition: all 0.2s;
border-radius: 100%;
margin-left: 0.25rem;
width: 1.6rem;
display: inline-block !important;
transform: translateY(0rem);
}
}

html[data-theme="dark"] {
h1,
h2,
h3,
h4,
h5,
h6 {
img {
filter: invert(1);
}
}
}
/* html.loading {
cursor: pointer;
user-select: none;
}
html.loading * {
pointer-events: none;
}
</style> -->
} */
</style>
13 changes: 13 additions & 0 deletions src/content/docs/developper/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Introduction Developper
description: Introduction for developpers
sidebar:
order: 0
---

Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
Writing a good guide requires thinking about what your users are trying to do.

## Further reading

- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework
26 changes: 20 additions & 6 deletions src/content/docs/developper/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,30 @@ Each component deals only with a specific aspect of the project, and the depende
All components are hosted on _GitHub_ in the [Selenite organization](https://github.com/orgs/Selenite-GEOS).
### Commons [![repo](@assets/github.svg)](https://github.com/Selenite-GEOS/commons)
Commons contains the core classes and interfaces.
### [Graph Editor](https://github.com/Selenite-GEOS/graph-editor)
### Graph Editor [![repo](@assets/github.svg)](https://github.com/Selenite-GEOS/graph-editor)
#### Dependencies
- [Commons](#commons)
### [Backend](https://github.com/Selenite-GEOS/backend)
### [Simplified Interface]()
### Backend [![repo](@assets/github.svg)](https://github.com/Selenite-GEOS/backend)
### Simplified Interface [![repo](@assets/github.svg)]()
#### Dependencies
- [Commons](#commons)
- [Graph Editor](#graph-editor)
### [Advanced Interface](https://github.com/Selenite-GEOS/advanced-interface)
The advanced interface is a web based appplication
- [Astro](https://astro.build/)
- [Svelte 5](https://svelte-5-preview.vercel.app/docs/introduction)
### Advanced Interface [![repo](@assets/github.svg)](https://github.com/Selenite-GEOS/advanced-interface)
The advanced interface is a web based appplication, which can also be installed as a desktop application.
#### Dependencies
- [Commons](#commons)
- [Graph Editor](#graph-editor)
- [Graph Editor](#graph-editor)
- [Svelte 5](https://svelte-5-preview.vercel.app/docs/introduction)
- [SvelteKit](https://kit.svelte.dev)
- [Tauri](https://v2.tauri.app)

### Docs [![repo](@assets/github.svg)](https://github.com/Selenite-GEOS/docs)
The documentation you are currently reading!

It is based on [Starlight](https://starlight.astro.build), a documentation template built with [Astro](https://astro.build/), a static site generator that builds faster websites with less client-side JavaScript.


#### Dependencies
- [Astro](https://astro.build/)

0 comments on commit 3152a76

Please sign in to comment.