Skip to content
Snippets Groups Projects
Commit f43bdb32 authored by Camilla Galloni's avatar Camilla Galloni
Browse files

Merge branch 'feature/git-revision-date' into 'main'

Add Git revision date at the bottom of each page

See merge request cmsgemonline/gem-ops/gem-daq-doc!18
parents bc6a8f5a a2dd1f35
Branches
No related tags found
1 merge request!18Add Git revision date at the bottom of each page
Pipeline #6228376 passed
......@@ -4,7 +4,7 @@ stages:
variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 1
GIT_DEPTH: 0 # Git revision date plugin
# Builds the static website with MkDocs. The whole sequence of command is
# implemented into the before_script section for enhanced composability.
......
......@@ -4,10 +4,8 @@ Prepare your environment:
``` bash
python3 -m venv pyvenv
source pyvenv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
deactivate
pyvenv/bin/pip install --upgrade pip
pyvenv/bin/pip install -r requirements.txt
```
Start a local web server to visualize your changes:
......
site_name: CMS GEM DAQ Documentation
site_url: https://cmsgemonline.web.cern.ch/doc/
site_url: https://cmsgemonline.web.cern.ch/doc/latest
repo_url: https://gitlab.cern.ch/cmsgemonline/gem-ops/gem-daq-doc
repo_name: gem-daq-doc
repo_name: GitLab
edit_uri: edit/main/docs/
theme:
......@@ -12,6 +12,8 @@ theme:
- navigation.sections
- navigation.tabs
- navigation.top
icon:
repo: fontawesome/brands/gitlab
markdown_extensions:
- admonition
......@@ -28,6 +30,10 @@ extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
plugins:
- git-revision-date-localized
- search
nav:
- Getting started:
- index.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment