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
No related branches found
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: ...@@ -4,7 +4,7 @@ stages:
variables: variables:
GIT_STRATEGY: fetch 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 # Builds the static website with MkDocs. The whole sequence of command is
# implemented into the before_script section for enhanced composability. # implemented into the before_script section for enhanced composability.
......
...@@ -4,10 +4,8 @@ Prepare your environment: ...@@ -4,10 +4,8 @@ Prepare your environment:
``` bash ``` bash
python3 -m venv pyvenv python3 -m venv pyvenv
source pyvenv/bin/activate pyvenv/bin/pip install --upgrade pip
python3 -m pip install --upgrade pip pyvenv/bin/pip install -r requirements.txt
python3 -m pip install -r requirements.txt
deactivate
``` ```
Start a local web server to visualize your changes: Start a local web server to visualize your changes:
......
site_name: CMS GEM DAQ Documentation 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_url: https://gitlab.cern.ch/cmsgemonline/gem-ops/gem-daq-doc
repo_name: gem-daq-doc repo_name: GitLab
edit_uri: edit/main/docs/ edit_uri: edit/main/docs/
theme: theme:
...@@ -12,6 +12,8 @@ theme: ...@@ -12,6 +12,8 @@ theme:
- navigation.sections - navigation.sections
- navigation.tabs - navigation.tabs
- navigation.top - navigation.top
icon:
repo: fontawesome/brands/gitlab
markdown_extensions: markdown_extensions:
- admonition - admonition
...@@ -28,6 +30,10 @@ extra_javascript: ...@@ -28,6 +30,10 @@ extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6 - https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
plugins:
- git-revision-date-localized
- search
nav: nav:
- Getting started: - Getting started:
- index.md - index.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment