Skip to content
Snippets Groups Projects
Commit fd5b5a0d authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

feat: add mermaid and custom gitflow

parent b47da96f
No related branches found
No related tags found
1 merge request!63feat: add mermaid and custom gitflow
......@@ -63,4 +63,35 @@ By respecting conventional, you ensure that :
## Gitflow Scheme
![Gitflow](/img/gitflow.png)
```mermaid
%%{init: { 'theme': 'base', 'themeVariables': { 'tagLabelFontSize': '16px' } }}%%
---
title: Gitflow for Ecolyo
---
gitGraph
commit id: "release 1.1.0" tag: "v1.1.0"
branch dev
checkout dev
commit id: "previous commits"
branch feat-conso
commit id: "feat(conso): add compare data" type: HIGHLIGHT
checkout dev
commit id: "feat(analysis): something"
checkout feat-conso
merge dev
commit id: "Merge dev into feat-conso"
checkout dev
merge feat-conso
branch fix-conso
checkout fix-conso
commit
commit id: "fix(conso): update colors"
checkout dev
commit id: "📚 doc - project description"
merge fix-conso
commit id: "release 1.2.0" tag: "v1.2.0"
checkout main
merge dev
```
......@@ -31,6 +31,10 @@ const config: Config = {
defaultLocale: 'en',
locales: ['en'],
},
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
plugins: [require.resolve('docusaurus-lunr-search')],
presets: [
[
......@@ -154,6 +158,10 @@ const config: Config = {
label: '🦖 Docusaurus guide',
to: 'https://docusaurus.io/docs/category/guides',
},
{
label: 'Mermaid live editor',
to: 'https://mermaid.live/edit#pako:eNp9UkFu2zAQ_MqCgKEUsII6hx50buIUSE4petJlTa6lbSlSICnXrqFX9NZLv9gnlJQUR1WKHASIszszu4s5C2kViUKsVmc2HAo4QxZqaigrINuhp2w9AV_QMe40-WxswuoBd6TvrAlP_GPo33xojxn00PerVWnyPC9N4KCpgC2HvbbfYW8d3EqrT3aqVxy2Dtu6NNI2DQdgVUApHGmK5rC53ly_LwVEtwQfpndpdg6NrEHRITJrkt9sF6bXXKd1dGDbeRhRP6PuCUMurfF2wUmFq6HwrgBUKnFbdAQKA6ZZTm3c6P7T9v4hfp_f9B-00KA-efZRztuGQs2mSoNcePNRGnIV_Ufp8RkHNsHOKWI5wSgxF31Zmo-XnS_uM2xwXO7Ax8s5ujYegeJFtHX-tfM_vD-_f_4CZSXk0Dr7lWRq8tJxG9iaRJ4GXfq_ysDNIgM3YwZm7g2ymd1OrEX8j6CK0T6XBiJvCHEpkoSiPXY6JI0-tmIX7NPJSFEE19FajEt-ZKwcNiPY_wUrVh19',
},
{
label: 'Contact us',
href: 'mailto:snudev@grandlyon.com',
......
static/img/gitflow.png

62.8 KiB

This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment