You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
Simplify the docs configuration
This commit is contained in:
2
docs/_templates/layout.html
vendored
2
docs/_templates/layout.html
vendored
@@ -1,2 +0,0 @@
|
|||||||
{% set version=github_version %}
|
|
||||||
{% extends "!layout.html" %}
|
|
||||||
@@ -11,9 +11,9 @@ master_doc = 'index'
|
|||||||
project = 'Mailu'
|
project = 'Mailu'
|
||||||
copyright = '2018, Mailu authors'
|
copyright = '2018, Mailu authors'
|
||||||
author = 'Mailu authors'
|
author = 'Mailu authors'
|
||||||
version = release = 'latest'
|
version = release = os.environ.get('VERSION', 'master')
|
||||||
language = None
|
language = None
|
||||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'Dockerfile', 'docker-compose.yml']
|
||||||
pygments_style = 'sphinx'
|
pygments_style = 'sphinx'
|
||||||
todo_include_todos = False
|
todo_include_todos = False
|
||||||
html_theme = 'sphinx_rtd_theme'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
@@ -35,7 +35,7 @@ html_context = {
|
|||||||
'display_github': True,
|
'display_github': True,
|
||||||
'github_user': 'mailu',
|
'github_user': 'mailu',
|
||||||
'github_repo': 'mailu',
|
'github_repo': 'mailu',
|
||||||
'github_version': os.environ.get('VERSION', 'master'),
|
'github_version': version,
|
||||||
'versions': [
|
'versions': [
|
||||||
('1.5', '/1.5/'),
|
('1.5', '/1.5/'),
|
||||||
('master', '/master/')
|
('master', '/master/')
|
||||||
|
|||||||
Reference in New Issue
Block a user