Skip to content

Commit 79bc2a0

Browse files
committed
build(libvcs): Port latest changes to doc layout
1 parent a9c1d86 commit 79bc2a0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/_templates/layout.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55
<link rel="manifest" href="/manifest.json">
66
{% endif -%}
77
{%- if theme_show_meta_og_tags == true %}
8-
<meta name="description" content="vcs abstraction layer">
8+
<meta name="description" content="{{ theme_project_description }}">
99

1010
<!-- Open Graph / Facebook -->
1111
<meta property="og:type" content="website">
1212
<meta property="og:url" content="{{ theme_project_url }}/">
13-
<meta property="og:title" content="libvcs">
14-
<meta property="og:description" content="vcs abstraction layer">
13+
<meta property="og:title" content="{{ theme_project_title }}">
14+
<meta property="og:description" content="{{ theme_project_description }}">
1515
<meta property="og:image" itemprop="image" content="{{ theme_project_url }}/_static/img/icons/icon-192x192.png">
1616

1717
<!-- Twitter -->
1818
<meta property="twitter:card" content="summary_large_image">
1919
<meta property="twitter:url" content="{{ theme_project_url }} ">
20-
<meta property="twitter:title" content="libvcs">
21-
<meta property="twitter:description" content="vcs abstraction layer">
20+
<meta property="twitter:title" content="{{ theme_project_title }}">
21+
<meta property="twitter:description" content="{{ theme_project_description }}">
2222
<meta property="twitter:image" content="{{ theme_project_url }}/_static/img/icons/icon-512x512.png">
2323
{% endif -%}
2424
{%- if theme_show_meta_app_icon_tags == true %}
2525
<meta name="theme-color" content="#ffffff">
26-
<meta name="application-name" content="libvcs">
27-
26+
<meta name="application-name" content="{{ theme_project_name }}">
27+
2828
<link rel="shortcut icon" href="/_static/favicon.ico">
2929
<link rel="icon" type="image/png" sizes="512x512" href="/_static/img/icons/icon-512x512.png">
3030
<link rel="icon" type="image/png" sizes="192x192" href="/_static/img/icons/icon-192x192.png">

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def setup(app):
5858
pygments_style = 'sphinx'
5959

6060
html_theme_path = [alagitpull.get_path()]
61-
html_favicon = 'favicon.ico'
6261
html_theme = 'alagitpull'
6362
html_theme_options = {
6463
'logo': 'img/libvcs.svg',
@@ -68,6 +67,8 @@ def setup(app):
6867
'github_banner': True,
6968
'projects': alagitpull.projects,
7069
'project_name': about['__title__'],
70+
'project_title': about['__title__'],
71+
'project_description': about['__description__'],
7172
'project_url': about['__docs__'],
7273
'show_meta_manifest_tag': True,
7374
'show_meta_og_tags': True,
@@ -84,6 +85,7 @@ def setup(app):
8485
}
8586

8687
html_static_path = ['_static']
88+
html_extra_path = ['manifest.json']
8789
htmlhelp_basename = '%sdoc' % about['__title__']
8890

8991
alagitpull_internal_hosts = ['libvcs.git-pull.com', '0.0.0.0']

0 commit comments

Comments
 (0)