Skip to content

Commit 81fedfa

Browse files
authored
Merge pull request #233 from cnumr/cms
Huge update
2 parents 73a10dc + de4a0ae commit 81fedfa

File tree

250 files changed

+26989
-1641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+26989
-1641
lines changed

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Used by NextAuth.js to encrypt JWT
2+
# openssl rand -hex 16
3+
NEXTAUTH_SECRET=
4+
TINA_PUBLIC_IS_LOCAL=true
5+
6+
# OR `RWEB` or `RWP` or `REF_HOME`
7+
TINA_PUBLIC_REF_NAME=
8+
NEXT_PUBLIC_REF_NAME=
9+
NEXT_PUBLIC_REPO_URL=
10+
11+
# For locally buiding
12+
# run `docker:up`
13+
MONGODB_URI="mongodb://root:password@localhost:27017/?authSource=admin"
14+
15+
# Github credentials for onPut and onDelete
16+
GITHUB_PERSONAL_ACCESS_TOKEN=
17+
18+
# Required when building locally
19+
GITHUB_OWNER=
20+
GITHUB_REPO=
21+
GITHUB_BRANCH=

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "next/core-web-vitals",
3+
"rules": {
4+
"react-hooks/rules-of-hooks": "warn",
5+
},
6+
}

.github/ISSUE_TEMPLATE/ajout.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Ajout
3+
about: Ajout d'une bonne pratique
4+
title: "[NEW] "
5+
labels: ajout
6+
assignees: ''
7+
8+
---
9+
10+
Discussion: [lien de discussion]
11+
12+
Tâches:
13+
14+
- [ ] Créer le fichier BP_4xxx_fr.md
15+
- [ ] Ecrire le titre
16+
- [ ] Ecrire la description
17+
- [ ] Définir la règle de validation avec son seuil de conformité
18+
- [ ] Définir la difficulté de mise en oeuvre (sur 5, 5 = facile, 1 = difficile)
19+
- [ ] Définir le niveau d'impact écologique (sur 5, 5 = fort, 1 = faible)
20+
- [ ] Calculer le degré de priorité (sur 5, 5 = prioritaire, 1 = non prioritaire) via la formule ARRONDI.SUP(((MEO*IMPACT)/25)*5;0)
21+
22+
Les éléments suivants sont facultatifs:
23+
24+
- [ ] Ajout d'exemples
25+
- [ ] Ajout d'une solution alternative
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Modification
3+
about: Modification d'une bonne pratique
4+
title: 'Modification BP #'
5+
labels: modification
6+
assignees: ''
7+
8+
---
9+
10+
Discussion: [lien de discussion]
11+
12+
Tâches:
13+
14+
- [ ] Modifier le fichier BP_xxx_fr.md
15+
- [ ] Modifier le titre
16+
- [ ] Modifier la description
17+
- [ ] Modifier la règle de validation avec son seuil de conformité
18+
- [ ] Redéfinir la difficulté de mise en oeuvre (sur 5, 5 = facile, 1 = difficile)
19+
- [ ] Redéfinir le niveau d'impact écologique (sur 5, 5 = fort, 1 = faible)
20+
- [ ] Calculer le degré de priorité (sur 5, 5 = prioritaire, 1 = non prioritaire) via la formule ARRONDI.SUP(((MEO*IMPACT)/25)*5;0)
21+
22+
Les éléments suivants sont facultatifs:
23+
24+
- [ ] Ajout d'exemples
25+
- [ ] Ajout d'une solution alternative
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Suppression
3+
about: Suppression d'une bonne pratique
4+
title: 'Suppression BP #'
5+
labels: suppression
6+
assignees: ''
7+
8+
---
9+
10+
Discussion: [lien de discussion]
11+
12+
Tâches:
13+
14+
- [ ] Supprimer la BP_xxx_fr.md

.github/workflows/checkFrontmatter.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/pages.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Retype powered website to GitHub Pages
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish:
10+
name: Publish to retype branch
11+
12+
runs-on: ubuntu-latest
13+
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 7.0.x
23+
24+
- uses: retypeapp/action-build@latest
25+
with:
26+
config_path: ./docs/retype.yml
27+
28+
- uses: retypeapp/action-github-pages@latest
29+
with:
30+
update-branch: true

.github/workflows/to-netlify.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)