Skip to content

Commit

Permalink
feat: htmlTag config
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Jan 20, 2025
1 parent 1c1a4c1 commit c78e29e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 17 deletions.
17 changes: 16 additions & 1 deletion docs/concept.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,22 @@ Bow est un framework PHP, écrit par **[Franck DAKIA](http://github.com/papac)**

L'objectif est de permettre aux débutants qui souhaitent travailler sur un plus large projet et comprendre le fonctionnement du **développement collaboratif** de s'y mettre avec aisance et faire de ce framework une référence dans la communauté PHP.

**Faites-vous une idée en commençant par la [documentation](https://bowphp.com).**
```mermaid
graph TD
A[Requête HTTP] -->|Entrée utilisateur| B[Routeur]
B -->|Associe une route| C[Contrôleur]
C -->|Appelle la logique métier| D[Modèle]
D -->|Interaction| E[(Base de données)]
C -->|Retourne des données| F[Vue]
F -->|Génère la réponse HTML| G[Réponse HTTP]
subgraph Framework BowPHP
B
C
D
F
end
```

## Contributing

Expand Down
8 changes: 0 additions & 8 deletions docs/what-is-new.mdx

This file was deleted.

32 changes: 25 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ module.exports = {
image: "/img/papacandco.png",
infoLink: "mailto:[email protected]",
},
// {
// caption: "Gelsen Dev",
// description: "La communauté des développeurs sénégalais.",
// image: "https://www.galsen.dev/_nuxt/img/galsen-dev.11b417e.webp",
// infoLink: "https://www.galsen.dev/",
// },
],
fans: [
{
Expand Down Expand Up @@ -254,6 +248,9 @@ module.exports = {
content:
"php, bowphp, bow framework, tintin, routing, i18n, request, http",
},
{
name: 'twitter:card', content: 'summary_large_image'
},
],
navbar: {
hideOnScroll: true,
Expand Down Expand Up @@ -379,7 +376,6 @@ module.exports = {
},
mermaid: {
theme: {
light: "neutral",
dark: "forest",
},
},
Expand All @@ -389,4 +385,26 @@ module.exports = {
},
},
themes: ["@docusaurus/theme-mermaid"],
headTags: [
{
tagName: 'link',
attributes: {
rel: 'preconnect',
href: 'https://bowphp.com',
},
},
{
tagName: 'script',
attributes: {
type: 'application/ld+json',
},
innerHTML: JSON.stringify({
'@context': 'https://schema.org/',
'@type': 'Organization',
name: 'Bow Framework',
url: 'https://bowphp.com',
logo: 'https://bowphp.com/img/bow.png',
}),
},
],
};
2 changes: 1 addition & 1 deletion sidebars.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"docs": {
"Démarrage": [
"what-is-new",
"concept",
"installation",
"configuration",
"structure",
Expand Down

0 comments on commit c78e29e

Please sign in to comment.