add meta data support for LLMs
Build and deploy documentation / build-and-deploy-docs (push) Successful in 26s
Build and deploy documentation / build-and-deploy-docs (push) Successful in 26s
This commit is contained in:
@@ -26,6 +26,7 @@ jobs:
|
||||
mkdocs-material[git]=="9.7.*" \
|
||||
mkdocs-material[imaging]=="9.7.*" \
|
||||
mkdocs-glightbox=='0.5.*' \
|
||||
mkdocs-include-markdown-plugin=='7.2.*'
|
||||
mkdocs-include-markdown-plugin=='7.2.*' \
|
||||
mkdocs-llmstxt=='0.5.*'
|
||||
- name: Deploy documentation
|
||||
run: mkdocs gh-deploy --force -b gitea-pages
|
||||
|
||||
+4
-2
@@ -1,5 +1,7 @@
|
||||
FROM docker.io/squidfunk/mkdocs-material:9.7
|
||||
|
||||
# add some plugins
|
||||
RUN pip install mkdocs-glightbox=='0.5.*'
|
||||
RUN pip install mkdocs-include-markdown-plugin=='7.2.*'
|
||||
RUN pip install \
|
||||
mkdocs-glightbox=='0.5.*' \
|
||||
mkdocs-include-markdown-plugin=='7.2.*' \
|
||||
mkdocs-llmstxt=='0.5.*'
|
||||
|
||||
+11
@@ -56,6 +56,16 @@ plugins:
|
||||
blog_dir: news
|
||||
- glightbox
|
||||
- include-markdown
|
||||
- llmstxt:
|
||||
markdown_description: HPCE User documentation for the Merlin Clusters
|
||||
sections:
|
||||
Cluster Docs:
|
||||
- 'merlin*/*.md'
|
||||
- 'meg*/*.md'
|
||||
CSCS Userlab Docs:
|
||||
- 'cscs*/*.md'
|
||||
Support:
|
||||
- 'support/*.md'
|
||||
|
||||
# Extensions
|
||||
markdown_extensions:
|
||||
@@ -63,6 +73,7 @@ markdown_extensions:
|
||||
- attr_list
|
||||
- footnotes
|
||||
- md_in_html
|
||||
- meta
|
||||
- tables
|
||||
- toc:
|
||||
permalink: true
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block extrahead %}
|
||||
{% set title = config.site_name %}
|
||||
{% if page and page.meta and page.meta.title %}
|
||||
{% set title = title ~ " - " ~ page.meta.title %}
|
||||
{% elif page and page.title and not page.is_homepage %}
|
||||
{% set title = title ~ " - " ~ page.title | striptags %}
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="{{ title }}" />
|
||||
<meta property="og:description" content="{{ config.site_description }}" />
|
||||
<meta property="og:url" content="{{ page.canonical_url }}" />
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user