From f03fc2273f93b0a4be31823defa0f9d6ce6a2364 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Tue, 17 Sep 2024 11:45:42 +0200 Subject: [PATCH] add LF footer, social icons, favicon and logo and instruction to run the new website Signed-off-by: Augustin Husson --- .gitignore | 1 + README.md | 22 ++++++++++++++++++++++ docs/assets/images/favicon.png | Bin 0 -> 2035 bytes mkdocs.yml | 19 +++++++++++++++++-- 4 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 docs/assets/images/favicon.png diff --git a/.gitignore b/.gitignore index 7da3856..ef7506d 100644 --- a/.gitignore +++ b/.gitignore @@ -280,3 +280,4 @@ $RECYCLE.BIN/ # Docker compose config secret (ask maintainers) secret +/venv diff --git a/README.md b/README.md index 09284ad..c86a080 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,25 @@ This repository contains everything required to start the Perses demo, the docum ## Instructions On the machine, just pull this repository and run `podman-compose up -d` + + +### Start the website locally + +We recommend you to create a python virtual environment. + +```bash +python3 -m env venv +source ./venv/bin/activate +``` + +Then you can install de libs required to run the Perses website: + +```bash +pip install -r requirements.txt +``` + +And finally you can run the server: + +```bash +mkdocs serve -a "localhost:8080" +``` diff --git a/docs/assets/images/favicon.png b/docs/assets/images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..8786b8568c8c9e03187c6459afeb9f0d50abb8ee GIT binary patch literal 2035 zcma)+X;c#E8pm;87^SY$XsLN;Y^>DMG_h+Av>0ZJTcT2_*_6g8uDM;@b1Tzw$&Icp zG@_=GfGD8kU}}nJT8<+GVut%dk{Tj-alZBCp8KBjywCZ+=l{O%hyVFKcRbylb+q?s z0{{RWm-9~EiZ0qIO?AZ%LCh5^npV_#WGn#i!_PaVCN;1KsNa$n(rR?P6uk3T>M@0A0nQ zQ$5B*~I-6TW056vaF=35emVp_Ctl>zD7Y8s6oF*q`w#%bSLrU5N6zq0;_l)%<(XhpZg~=?X8wek64`e-<`j zaj>|M@Wt|0iL<`s(j1d)$FsW>n1i!07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@%qO>xtw!%YC3Z@^S^PE+4%qf literal 0 HcmV?d00001 diff --git a/mkdocs.yml b/mkdocs.yml index 1603a12..f34625f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,9 +1,10 @@ site_name: Perses site_url: "https://perses.dev" -repo_name: "Perses on GitHub" +repo_name: "perses/perses" repo_url: "https://github.com/perses/perses" theme: name: material + logo: assets/images/favicon.png palette: # Palette toggle for automatic mode - media: "(prefers-color-scheme)" @@ -54,8 +55,22 @@ extra_css: # extra_javascript: # - 'js/main.js' -# Enable versioning +copyright: "The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage" + extra: + # used to remove the text "made with material for mkdocs: https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#generator-notice" + generator: false + social: + - icon: fontawesome/brands/github + link: https://github.com/perses + - icon: fontawesome/brands/x-twitter + link: https://twitter.com/PersesDev + - icon: fontawesome/brands/linkedin + link: https://linkedin.com/company/persesdev + - icon: fontawesome/brands/slack + link: https://cloud-native.slack.com/messages/C07KQR95WBE + - icon: fontawesome/brands/docker + link: https://hub.docker.com/r/persesdev/perses version: provider: mike