diff --git a/assets/scss/common/_custom.scss b/assets/scss/common/_custom.scss index 11421e4616c82239f5d1a3e4f2c060d5d0b6b861..71a329fdc7176bbe8d262650d487108d0b969a53 100644 --- a/assets/scss/common/_custom.scss +++ b/assets/scss/common/_custom.scss @@ -79,6 +79,9 @@ a{ color: $tetra-green; } +//image sizing + img.lazyautosizes{ - width: 100px; + width: 200px; + object-fit: contain; } diff --git a/content/docs/Ceci est un item de menu/example.md b/content/docs/Ceci est un item de menu/content.md similarity index 100% rename from content/docs/Ceci est un item de menu/example.md rename to content/docs/Ceci est un item de menu/content.md diff --git a/content/docs/reference/example.md b/content/docs/Set up/SetUp.md similarity index 67% rename from content/docs/reference/example.md rename to content/docs/Set up/SetUp.md index e90e2691475f955840fb01351dc811f9db6d66c6..b78fb37fd282da45350547a733c54585ef610379 100644 --- a/content/docs/reference/example.md +++ b/content/docs/Set up/SetUp.md @@ -17,12 +17,14 @@ seo: canonical: "" # custom canonical URL (optional) noindex: false # false (default) or true --- - This Documentation will guide you to setting up this template. ## Create Menu Item into Doc +### Main Menu Item + +If you want to create new main menu Item as presented bellow follow those steps : - + - Create a folder into `content/docs/` - Create as many subfolder into `content/docs/NewMenuItem/` as you need @@ -66,6 +68,12 @@ canonical: "" # custom canonical URL (optional) noindex: false # false (default) or true --- ``` +- `title` will handle the name of the main menu on the left of this doc page. + +- `weight` will handle the order of the collapsable menu on the left of this doc page. + +You can find more information there : +[Hugo CMS web site : _index.md section](https://gohugo.io/content-management/organization/#index-pages-_indexmd) ### content.md @@ -98,8 +106,17 @@ Your awesome content there Oh what an awesome content ! ```` -Every Title in you markdown create an anchor link on the right of the doc part of the site. This is usefull to structure you text and for the user's navigation. +- `tile` will handle the name of the submenu on the left of this doc page : + + + + +- `weight` will handle the order of the submenu + +- Every part of you markdown content with at least two '#' will be concider as a title of type `<H2>` and create an anchor link on the right of this doc like this : + + - +This is useful to structure you text and easier for the user's navigation. -<img src="./test-capture-ecran.png" alt='toto' width="200px"> +You can find more information there : [Doks Markdown Cheat Sheet](https://getdoks.org/docs/reference/markdown-basic-syntax/) diff --git a/content/docs/reference/_index.md b/content/docs/Set up/_index.md similarity index 85% rename from content/docs/reference/_index.md rename to content/docs/Set up/_index.md index 19c4e781ed61738ab0e70ac87af1f4adf204e4de..f5e1e7fe228fd3e29d951818adf8a38124db9b6e 100644 --- a/content/docs/reference/_index.md +++ b/content/docs/Set up/_index.md @@ -8,7 +8,7 @@ draft: false menu: docs: parent: "" - identifier: "reference-22e9ba8aefa7ef9891199cf8db3a08cd" + identifier: "Set up-22e9ba8aefa7ef9891199cf8db3a08cd" weight: 700 toc: true seo: diff --git a/content/docs/Set up/img.png b/content/docs/Set up/img.png new file mode 100644 index 0000000000000000000000000000000000000000..35cfcbe9ef97916d72d928b0a808029e2f655a50 Binary files /dev/null and b/content/docs/Set up/img.png differ diff --git a/content/docs/Set up/img_1.png b/content/docs/Set up/img_1.png new file mode 100644 index 0000000000000000000000000000000000000000..885a67f7f4d23c9d31def11cb02c626ebff5bf5a Binary files /dev/null and b/content/docs/Set up/img_1.png differ diff --git a/content/docs/Set up/img_2.png b/content/docs/Set up/img_2.png new file mode 100644 index 0000000000000000000000000000000000000000..a6048274fd8b32a24d943ce29161a16f3f2acd3f Binary files /dev/null and b/content/docs/Set up/img_2.png differ diff --git a/content/docs/Set up/secondcontent.md b/content/docs/Set up/secondcontent.md new file mode 100644 index 0000000000000000000000000000000000000000..eb547843f0b206c259ebbe84b02224dabc9b7f83 --- /dev/null +++ b/content/docs/Set up/secondcontent.md @@ -0,0 +1,29 @@ +--- +title: "Second content" +description: "How to set up this Tetras Documentation Template." +summary: "" +date: 2023-09-07T16:13:18+02:00 +lastmod: 2023-09-07T16:13:18+02:00 +draft: false +menu: + docs: + parent: "" + identifier: "example-ee51430687e728ba6e68dea3359133ad" +weight: 920 +toc: true +seo: + title: "" # custom title (optional) + description: "" # custom description (recommended) + canonical: "" # custom canonical URL (optional) + noindex: false # false (default) or true +--- + +ohlala totot + +## oh bawi + +sdsds + +## lorel ipsum + +toto diff --git a/content/docs/guides/_index.md b/content/docs/guides/_index.md index 619402fd2f33b7b85b6876c3e5926f87ba968dde..2c6e8cf01b7463078f83b248e91324582ca2c4fc 100644 --- a/content/docs/guides/_index.md +++ b/content/docs/guides/_index.md @@ -17,3 +17,4 @@ seo: canonical: "" # custom canonical URL (optional) noindex: false # false (default) or true --- + diff --git a/content/docs/reference/img.png b/content/docs/reference/img.png deleted file mode 100644 index 31dc176c37fa95a926426999b82f142de22c4aa1..0000000000000000000000000000000000000000 Binary files a/content/docs/reference/img.png and /dev/null differ diff --git a/content/docs/reference/img_1.png b/content/docs/reference/img_1.png deleted file mode 100644 index ea17cc9943f9003de87239350fb87c3f31d46774..0000000000000000000000000000000000000000 Binary files a/content/docs/reference/img_1.png and /dev/null differ diff --git a/hugo_stats.json b/hugo_stats.json index d9aefd1c86adc4c92a4315b3b78366f4dc7a5558..bd1a2c364ca59d36b297ce96513ed00de5a83d92 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -170,6 +170,7 @@ "mt-n3", "mx-2", "mx-auto", + "mx-xl-auto", "my-3", "nav", "nav-item", @@ -242,20 +243,21 @@ "TableOfContents", "buttonColorMode", "contentmd", - "create-menu-item", "create-menu-item-into-doc", "doks-docs-nav", - "first", - "first-step", "further-reading", "h-rh-i-0", "h-rh-i-1", + "h-rh-i-2", "indexmd", - "noindex-false--false-default-or-true", + "lorel-ipsum", + "main-menu-item", + "my-second-big-title", "offcanvasNavMain", "offcanvasNavMainLabel", "offcanvasNavSection", "offcanvasNavSectionLabel", + "oh-bawi", "query", "search-form", "searchModal", @@ -265,8 +267,9 @@ "searchToggleMobile", "section-0cbc6611f5540bd0809a388dc95a615b", "section-45389ee90014e0938cb09409b9a8794d", - "section-63d5049791d9d79d86e9a108b0a999ca", "section-b191593bc602ff910417b3f85bb496ca", + "section-f71dbe52628a3f83a77ab494817525c6", + "set-up", "socialMenu", "sous-titre-test", "titre-test", diff --git a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content index adf013bdf7cfbf243c1757423b71bb3ac7269f2d..77ca5cd7530782d243091ef377fa3ce9a3079ac6 100644 --- a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content +++ b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content @@ -13659,6 +13659,7 @@ body { color: #5a8264; } img.lazyautosizes { - width: 100px; } + width: 200px; + object-fit: contain; } /*# sourceMappingURL=main.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json index 8d176b80cf25d370d9d76ddc0e541a8f50efdb4b..92e295cb485d1f3cf9cd4ee55dbe9815a296ca2b 100644 --- a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json +++ b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json @@ -1 +1 @@ -{"Target":"main.8dc014666d552fcf56f654682996393698fbf1e2979c4942fbed2593b66e47b14e6df8e73d8860e0ff1b465ec04fc57d0817ef8f3540dc8e2db4c20d141b044a.css","MediaType":"text/css","Data":{"Integrity":"sha512-jcAUZm1VL89W9lRoKZY5Npj78eKXnElC++0lk7ZuR7FObfjnPYhg4P8bRl7AT8V9CBfvjzVA3I4ttMINFBsESg=="}} \ No newline at end of file +{"Target":"main.b94e19f9be222a7252272ee9a3c17d39f056d169030d4327c2dc366d267fed55bff427e5f41ed7cc56dcf7b0ae33ee6c3d1ecc6be878ed1995a6d9d9b0c42dbf.css","MediaType":"text/css","Data":{"Integrity":"sha512-uU4Z+b4iKnJSJy7po8F9OfBW0WkDDUMnwtw2bSZ/7VW/9Cfl9B7XzFbc97CuM+5sPR7Ma+h47RmVptnZsMQtvw=="}} \ No newline at end of file