Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jan 31, 2024
0 parents commit 6b792fa
Show file tree
Hide file tree
Showing 254 changed files with 10,942 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true,
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"tamasfe.even-better-toml",
"rusnasonov.vscode-hugo",
"yzhang.markdown-all-in-one",
"DavidAnson.vscode-markdownlint",
"be5invis.toml",
"budparr.language-hugo-vscode"
]
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
public/
exampleSite/public
.hugo_build.lock
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"revision.maxTokens": 2000,
"revision.openAIApiKey": "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"
}
12 changes: 12 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "hugo",
"task": "server",
"group": "build",
"problemMatcher": [],
"label": "hugo: Serve site"
}
]
}
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
13 changes: 13 additions & 0 deletions content/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
+++
title = ""
date = 2024-01-31T08:43:16Z
weight = 5
chapter = true
pre = "<b>X. </b>"
+++

### Welcome to Calaos Documentation

# Some Chapter title

The documentation covers all the topics around the installation, setup, configuration, and usage of Calaos.
13 changes: 13 additions & 0 deletions content/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
+++
title = ""
date = 2024-01-31T08:43:17Z
weight = 5
chapter = true
pre = "<b>X. </b>"
+++

### Bienvenue dans la documentation de Calaos

# Some Chapter title

La documentation couvre tous les sujets concernant l'installation, la configuration et l'utilisation de Calaos.
12 changes: 12 additions & 0 deletions content/basics/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "Getting Started"
date = 2024-01-31T08:05:03Z
weight = 5
chapter = true
+++

### Getting Started with Calaos

# Some Chapter title

Lorem Ipsum.
12 changes: 12 additions & 0 deletions content/basics/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "Démarrage"
date = 2024-01-31T08:05:03Z
weight = 5
chapter = true
+++

### Débuter avec Calaos

# Comment faire ca blablabla

Lorem Ipsum.
69 changes: 69 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
baseURL = 'https://doc.calaos.fr'
title = 'Calaos Documentation'

theme = "hugo-theme-learn"
metaDataFormat = "yaml"

# English is the default language
defaultContentLanguage = "en"
languageCode = 'en-us'

# Force to have /en/my-page and /fr/my-page routes, even for default language.
defaultContentLanguageInSubdir= true

[params]
editURL = "https://github.com/calaos/doc-website/"
description = "Documentation for Calaos"
author = "Calaos Team"
showVisitedLinks = true
disableBreadcrumb = false
disableNextPrev = true
disableLandingPageButton = false
disableMermaid = false
customMermaidURL = "https://unpkg.com/[email protected]/dist/mermaid.min.js"
titleSeparator = "::"
themeVariant = "calaos"

# For search functionality
[outputs]
home = [ "HTML", "RSS", "JSON"]

[Languages]

## English

[Languages.en]
title = "Calaos Documentation"
weight = 1
languageName = "English"

[[Languages.en.menu.shortcuts]]
name = "<i class='fa-arrow-up-right-from-square'></i> Calaos Website"
identifier = "site"
url = "https://calaos.fr/en/"
weight = 10

[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-github'></i> Github repo"
identifier = "ds"
url = "https://github.com/calaos/"
weight = 20

## French

[Languages.fr]
title = "Documentation Calaos"
weight = 1
languageName = "Français"

[[Languages.fr.menu.shortcuts]]
name = "<i class='fa-arrow-up-right-from-square'></i> Site Calaos"
identifier = "site"
url = "https://calaos.fr/fr/"
weight = 10

[[Languages.fr.menu.shortcuts]]
name = "<i class='fab fa-github'></i> Dépot Github"
identifier = "ds"
url = "https://github.com/calaos/"
weight = 20
3 changes: 3 additions & 0 deletions layouts/partials/logo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a id="logo" href='{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") }}'>
<img src='{{ "/images/logo_header.png" | relURL }}' alt="{{ .Site.Title }}" />
</a>
Empty file.
128 changes: 128 additions & 0 deletions static/css/theme-calaos.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@

:root{

--MAIN-TEXT-color:#323232; /* Color of text by default */
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
--MAIN-LINK-color:#1C90F3; /* Color of links */
--MAIN-LINK-HOVER-color:#167ad0; /* Color of hovered links */
--MAIN-ANCHOR-color: #1C90F3; /* color of anchors on titles */

--MENU-HOME-LINK-color: #323232; /* Color of the home button text */
--MENU-HOME-LINK-HOVER-color: #5e5e5e; /* Color of the hovered home button text */

--MENU-HEADER-BG-color:#1C90F3; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#33a1ff; /*Color of menu header border */

--MENU-SEARCH-BG-color:#167ad0; /* Search field background color (by default borders + icons) */
--MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */
--MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */

--MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
--MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
--MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
--MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
--MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */

--MENU-VISITED-color: #33a1ff; /* Color of 'page visited' icons in menu */
--MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */

}

body {
color: var(--MAIN-TEXT-color) !important;
}

textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
border-color: none;
box-shadow: none;
}

h2, h3, h4, h5 {
color: var(--MAIN-TITLES-TEXT-color) !important;
}

a {
color: var(--MAIN-LINK-color);
}

.anchor {
color: var(--MAIN-ANCHOR-color);
}

a:hover {
color: var(--MAIN-LINK-HOVER-color);
}

#sidebar ul li.visited > a .read-icon {
color: var(--MENU-VISITED-color);
}

#body a.highlight:after {
display: block;
content: "";
height: 1px;
width: 0%;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
transition: width 0.5s ease;
background-color: var(--MAIN-LINK-HOVER-color);
}
#sidebar {
background-color: var(--MENU-SECTIONS-BG-color);
}
#sidebar #header-wrapper {
background: var(--MENU-HEADER-BG-color);
color: var(--MENU-SEARCH-BOX-color);
border-color: var(--MENU-HEADER-BORDER-color);
}
#sidebar .searchbox {
border-color: var(--MENU-SEARCH-BOX-color);
background: var(--MENU-SEARCH-BG-color);
}
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
}
#sidebar .searchbox * {
color: var(--MENU-SEARCH-BOX-ICONS-color);
}

#sidebar a {
color: var(--MENU-SECTIONS-LINK-color);
}

#sidebar a:hover {
color: var(--MENU-SECTIONS-LINK-HOVER-color);
}

#sidebar ul li.active > a {
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
}

#sidebar hr {
border-color: var(--MENU-SECTION-HR-color);
}

#body .tags a.tag-link {
background-color: var(--MENU-HEADER-BG-color);
}

#body .tags a.tag-link:before {
border-right-color: var(--MENU-HEADER-BG-color);
}

#homelinks {
background: var(--MENU-HEADER-BG-color);
background-color: var(--MENU-HEADER-BORDER-color);
border-bottom-color: var(--MENU-HEADER-BORDER-color);
}

#homelinks a {
color: var(--MENU-HOME-LINK-color);
}

#homelinks a:hover {
color: var(--MENU-HOME-LINK-HOVERED-color);
}
Binary file added static/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/logo_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions themes/hugo-theme-learn/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

[*.js]
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions themes/hugo-theme-learn/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
public/
exampleSite/public
25 changes: 25 additions & 0 deletions themes/hugo-theme-learn/.grenrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
dataSource: "prs"
prefix: "v"
onlyMilestones: false
changelogFilename: "CHANGELOG.md"
includeMessages: "all"
ignoreIssuesWith:
- "support"
ignoreLabels:
- "duplicate"
- "invalid"
- "wontfix"
groupBy:
New features:
- "feature"
Bug Fixes:
- "bug"
Enhancements:
- "enhancement"
Internationalisation:
- "i18n"
Theme Meta:
- "meta"
Uncategorised:
- "closed"
Loading

0 comments on commit 6b792fa

Please sign in to comment.