Compare commits
No commits in common. "67b26de41de96190e2fedb968a938be5dd1f789c" and "cf5c79fbed0d2a48bb178e0b79bdfe877abcc33b" have entirely different histories.
67b26de41d
...
cf5c79fbed
24 changed files with 2 additions and 9662 deletions
20
.gitignore
vendored
20
.gitignore
vendored
|
@ -1,20 +0,0 @@
|
|||
# Dependencies
|
||||
/node_modules
|
||||
|
||||
# Production
|
||||
/build
|
||||
|
||||
# Generated files
|
||||
.docusaurus
|
||||
.cache-loader
|
||||
|
||||
# Misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
42
README.md
42
README.md
|
@ -1,41 +1,3 @@
|
|||
# Site vitrine de Semalibre
|
||||
# vitrine
|
||||
|
||||
Ce site web est créé avec [Docusaurus](https://docusaurus.io/).
|
||||
|
||||
### Installation
|
||||
|
||||
```
|
||||
$ yarn
|
||||
```
|
||||
|
||||
### Local Development
|
||||
|
||||
```
|
||||
$ yarn start
|
||||
```
|
||||
|
||||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
||||
|
||||
### Build
|
||||
|
||||
```
|
||||
$ yarn build
|
||||
```
|
||||
|
||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||
|
||||
### Deployment
|
||||
|
||||
Using SSH:
|
||||
|
||||
```
|
||||
$ USE_SSH=true yarn deploy
|
||||
```
|
||||
|
||||
Not using SSH:
|
||||
|
||||
```
|
||||
$ GIT_USER=<Your GitHub username> yarn deploy
|
||||
```
|
||||
|
||||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
||||
Site vitrine de Semalibre
|
|
@ -1 +0,0 @@
|
|||
label: Faloj
|
|
@ -1 +0,0 @@
|
|||
# Mes projets
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
sidebar_position: 0
|
||||
---
|
||||
|
||||
# The team
|
|
@ -1 +0,0 @@
|
|||
label: Jms
|
|
@ -1 +0,0 @@
|
|||
# Mes projets
|
|
@ -1 +0,0 @@
|
|||
label: Louis Rannou
|
|
@ -1 +0,0 @@
|
|||
# Mes projets
|
|
@ -1 +0,0 @@
|
|||
label: Félix Piédallu
|
|
@ -1 +0,0 @@
|
|||
# Mes projets
|
|
@ -1 +0,0 @@
|
|||
label: Samantha Jalabert
|
|
@ -1 +0,0 @@
|
|||
# Mes projets
|
|
@ -1,144 +0,0 @@
|
|||
import {themes as prismThemes} from 'prism-react-renderer';
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
const config: Config = {
|
||||
title: 'Semalibre',
|
||||
tagline: 'Why not embed ?',
|
||||
favicon: 'img/favicon.png',
|
||||
|
||||
url: 'https://semalibre.com',
|
||||
baseUrl: '/',
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'throw',
|
||||
onBrokenAnchors: 'throw',
|
||||
onDuplicateRoutes: 'throw',
|
||||
|
||||
future: {
|
||||
experimental_faster: true,
|
||||
},
|
||||
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: [
|
||||
'en',
|
||||
// 'fr',
|
||||
],
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
{
|
||||
docs: {
|
||||
sidebarPath: './sidebars.ts',
|
||||
routeBasePath: '/',
|
||||
},
|
||||
blog: {
|
||||
showReadingTime: true,
|
||||
feedOptions: {
|
||||
type: ['rss', 'atom'],
|
||||
xslt: true,
|
||||
},
|
||||
|
||||
// Useful options to enforce blogging best practices
|
||||
onInlineTags: 'warn',
|
||||
onInlineAuthors: 'warn',
|
||||
onUntruncatedBlogPosts: 'warn',
|
||||
},
|
||||
theme: {
|
||||
customCss: './src/css/custom.css',
|
||||
},
|
||||
} satisfies Preset.Options,
|
||||
],
|
||||
],
|
||||
|
||||
themeConfig: {
|
||||
// Replace with your project's social card
|
||||
image: 'img/docusaurus-social-card.jpg', // TODO:
|
||||
colorMode: {
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
announcementBar: {
|
||||
id: 'beta-docusaurus',
|
||||
content: '🛠️ This site is in beta, please report any issues!',
|
||||
backgroundColor: 'darkOrange'
|
||||
},
|
||||
navbar: {
|
||||
title: 'Semalibre',
|
||||
logo: {
|
||||
alt: 'Semalibre Logo',
|
||||
src: 'img/logo.svg',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'teamSidebar',
|
||||
position: 'left',
|
||||
label: 'The team',
|
||||
},
|
||||
{to: '/blog', label: 'Blog', position: 'left'},
|
||||
{
|
||||
href: 'https://git.semalibre.com/semalibre/vitrine',
|
||||
label: 'Source',
|
||||
position: 'right',
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
style: 'dark',
|
||||
links: [
|
||||
{
|
||||
title: 'Contact',
|
||||
items: [
|
||||
{
|
||||
label: 'Email',
|
||||
href: 'mailto:contact@semalibre.com',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Infos',
|
||||
items: [
|
||||
{
|
||||
label: 'Git - Forgejo',
|
||||
href: 'https://git.semalibre.com/Semalibre',
|
||||
},
|
||||
{
|
||||
label: 'Mentions légales',
|
||||
href: '/mentions-legales',
|
||||
},
|
||||
{
|
||||
label: 'Pappers',
|
||||
href: 'https://www.pappers.fr/entreprise/syslinbit-897717005',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
copyright: `Copyleft ${new Date().getFullYear()} Syslinbit. Built with Docusaurus.`,
|
||||
},
|
||||
prism: {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
additionalLanguages: [
|
||||
'bash',
|
||||
'c',
|
||||
'css',
|
||||
'markup-templating',
|
||||
'django',
|
||||
'lua',
|
||||
'nginx',
|
||||
'php',
|
||||
'ruby',
|
||||
'shell-session',
|
||||
'toml',
|
||||
'yaml'
|
||||
],
|
||||
},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
};
|
||||
|
||||
export default config;
|
48
package.json
48
package.json
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
"name": "vitrine",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
"start": "docusaurus start",
|
||||
"build": "docusaurus build",
|
||||
"swizzle": "docusaurus swizzle",
|
||||
"deploy": "docusaurus deploy",
|
||||
"clear": "docusaurus clear",
|
||||
"serve": "docusaurus serve",
|
||||
"write-translations": "docusaurus write-translations",
|
||||
"write-heading-ids": "docusaurus write-heading-ids",
|
||||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.7.0",
|
||||
"@docusaurus/faster": "^3.7.0",
|
||||
"@docusaurus/preset-classic": "3.7.0",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "3.7.0",
|
||||
"@docusaurus/tsconfig": "3.7.0",
|
||||
"@docusaurus/types": "3.7.0",
|
||||
"typescript": "~5.6.2"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.5%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 3 chrome version",
|
||||
"last 3 firefox version",
|
||||
"last 5 safari version"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0"
|
||||
}
|
||||
}
|
33
sidebars.ts
33
sidebars.ts
|
@ -1,33 +0,0 @@
|
|||
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
/**
|
||||
* Creating a sidebar enables you to:
|
||||
- create an ordered group of docs
|
||||
- render a sidebar for each doc of that group
|
||||
- provide next/previous navigation
|
||||
|
||||
The sidebars can be generated from the filesystem, or explicitly defined here.
|
||||
|
||||
Create as many sidebars as you want.
|
||||
*/
|
||||
const sidebars: SidebarsConfig = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
teamSidebar: [{type: 'autogenerated', dirName: 'team'}],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
'intro',
|
||||
'hello',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['tutorial-basics/create-a-document'],
|
||||
},
|
||||
],
|
||||
*/
|
||||
};
|
||||
|
||||
export default sidebars;
|
|
@ -1,12 +0,0 @@
|
|||
import React, {type ReactNode} from 'react';
|
||||
import {useDoc} from '@docusaurus/plugin-content-docs/client';
|
||||
import DocPaginator from '@theme/DocPaginator';
|
||||
|
||||
/**
|
||||
* This extra component is needed, because <DocPaginator> should remain generic.
|
||||
* DocPaginator is used in non-docs contexts too: generated-index pages...
|
||||
*/
|
||||
export default function DocItemPaginator(): ReactNode {
|
||||
const {metadata} = useDoc();
|
||||
return null;
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
// This file is not used in compilation. It is here just for a nice editor experience.
|
||||
"extends": "@docusaurus/tsconfig",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
},
|
||||
"exclude": [".docusaurus", "build"]
|
||||
}
|
Loading…
Reference in a new issue