From 62eacf879ee0f7bf76e5b89bbb52c4c77e299e08 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 25 Jan 2024 18:28:25 +0100 Subject: [PATCH] update documentation --- Documentation.md | 50 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/Documentation.md b/Documentation.md index 59e38d3..cc4c9c7 100644 --- a/Documentation.md +++ b/Documentation.md @@ -10,6 +10,7 @@ - [Global configuration](#global-configuration) - [Link shortener for contacts](#link-shortener-for-contacts) - [Add content](#add-content) + - [Index](#index) - [Blog](#blog) - [Projects](#projects) - [Contacts](#contacts) @@ -138,9 +139,27 @@ option: value Markdown file ``` +## Index + +Markdown file is stored in `/app/data/index.md` + +``` +--- +name: Option +pronouns: Option +avatar: Option +avatar_caption: Option +--- + +Index content +``` + +- If no `name`, the `fullname` used in the configuration will be used +- `avatar` is the link of the avatar + ## Blog -Markdown files are stored in `/app/data/blog/` +Markdown files are stored in `/app/data/blog/posts/` ``` --- @@ -157,11 +176,15 @@ Post content - If no `title`, the filename will be used - `date` format is `day-month-year` - `publish` is default to false. When false, posts are hidden from index - but accessible, see #30 + but accessible, see [#30](https://git.mylloon.fr/Anri/mylloon.fr/issues/30) + +### About + +The file is stored at `/app/data/blog/about.md`. ## Projects -Markdown files are stored in `/app/data/projects/` +Markdown files are stored in `/app/data/projects/apps/` ``` --- @@ -176,7 +199,14 @@ Project description - If no `link` : the div won't be clickable and will be reported as is to the user (no corner-arrow) -- Note that only a handful of [`language`s are supported](./static/css/languages.css). +- Note that only a handful of [`language`s are supported](./static/css/languages.css) + +You can also put apps in an "Archived" category, in this case, store markdown +files in `archive` subdirectory of `apps`. + +### About + +The file is stored at `/app/data/projects/about.md`. ## Contacts @@ -204,3 +234,15 @@ Custom project description - `user` is the username used in the platform - `description` will be rendered as HTML "title" (text will appear when cursor is hover the link) + +Also, contacts are categorized, here is the list of the available categories: + +- `socials` +- `forges` +- `others` + +For example, `socials` contact files are stored in `/app/data/contacts/socials/`. + +### About + +The file is stored at `/app/data/contacts/about.md`.